github_apk_updater library

github_apk_updater Auto-update Flutter Android apps via GitHub Releases. Zero cost, zero third-party, fully self-owned.

Classes

GithubApkUpdater
UpdateInfo
Represents info fetched from version.json on GitHub
UpdaterConfig
Configuration for GithubApkUpdater.

Functions

showUpdateDialog(BuildContext context, {required UpdateInfo info, required UpdaterConfig config}) → void
Shows the built-in update dialog. Called automatically by GithubApkUpdater.check().

Typedefs

UpdateDialogBuilder = Widget Function(BuildContext context, UpdateInfo updateInfo)
Builder for a completely custom update dialog.