Http Call works in browser but not in android device


#1

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.


#2

Did you come right with this?

I’m having the same issue.


#3

Not yet. Still facing the same problem.


#4

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

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


#5

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

So the call was never fired.