I'm in the process of transitioning my Ionic3 app to Ionic5 and currently working on integrating my http requests. I previously utilized angular/http in Ionic3, but it appears that it has been deprecated. This was how I handled observables in my code:
this._http.get(requestURL)
.map((result: Response) => {
return this.run(result.json())
});
Now that http is no longer available in Ionic5, what is the alternative approach to achieve the same functionality?
Rx.Observable.fromPromise(fetch(url));
However, it seems that the above method is not functioning correctly as
fromPromise does not exist on Rx.Observeable
.