Ionic 4 and Rest Call


#1

Hi,

Trying to run a app on my Iphone. Its a simple app with one REST call.

Do I need to use the Native HTTP or can I use the Angular HttpClient? It did not work with the latter (worked fine on the webpage and emulator), and me thinking I needed to use HTTP when running on the device.

Is this correct?


#2

for my work fine with

import { HttpClient } from '@angular/common/http';