Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

downgrade LOST to v1.1.1 #493

Merged
merged 4 commits into from
Jun 30, 2017
Merged

downgrade LOST to v1.1.1 #493

merged 4 commits into from
Jun 30, 2017

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Jun 30, 2017

Copied from downstream ticket in mapbox/mapbox-gl-native#9394:

We have been having some issues with recent releases of the LOST library. To be able to ship a next final release for 5.1.0. We are downgrading back to v1.1.1. This version shipped as part of our 4.x series.

This PR requires a newer version of the SDK first to pass CI, excluding lost from the maps sdk makes the test application crash at startup.

Copy link
Contributor

@Guardiola31337 Guardiola31337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Override
public boolean isConnected() {
return lostApiClient.isConnected();
}

/**
* Returns the Last known location is the location provider is connected and location permissions are granted.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor typo if instead of is.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great catch

@@ -88,7 +87,7 @@ public void onConnectionFailed(@NonNull ConnectionResult connectionResult) {

@Override
public Location getLastLocation() {
if (googleApiClient.isConnected() && PermissionsManager.areLocationPermissionsGranted(context.get())) {
if (googleApiClient.isConnected()) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PermissionsManager.areLocationPermissionsGranted(context.get() is broken for pre Marshmallow devices

@tobrun tobrun merged commit 0aef149 into master Jun 30, 2017
@tobrun tobrun deleted the tvn-downgrade-lost branch June 30, 2017 11:33
@zugaldia zugaldia mentioned this pull request Jun 30, 2017
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants