in_app_update 1.1.4 copy "in_app_update: ^1.1.4" to clipboard
in_app_update: ^1.1.4 copied to clipboard

outdated

Enables In App Updates on Android using the official Android APIs.

pub package

Presented by

https://ffuf.de

Maintained by Jonas Bark

in_app_update #

Enables In App Updates on Android using the official Android APIs.

https://developer.android.com/guide/app-bundle/in-app-updates

Documentation #

The following methods are exposed:

  • Future<AppUpdateInfo> checkForUpdate(): Checks if there's an update available
  • Future<void> performImmediateUpdate(): Performs an immediate update (full-screen)
  • Future<void> startFlexibleUpdate(): Starts a flexible update (background download)
  • Future<void> completeFlexibleUpdate(): Actually installs an available flexible update

Please have a look in the example app on how to use it!

Android #

This plugin integrates the official Android APIs to perform in app updated that were released in 2019: https://developer.android.com/guide/app-bundle/in-app-updates

iOS #

iOS does not offer such a functionality. You might want to look into e.g. https://pub.dev/packages/upgrader. If you call the methods above on a iOS device you'll run into a not-implemented exception.

971
likes
0
pub points
99%
popularity

Publisher

verified publisherjonasbark.de

Enables In App Updates on Android using the official Android APIs.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on in_app_update