Skip to content

clhols/appupdater-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

appupdater

Update an Android app by calling the updateApp function from an Activity.

/**
 * Updates the app to a newer version.
 *
 * @param versionCode BuildConfig.VERSION_CODE of the calling app.
 * @param metaUrl Url pointing to the output.json file from the Gradle build.
 * @param apkUrl Url pointing to the APK file.
 * @param changelogUrl Url pointing to a file with the changelog.
 */
updateApp(
    activity: Activity,
    versionCode: Int,
    metaUrl: String,
    apkUrl: String,
    changelogUrl: String)

About

Update Android app at launch from URL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages