Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Run a Background Service every Xmins to get User's Location Firebase

$
0
0

@AshleyDerek wrote:

I want to run a background service when the app is in the background or even closed=killed. So the service basically gets the current user’s location every 10mins, checks it with the previous location of the user, and if the distance between the last location and current location is more than 500m i want to send them a notification. How can I achieve this?
I am also using firebase for my backend. I read about push notifications from firebase, but I want to send notifications based on the user’s current location which would differ from user to user.
I’ve looked at all possible answers, but none of them meet my requirements.

Thank You in Advance!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>