Android "Request was denied for security."

#1

I am trying to access my HTTPS server from an ionic app. Everything works fine on iOs, but on Android I get “Request was denied for security” whenever I tried to make a call. I am using crosswalk and in my searches I discovered this may cause a problem, but removing crosswalk does nothing to fix the problem. Anyone else have this problem. How can I work around this?

#2

also I am using the whitelist plugin and have this in my 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:*" />
    <preference name="webviewbounce" value="
#3

try using following link

1 Like
#4

ok I will give that a shot thanks

#5

Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Chrome dev tools: https://ionic.zone/debug/remote-debug-your-app#android Look at the console and network tabs for errors.

1 Like