Search code examples
ionic-frameworkangular-httpclient

Ionic 3, HTTP native vs. HttpClient


I am struggling to make HTTP native or HttpClient get to work for my app.

If I run ionic serve -c I get HttpClient working good on my browser at localhost:8100 and in Ionic Dev App. If I build for Android though, HttpClient fails thus I decided to give HTTP Native a try.

Then I don't understand how I could get some console log if that native plugin is not supported from Ionic Dev App (here says), neither I can see on my browser cause of Cordova is not present.

Is there a way to log on a device to debug HTTP Native?


Solution

  • You should debug your application connect your phone to your laptop and

    1. Open your Google Chrome Browser
    2. Go to Inspect (Ctrl + Shift +I)
    3. Go To More Tools enter image description here

    4. Open Remote devices and inspect your device

    For more information click here Thanks