Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

URL blocked by whitelist

For an Angular app I'm trying to build in Cordova, I have this in config.xml:

<uri="*" subdomains="true"/>

ADB debugger shows the URL is blocked. I've tried putting in the 10.0.0.2 instead of * and a ton of other things as per Stack Overflow answers, to no avail.

Here is the error in the adb debugger listing:

W/IceCreamCordovaWebViewClient(26882): URL blocked by whitelist: http://10.0.0.2/econ/public_html/e.php?method=attendees

like image 369
sucasa Avatar asked Dec 29 '25 05:12

sucasa


1 Answers

install cordova-plugin-whitelist to resolve this issue

$ cordova plugin add cordova-plugin-whitelist
$ cordova prepare
like image 99
Sanjay Nishad Avatar answered Dec 31 '25 17:12

Sanjay Nishad