in_app_update 1.0.1
in_app_update: ^1.0.1 copied to clipboard
Enables In App Updates on Android using the official Android APIs.
Presented by

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<InAppUpdateState> checkForUpdate()
: Checks if there's an update availableFuture<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.