Disable SSL in Ionic


#1

Hi, there!

I’m developing an app, but when trying to use some web services through https with $resource and angular-soap, it fails. When I run it with ionic run android, in the phone it says “Request denied for security”. I think it may be because the SSL verification fails.

Is there a way to bypass it? I tried modifying onReceivedSslError in SystemWebViewClient.java (since there’s no CordovaWebViewClient.java). I don’t know if I have to do anything else besides changing the code.

Thanks a lot!