Unfortunately if i want to get this error why trying to compile and test your app on your android device, the app wont load the content and get an empty json with no data.
Just run this below command
cordova plugins add cordova-plugin-whitelist
then add the below into your config.xml
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
SHARE THIS POST
0 comments:
Post a Comment