I have built an iOS app using Cordova. The app tries to load a web page e.g. http://yourdomain.example/home in index.html. But, the page stays white blank with error in console "Internal navigation rejected - <allow-navigation> not set for URL='http://yourdomain.example/home'".
I have already set <access origin="http://yourdomain.example/home" subdomains="true" /> and also tried by setting <allow-navigation> tag. But the page stays blank. am I missing anything else? Please guide.
After adding the following meta tag in index.html, the "internal navigation error" has gone, but the page is still white blank.
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script src: 'self' 'unsafe-inline' 'unsafe-eval'">