Has anyone noticed any issues with their apps after upgrading to IOS 10.2.1 ? Neither HTTP nor HTTPS requests seem to be working. No changes in app.
Hi,
just checked and works fine for me. Just updated to 10.2.1 and http requests still executed as expected.
Which version of cordova are you on?
Also can you please post your config.xml whitelist and CSP settings if possible?
Here are mine
config.xml
<access origin='*' subdomains="true" allows-arbitrary-loads-in-media='true' allows-arbitrary-loads-in-web-content='true' allows-local-networking='true' />
<access launch-external="yes" origin="mailto:*" />
<allow-navigation href="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
CSP in index.html
<meta http-equiv="Content-Security-Policy" content="img-src * blob: android-webview-video-poster: cdvphotolibrary: 'self' data:; default-src * blob: 'self' gap: wss: ws: ; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval';connect-src * http: https: ws: wss:;">
Here comes the requested information:
cordova 6.5.0
Ionic 2.2.1
<access origin="*"/>
<allow-navigation href="http://ionic.local/*"/>
<allow-navigation href="http://192.168.10.33:8100"/>
<allow-navigation href="http://192.168.20.27:8100"/>
<allow-intent href="http://*/*"/>
<allow-intent href="https://*/*"/>
<allow-intent href="tel:*"/>
<allow-intent href="sms:*"/>
<allow-intent href="mailto:*"/>
<allow-intent href="geo:*"/>
No CSP specified in index.html, just the white-list plugin (version 1.3.1)
Edit: Sorry, missed the fact you are using Ionic 1
No problem.
Problem resolved, but I have no idea how:
- I upgraded to Cordova 6.5
- I deleted iOS and re added the platform
- I took my phone off WiFi, to LTE and back
- I cursed
- I re-built several times, interrupting random builds and re-building again hoping the environment would get scared of me
One of the above worked.
I got below error when change to login page, anyone can help?
2019-02-13 10:23:54.008759+0800 MyApp[2342:32593] ERROR Internal navigation rejected - not set for url=‘unsafe:ionic://localhost%23/app/login’
2019-02-13 10:23:54.008945+0800 MyApp[2342:32593] ERROR External navigation rejected - not set for url=‘unsafe:ionic://localhost%23/app/login’
Hi there, have you solved this problem? Recently , I met with this issue on a ionic 1.3.3 old project.