app_upgrade_checker 1.1.0 copy "app_upgrade_checker: ^1.1.0" to clipboard
app_upgrade_checker: ^1.1.0 copied to clipboard

Check for a newer app version from the store (App Store / Google Play) or your own backend, and prompt users to update with a themeable full screen, dialog or bottom sheet.

1.1.0 #

Added #

  • onUpdate — run your own action instead of opening the store.
  • onSkip — run your own action instead of dismissing.
  • A loading state on the button while an asynchronous onUpdate runs.
  • progress — drive that loading state from your own download.
  • UpdateButtonStyle.sweepDuration, sweepColor, progressText.

Fixed #

  • viewType and dialogEntrance on rocketUp() and superHero().
  • A crash when the update action settled after the prompt was dismissed.

Docs #

  • New README section: Your own update action.
  • AppUpgrade.show parameter reference.
  • Example app: a real download on the button.
  • Documentation and package metadata improvements.

Thanks #

  • @Ahmed-Ibrahim-a-a for pointing out that an update doesn't always hand off to the store — which prompted #1 and this feature.

1.0.1 #

  • viewType — show the update as a full screen, a dialog or a bottom sheet.
  • dialogEntrancepopIn, slideUp, fade, none for the dialog and sheet.
  • AppUpgrade.show replaces showUpdateDialog, now deprecated.

1.0.0 #

Initial release.

  • Store sources: PlayStoreSource, AppStoreSource.
  • CustomSource — your own backend or a static JSON file.
  • AppConfig(android:, ios:) — one source per platform.
  • AppUpgrade.checkUpdate() and AppUpgrade.checkAndPrompt().
  • UpdateCheckResult: UpdateAvailable / NoUpdate / UpdateCheckError.
  • Forced updates via minSupportedVersionCode or ForcePolicy.
  • AppUpgradeScreen with three designs, 28 theme fields and a builder escape hatch.
  • UpdateEntrance — seven entrance animations; UpdatePulse for the button.
  • Seven languages with automatic RTL.
  • UpdatePreview — see the screen before the app is published.
  • Android and iOS only.
23
likes
160
points
235
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Check for a newer app version from the store (App Store / Google Play) or your own backend, and prompt users to update with a themeable full screen, dialog or bottom sheet.

Repository (GitHub)
View/report issues

Topics

#update #upgrade #version #app-store #google-play

License

MIT (license)

Dependencies

flutter, http, lottie, package_info_plus, url_launcher

More

Packages that depend on app_upgrade_checker