IONIC 2
My requirement is that I want to keep giving local notification to user after every 5 min of interval
even when the application is closed
IONIC 2
My requirement is that I want to keep giving local notification to user after every 5 min of interval
even when the application is closed
Don’t use a local notification but a push notification that is scheduled on the server.
But I also want to send geolocation to my server with 5 minute of interval even when the application is fully closed,
Is this possible in IONIC 2?
If the app doesn’t run at all, it can’t do antything - of course. Code that is not executed, can not do stuff.
You might want to look into https://ionicframework.com/docs/native/background-geolocation/ and https://ionicframework.com/docs/native/background-mode/ though.
@Sujan12 Thanks for reply
But the Backgound mode is not what I am looking for.
I will work only when the app is open but in background.
I surprised as I use some applications which show my running track even if I closed my app in between.