A drop-in replacement for Google Play services location APIs for Android
This is a patch release which fixes a bug that prevented location updates from being immediately dispatched when a listener registered, unregistered, and then reregistered.
This is a minor patch release which fixes a bug that prevented an immediate initial location from being sent when a client connected.
ClientManager
location data when shutdown (https://github.com/mapzen/lost/commit/8efddeafcbf5d0c4ea7234d2993127c94be55b83)This is a patch release which fixes a couple bugs and begins work to provide APIs for handling errors that occur when requesting/removing location updates.
RemoteExceptions
are now logged and IllegalStateException
is no longer thrown (https://github.com/mapzen/lost/commit/3ed32b34d9deb20795b9b67ad43a516135934482, https://github.com/mapzen/lost/commit/539c066ce74d886db5175020eb2ac906aa1aa2cb)onLocationChanged
(thanks @westnordost!) (https://github.com/mapzen/lost/commit/539c066ce74d886db5175020eb2ac906aa1aa2cb)This is a patch release which fixes a bug where location requirements we requested from the system LocationManager
were too aggressive.
LocationEngine
(https://github.com/mapzen/lost/commit/40c3a4cb204eeffb9242676dfd12842308c7e27e)This is a major release, a lot of work went into adding some great new features. Most notably, we have updated Lost to support use across multiple processes! This was no small feat and involved using AIDL
to rewrite the underlying Service
.
LostApiClient
is connected when used in LocationServices
APIs and throws IllegalStateException
if isn't (https://github.com/mapzen/lost/commit/eca665254be38176e45fc4eee0c9f791a26cf6d6, https://github.com/mapzen/lost/commit/1b50d46889cf58d702f8657979cc65f858badcfb)LocationRequest
is now Parcelable
(https://github.com/mapzen/lost/commit/d01195fe21652d47e714fdb37f04116e02d2eadb)LostApiClient
ConnectionCallbacks
(https://github.com/mapzen/lost/commit/ce4bf7981f07de3d6043664cb6d8744ddcab19ee)Activity
Context
by using the application Context
when creating clients (https://github.com/mapzen/lost/commit/d311a9ef6a07dd94a155ef4d3e26306abaaf76ba)None
LocationListener#onProviderDisabled
and LocationListener#onProviderEnabled
methods have been removed from the interface (https://github.com/mapzen/lost/commit/678b8bd88f244bc9e7a140051720e1f7329e0da0)FusedLocationProviderApi#isProviderEnabled
method has been removed (https://github.com/mapzen/lost/commit/ae35abe33aa0171c4a5965ad8d4c5c9b13bdbb14)SettingsApi
adds an alert dialog before launching system location settings activity to inform the user.LocationRequest
params for multiple clients.Status
is now Parcelable
.ConcurrentModificationException
when using multiple clients and a client is disconnected in its onConnected
callback.LocationAvailability
example to demo appLocationListener.onProviderEnabled(String provider)
and LocationListener.onProviderDisabled(String provider)
SettingsApi
LocationAvailability
callbacksLostApiClient
instancesNone.
SettingsApi
by default.LocationAvailability
updates and onProviderEnabled/onProviderDisabled callbacks may be unreliable at times. (#123)Adds GeofencingApi
, SettingsApi
, LocationAvailability
and location updates via PendingIntent
.