How to load url in background in ionic?


#1

hello
i want to run php url in backgroud
php url run push notification when i open it in browser
i tried to load it in http.get() but not working


#2

If you check the https://ionicframework.com/docs/native/in-app-browser/ Ionic Native plugin and the additional documentation on https://github.com/apache/cordova-plugin-inappbrowser there’s an option to have the in-app browser load “hidden”.

That might be a solution, it’s not elegant but it should work.


#3

Ordinary http.get() should work, so something else seems to be the issue here. Impossible to say without code.