onaio / kujaku

Mapping and check-in library for Android using MapBox SDK
https://ona.io
BSD 2-Clause "Simplified" License
18 stars 11 forks source link

Consider Deprecating custom Location Request classes and Use Mapbox Location Engine Impl #327

Open githengi opened 4 years ago

githengi commented 4 years ago

Consider Deprecating Location Request Interfaces and Use Mapbox Location Engine Implementation

Currently its possible to tell mapbox which location to used on the location Component. If one does specify mapbox selects by using com.mapbox.android.core.location.LocationEngineProvider#getBestLocationEngine(android.content.Context) which uses fused location Client if location services are enabled otherwise uses locationManager(GPS or network).

This reduces the number of classes we have to maintain

githengi commented 4 years ago

documentation https://docs.mapbox.com/android/core/overview/#locationengine