Skip to content

v0.10.0-beta

Choose a tag to compare

@garylee1 garylee1 released this 05 Apr 21:47
· 92 commits to master since this release
b7f2812

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 now Sift.pause()
    • Sift.get().setUserId(…) is now Sift.setUserId(…)
    • Sift.get().unsetUserId(…) is now Sift.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_LOCATION and ACCESS_COARSE_LOCATION to 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