-
On iOS, it appears the GPS Background Service stops when the main app closes. This is what I want to do. Any tips/suggestions on Android to stop the background service when the app exits? |
Beta Was this translation helpful? Give feedback.
Answered by
aritchie
Jan 30, 2022
Replies: 1 comment 2 replies
-
This is easy to accomplish, but I'm not sure why you are registering the background mode if you don't want it. You can IGpsManager.WhenReading() with StartListener/StopListener when the app enters/exists. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
aritchie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is easy to accomplish, but I'm not sure why you are registering the background mode if you don't want it. You can IGpsManager.WhenReading() with StartListener/StopListener when the app enters/exists.