Hi there!
I have a use case where, I need to update my application user's location in sql database after every five minutes. I want to implement this feature in such a way, that it should work
1. If application user is currently using it.
2. App is running in background.
3. Or even if user has closed the application, this feature should work.
I know how to get and update location when app is running or is in background. But I don't know how to trigger a method after every five minutes when app is closed.
Any kind of help will be much appreciated.
Thanks.