mapbox-maps-android
                                
                                 mapbox-maps-android copied to clipboard
                                
                                    mapbox-maps-android copied to clipboard
                            
                            
                            
                        Location puck not moving
Environment
- Android OS version: Tested on Android 14, Android 12 and Android 10
- Devices affected: Samsung phones / TCL and BlackView
- Maps SDK Version: 11.2.0
Observed behavior and steps to reproduce
The location puck is not updating as frequent as expected.
We have a service that records user location on the background and draws the location update points on a map layer.
In version 10.16.6 of Mapbox the location puck is updated at the same time and with the same location that we receive the from the background service.
Looking at the map we can see that the location puck "follows" the same location updates that we receive from background service when the user is moving.
Now in version 11, in most cases, the puck just remains stopped in the map (both when app has connectivity or not) even knowing the user is moving and the phone is receiving location updates that are drawn on map layer. After entering in this state the puck would only be updated to last location if we put the app on background and foreground again. And then the app keep receiving updates but the puck does not move...
Expected behavior
The puck should move when the user is moving and be up to date with the last known user location.
@iolandarosa7 thanks for reporting! Do you see similar behaviour e.g. in v11.1.0? Trying to understand if it's regression between v10 and v11 or purely in v11.
Yes, I observed the behavior change after updating to version 11 in the following releases: 11.0.0, 11.1.0, and 11.2.0.
This issue does not seem to occur in version 10.
Thanks.