Http Call works in browser but not in android device


From simulator or browser - I am able to make http call from ionic 2 app

But from the real android device it is not working - just showing error - failed to connect.


Did you come right with this?

I’m having the same issue.


Not yet. Still facing the same problem.


Does your Platforms/Android/AndroidManifest.xml file have the following entry?

<uses-permission android:name="android.permission.INTERNET" />


So my issue was the conditional that was being checked before the call.

So the call was never fired.