Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR Internal navigation rejected - <allow-navigation> IN

I'm getting the below response in my ionic app with angularJS.I tried to open my link in angularJS iframe.

ERROR Internal navigation rejected - <allow-navigation> not set for url='about:blank'
ERROR Internal navigation rejected - <allow-navigation> not set for url='https://ap.testing.com/testing/testing.s/testing'

But i tried to add the following link in my cofig.xml but still i'm geeting same issue please advice how to fix.

<allow-navigation href="https://ap.testing.com/*" />
like image 654
SKK Avatar asked Jun 28 '16 10:06

SKK


1 Answers

I was having this problem and it turns out there are two config.xml files.

AppName/config.xml <- this one shows up in Xcode

AppName/platforms/ios/AppName/config.xml

I added

<allow-navigation href="*" /> 

to both of them and it worked. Using 6.3.0.

like image 69
Tom Kincaid Avatar answered Sep 29 '22 18:09

Tom Kincaid