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
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Open app with map (in my situation fragment with map)
Request for tracking user location
Go back from app
Expected behavior
Location service stops after user closes app
Actual behavior
Location service is working in background
Hey guys,
I was using API 4.1, now I'm switching to API >5.0 (5.0.2) and there is an issue with location service I mentioned. After user closes an app it's still requesting for his location. Maybe I haven't found a method which I have to use in new API to avoid it, but it's pretty easy to see this problem in your "Mapbox Dev Preview" (Menu -> User location -> Track user location -> Back button -> Back button). App is closed (in background), but location service works, only killing the app stops it. It's not possible to release an app with that issue (battery).
If it's known issue, or there is something I should now I would appreciate a suggestion how to resolve it.
Platform: Android
Mapbox SDK version: 5.0.2
Steps to trigger behavior
Expected behavior
Location service stops after user closes app
Actual behavior
Location service is working in background
Hey guys,
I was using API 4.1, now I'm switching to API >5.0 (5.0.2) and there is an issue with location service I mentioned. After user closes an app it's still requesting for his location. Maybe I haven't found a method which I have to use in new API to avoid it, but it's pretty easy to see this problem in your "Mapbox Dev Preview" (Menu -> User location -> Track user location -> Back button -> Back button). App is closed (in background), but location service works, only killing the app stops it. It's not possible to release an app with that issue (battery).
If it's known issue, or there is something I should now I would appreciate a suggestion how to resolve it.