Having trouble with the Native HTTP library


Hey everybody!

I’ve been trying to get the Native HTTP library to work in my app (target Android). I followed all the steps and the example on that page but it hasn’t been working so far. Though just to make sure that I hadn’t missed anything I tested the Native Geolocation library (which worked perfectly. Yay!).

The problem that I noticed was that the data never arrived at the “then” part:
HTTP.get(‘http://ipinfo.io/ip’, {}, {}).then(data => {
// program execution never arrived here
I checked in the Android Manifest if Internet permission was granted, and it surely was. And finally,

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.14
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.45
OS: Windows 8.1
Node Version: v6.9.2

Can anyone confirm that the HTTP library works for them on Ionic 2 using Angular 2? Or any other ideas to get around my problem? Thanks.