-
Notifications
You must be signed in to change notification settings - Fork 12
Migration guide
Jonatan Pleško edited this page May 23, 2019
·
2 revisions
- Append the following to your proguard file:
# JSR 305 annotations are for embedding nullability information.
-dontwarn javax.annotation.**
# Used to suppress findbugs check.
-dontwarn edu.umd.cs.findbugs.annotations.SuppressFBWarnings
- Parameter
error
in theonError()
of theUpdaterCallback
has been migrated from Integer to Throwable. If you have been logging it with%d
, make sure to change that. -
UpdaterResult
class returned by thecheckForUpdates()
method has been renamed toPrinceOfVersionsCancelable
. -
UpdaterCallback
andNetworkLoader
classes have been moved to a different package so you need to reimport them. - In case you had a custom loader, there is no more
LoaderFactory
class wrapping it - it has been replaced with theLoader
interface. It contains a singleload()
method that expects you to load and return the expected configuration. You will likely be able to reuse your current implementation.