You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this package with react-native-geolocation-service to track location similar to their example with the exception of starting the service in useEffect.
The problem is that the foreground service never stops when the app is closed since the return function of the useEffect which stops the service is never called.
Is there any way for this package to stop its service after the app is fully closed?
The text was updated successfully, but these errors were encountered:
@n-ii-ma How do you verify that the service is still running? Would like to check this also because I'm only doing active tracking while on a specific screen.
For me the foreground service notification gets closed (at least on Pixel 5 API 33 emulator, package version 3.0.2, react-native 0.68.5) whenever I close the app manually.
I'm using this package with react-native-geolocation-service to track location similar to their example with the exception of starting the service in
useEffect
.The problem is that the foreground service never stops when the app is closed since the return function of the
useEffect
which stops the service is never called.Is there any way for this package to stop its service after the app is fully closed?
The text was updated successfully, but these errors were encountered: