ionic-team / cordova-plugin-ionic-webview

Web View plugin for Cordova, specialized for Ionic apps.
Apache License 2.0
484 stars 391 forks source link

navigation to non-allowed URL #669

Open shahind opened 2 years ago

shahind commented 2 years ago

redirecting to any internal page using window.location.href , window.location , and window.location.replace in android causes this error: W/CordovaWebViewImpl: Blocked (possibly sub-frame) navigation to non-allowed URL

I use Cordova and setting any <allow-navigation> rule does not help.