- SDK Version:39
- Platforms:Android
Hello,
I am using startLocationUpdatesAsync to get the coordinates. I am also having the foreground service option enabled. I am facing a problem though, which is the following: when I am killing the app when I am at the background, the notification of the foreground service is still alive and I am unable to remove it. Is there any event that I could be listening for when the app is closed, which will allow me to call the stopLocationUpdatesAsync function so that the foreground service will stop?