This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
3.1.0
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 usingObservable.retry
to configure retry behavior, you should pass a predicate toRxReprint.authenticate
instead.