Skip to main content

Default location provider

By default, Navigation SDK UX Framework utilizes the Mapbox Common SDK for Android’s LocationService class to fetch the users’ location. The LocationService simplifies the process of getting location information and supports the following location providers:

  • Google’s Fused Location providers
  • Android GPS and Network Providers
Use Google's Fused Location Provider
By default, the UX Framework uses the Android GPS and Network Providers to get raw location updates. In applications using Android 11, the raw location updates might suffer from precision issues.The UX Framework also comes pre-compiled with support for the Google's Fused Location Provider. If your target devices support Google Play Services, add the following Google Play Location Services dependency to your project, and the UX Framework will use the Google's Fused Location Provider in your application automatically:kotlinimplementation("")
Was this page helpful?