Closed fbrun closed 3 years ago
Thanks fbrun for the post. I get the same error.
hi everyone ! Same issue here :'(
once i install this plugit, i start myApp with file:///android_asset/www/index.html and blank page.
Same here, installed cordova-android@10 and removed whitelist. Is there any update on this? This is really blocking.
Hi all, try to upgrade to cordova-android@10.1.0 and problem should be removed
great ! it works ! Thanks for your reply
Add these tags to the config.xml file
<preference name="hostname" value="localhost" />
<preference name="AndroidInsecureFileModeEnabled" value="true" />
adding those 2 results in err file not found file:///android_asset/www/index.html other than that, i tried so many alternatives but i still end up with err_connection_refused and in the debug window it says website not available.
On android, i set globally
<preference name="Hostname" value="xxxx" /> with <allow-navigation href="https://xxxx/*"/> and <preference name="Scheme" value="https" /> (for this last one under <platform name="android">)
I install new android-cordova@10.0.1 and remove deprecated cordova-plugn-whitelist as mentionned on their github page.
But when i start my app i've an error that ionic could'nt load https://localhost/index.html page. It seems that it doesn't care of setting Hostname or/and allow-navigation settings