All the post I saw in the world wide web was saying that was a chrome problem…
So, I was giving up until I got here!
It works very well to me, You helped me a lot!
Thanks you so much, ziobudda!
I met with a similar problem. The scanner is reaching the api, so it works but in ionic this error occurs. I think this is a problem with permits. I’ve done it.
AndroidManifest.xml
<uses-permission android: name = "android.permission.INTERNET" />
<uses-permission android: name = "android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android: name = "android.permission.ACCESS_WIFI_STATE" />
<uses-permission android: name = "android.permission.ACCESS_WIFI_STATE" />
<uses-permission android: name = "android.permission.READ_PHONE_STATE" />
If you are using lots of plugins then remove unnecessary plugins it might resolve the issue. If it does not work then check the guides available on Google here is the free guide to fix this error.