Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Unable to use LOST API in conjunction with Mapbox Android SDK #6462

Closed
dmeignan opened this issue Sep 26, 2016 · 4 comments
Closed

Unable to use LOST API in conjunction with Mapbox Android SDK #6462

dmeignan opened this issue Sep 26, 2016 · 4 comments
Labels
Android Mapbox Maps SDK for Android

Comments

@dmeignan
Copy link

Platform: Android
Mapbox SDK version: 4.1.1

The Android Mapbox SDK use the LOST API version 1.1.0 (see compile 'com.mapzen.android:lost:1.1.0' in Gradle dependencies of MapboxGLAndroidSDK). I also use in my app the LOST API. However, the version 1.1.0 of the LOST API does not manage correctly multiple location listeners. In particular, when the LocationServices of Mapbox requests the locationClient to disconnect (in LocationServices.java), then it shuts down the LOST location engine for all location listeners. This problem has been solved in version 1.1.1 of the LOST API.

The Mapbox Android SDK should use the version 2.0.0 or at least 1.1.1 of the LOST API for a better integration in apps that also use LOST API.

@cammace cammace added the Android Mapbox Maps SDK for Android label Sep 26, 2016
@tobrun tobrun added this to the android-future milestone Sep 27, 2016
@tobrun
Copy link
Member

tobrun commented Sep 27, 2016

I did a gradle sync to see how big the semver change of 2.0.0 is:
screen shot 2016-09-27 at 13 30 23

Since we are close to release I'm going to assign it to android-future. We are currently thinking of rewriting the way we are handling these location udpdates. For now I'm going to update the dependency to 1.1.1 as requested. This should introduce any changes in code. Thank you for reaching out!

@tobrun
Copy link
Member

tobrun commented Sep 29, 2016

Update to 1.1.1 got merged in #6476. We will upgrade other dependencies with next release cycle.

@clydebarrow
Copy link
Contributor

See PR #6548

@tobrun
Copy link
Member

tobrun commented Oct 3, 2016

closing this in favor of #6537

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

No branches or pull requests

4 participants