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

Lost 3.0.0

Compare
Choose a tag to compare
@sarahsnow1 sarahsnow1 released this 25 May 16:50
· 27 commits to master since this release

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.

Highlights

  • Adds support for use across multiple processes (422e770)

Features

  • Verifies LostApiClient is connected when used in LocationServices APIs and throws IllegalStateException if isn't (eca6652, 1b50d46)
  • Updates hardware requirements to make gps optional (b59880d)
  • LocationRequest is now Parcelable (d01195f)
  • Updates build tools, sdk, and gradle versions (70303ec)
  • Adds ability to unregister LostApiClient ConnectionCallbacks (ce4bf79)

Bug Fixes

  • Fixes race condition which caused crashes on device rotation (f9d8b9c)
  • Fixes sample app crash (836bdbf)
  • Prevents leaking Activity Context by using the application Context when creating clients (d311a9e)

Known Issues

None

Upgrade Notes

  • Because location updates are no longer unregistered when a client disconnects, it is essential that developers explicitly unregister them (f9d8b9c, f2757a6)
  • Deprecated LocationListener#onProviderDisabled and LocationListener#onProviderEnabled methods have been removed from the interface (678b8bd)
  • Deprecated FusedLocationProviderApi#isProviderEnabled method has been removed (ae35abe)