Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

3.1.0

Compare
Choose a tag to compare
@ajalt ajalt released this 29 Apr 18:41
· 28 commits to master since this release

This release updates the API to make restart behavior more configurable, and to work around bugs in some Nougat devices.

  • A new module was added with an interface to RxJava 2. The RxJava 1 interface is still fully supported.
  • Reprint.authenticate now takes an optional predicate that determines whether or not to shut down the sensor after each recoverable failure. The default behavior remains the same.
  • The RxJava observable now calls onNext after each status update from the sensor. onError is no longer called in normal circumstances. Instead of using Observable.retry to configure retry behavior, you should pass a predicate to RxReprint.authenticate instead.