Releases: javiersantos/AppUpdater
Releases · javiersantos/AppUpdater
Version 2.4
Snackbars
andNotifications
now support custom text. See: Customizing the title, description, buttons and more.- Some old methods have been deprecated.
- Updated buildTools to 24.0.2
Version 2.3.1
Version 2.3
Version 2.2
- Added possibility to set the text of the dismiss button:
.setDialogButtonDismiss()
. - Added possibility to stop the background task:
.stop()
. - Made the snackbar and the dialog dismissable
- Using OkHTTP to prevent leaking view.
Thanks to @Neoklosch for your PR!
Version 2.1.1
- Replaced material-dialogs library in favor of AppCompat v7 AlertDialogs.
- Updated AppCompat to 23.4.0
- Updated Gradle to 2.1.0
Update 2.1
- Provide release notes for your updates using
UpdateFrom.XML
. Thanks to @johanvs. Documentation available here: https://github.com/javiersantos/AppUpdater/wiki/UpdateFrom.XML - Update gradle and libraries.
Version 2.0.2
- Added more
AppUpdaterError
elements to the enum:UPDATE_VARIES_BY_DEVICE
,GITHUB_USER_REPO_INVALID
,NETWORK_NOT_AVAILABLE
andXML_URL_MALFORMED
. - Fixed Snackbar was showed behing the Navigation bar.
Version 2.0.1
- Added
.setUpdateFrom(UpdateFrom.XML)
to allow updates from your own website / server. Documentation available here: https://github.com/javiersantos/AppUpdater/wiki/UpdateFrom.XML - Added new listener to retrieve an object with the latest version and URL to download:
UpdateListener
.
UpdateListener listener = new AppUpdaterUtils.UpdateListener() {
@Override
public void onSuccess(Update update, Boolean isUpdateAvailable) {
Log.d("AppUpdater", update.getLatestVersion() + ", " + update.getUrlToDownload() + ", " + Boolean.toString(isUpdateAvailable));
}
@Override
public void onFailed(AppUpdaterError error) {
Log.d("AppUpdater", "Something went wrong");
});
- Some refactoring and bug fixes. Thanks to deletescape.
Version 2.0
- Added
.setUpdateFrom(UpdateFrom.XML)
to allow updates from your own website / server. Documentation available here: https://github.com/javiersantos/AppUpdater/wiki/UpdateFrom.XML - Added new listener to retrieve an object with the latest version and URL to download:
UpdateListener
.
UpdateListener listener = new AppUpdaterUtils.UpdateListener() {
@Override
public void onSuccess(Update update, Boolean isUpdateAvailable) {
Log.d("AppUpdater", update.getLatestVersion() + ", " + update.getUrlToDownload() + ", " + Boolean.toString(isUpdateAvailable));
}
@Override
public void onFailed(AppUpdaterError error) {
Log.d("AppUpdater", "Something went wrong");
});
- Some refactoring and bug fixes. Thanks to deletescape.
Version 1.2.2
- Added
setIcon(Drawable)
method to set your own small notification icon. Thanks to @khrizt.