Skip to main content

[FIX] ERROR Internal navigation rejected cannot access other urls - Cordova iOS


Make sure that your config.xml whitelist is ok

<allow-navigation href="http://*" /> 
<allow-intent href="http://*/*" /> 

 Those tags must be set. Specify your url to restrict the navigation.

run

cordova clean
and then
cordova build ios

Make sure that you have a provisioning profile when building otherwise the app will be stuck after the splash screen.

It's preferable to build on xcode AFTER runnin  "cordova build ios" since cordova will reparse your main xml. Avoid the modification of the xml for the specific platform and remember to backup your files before doing anything.

Comments