v0.10.0-beta
This is a significant rewrite that we expect to greatly improve the performance and stability of the Android SDK. Please refer to the release notes below as well as the updated README.md.
Breaking changes
- We’ve removed access to the Sift instance and renamed a few hooks. Everything should be invoked via the static call to the singleton class.
Sift.get().save()is nowSift.pause()Sift.get().setUserId(…)is nowSift.setUserId(…)Sift.get().unsetUserId(…)is nowSift.unsetUserId(…)- We’ve removed support for
Sift.get.upload(…)
- We have removed the optional location permissions from our AndroidManifest.xml. As such, you will need to add
ACCESS_FINE_LOCATIONandACCESS_COARSE_LOCATIONto your own application’s AndroidManifest.xml if you would like to enable location collection
New functionality
- We’ve added a new hook into the onResume lifecycle callback:
Sift.resume()
Other important changes
- We fixed our concurrency model to address reported thread contention / deadlock issues
- We’ve decreased the batch size and upload mechanics to address OOM errors
- We’ve removed OkHttp from our dependencies