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.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Make location provider library dependency optional #9403
Building upon the flexibility brought by mapbox/mapbox-java#269 and #8668, we'd like to make LOST a provided (optional) dependency. This enables developers to rely on core Android location services or to use Google Play Services without having to bundle unused dependencies.
This change brings additional benefits:
It reduces the default dependencies (size and method count) bundled with the SDK
Developers can set their own library versions and work around any issues present on those libraries.
The proposed approach is:
Bundle default LocationEngine implementations for Android core, LOST, and Google Play Services backends
Add LOST and Google Play Services to build.gradle as optional dependencies
At runtime, detect whether LOST or Google Play Services are available
Let the developer set a priority preference for location provider backend
@mapbox/android Any thoughts?
Reacted by Tobrun, Cam Mace, Pablo Guardiola, Pablo A Martínez Andrés, Lorn, paulVulog and Ollie Snowden
Activity