After I build my application I get:Network error for any remote request.
I add whitelist-plugin and my I add these lines to my config.xml
<plugin name=“cordova-plugin-whitelist” spec="~1.3.3" />
<allow-navigation href="" />
<allow-intent href="" />
<access origin="*" />
<access origin=“https://srssms.ir” />
<access origin=“http://srssms.ir” />
And also in my head:
<meta http-equiv=“Content-Security-Policy” content=“default-src ‘self’ ‘unsafe-eval’ data: blob: filesystem: ws: gap://ready file: cdvfile: https://ssl.gstatic.com ; style-src ‘unsafe-inline’; script-src ‘unsafe-inline’ ‘unsafe-eval’; img-src data: ‘unsafe-inline’; connect-src ‘unsafe-inline’; frame-src ; worker-src ; child-src ;”>
but it doesn’t work.