:sunny::package::racehorse: An Android library to check new versions(update) of your Android applications on the PlayStore (free, open source, third party).
Source code has totally switched from Java to Kotlin
You can call API from Kotlin and Java with previous way
To import library to you project add following lines to project's build.gradle
file.
dependencies {
compile 'com.mobapphome.library:mah-android-updater:1.1.7'
}
Added new feature called "Info Resolver"
by the help of it you can fetch your update information form your own formatted service. For example JSON Api, XML, row text file and so on.
Thanks to @andrewpros.
To import library to you project add following lines to project's build.gradle
file.
dependencies {
compile 'com.mobapphome.library:mah-android-updater:1.1.5'
}
"strings.xml"
. Added some prefix to them for precise translation. If you translate this variables in your own xml change variable name in your app too.
They are followings:
<string name="noun_mah_android_upd_dlg_title">Update information</string>
<string name="cmnd_verb_mah_android_upd_dlg_btn_no_close_txt">Close</string>
<string name="cmnd_verb_mah_android_upd_dlg_btn_yes_update_txt">Update</string>
<string name="cmnd_verb_mah_android_upd_dlg_btn_yes_install_txt">Install</string>
<string name="cmnd_verb_mah_android_upd_dlg_btn_no_uninstall_old_txt">Uninstall old</string>
To import library to you project add following lines to project's build.gradle
file.
dependencies {
compile 'com.mobapphome.library:mah-android-updater:1.1.4'
}
"MAHUpdaterController.init()"
method.Info button
on the right upper corner of dialogs. You can do it with the help of "MAHUpdaterController.init()"
"strings.xml"
. Try to translate it if your language is not listed in language files.<!--new--> <string name="mah_android_upd_play_service_not_found">Install Google Play Services to update application</string>
To import library to you project add following lines to project's build.gradle
file.
dependencies {
compile 'com.mobapphome.library:mah-android-updater:1.1.0'
}