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
Utils.isBetterLocation uses Location.getTime to compare location time. If the device clock (used by the NETWORK_PROVIDER) is significantly faster than the satellite clock (used by the GPS_PROVIDER), MapboxFusedLocationEngineImpl may always take the NETWORK_PROVIDER locations.
Utils.isBetterLocation uses Location.getTime to compare location time. If the device clock (used by the NETWORK_PROVIDER) is significantly faster than the satellite clock (used by the GPS_PROVIDER), MapboxFusedLocationEngineImpl may always take the NETWORK_PROVIDER locations.
It is better to use Location.getElapsedRealtimeNanos instead, at least in API level 17.
There is a FUSED_PROVIDER in Android 12, which alleviates this issue. So better to test using older devices with cellular data enabled.
The text was updated successfully, but these errors were encountered: