Unable To close foreground service notification after android app is killed

  1. SDK Version:39
  2. Platforms:Android


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?


I have the same question. I am constrained to kill expo app to remove the notification.
Thanks for the replies :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.