Skip to content
pubscout

updater

0.2.5, released a year ago by marsad.dev

Check for custom in-app updates and download APKs on Android.

$ flutter pub add updater
Source repository

What it does

Checks a remote JSON file for application updates, displays an update dialog, and downloads/installs the update file on Android devices.

AI-written summary of version 0.2.5, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You distribute Android apps outside the Google Play Store and need a custom in-app update mechanism.
  • You want to fetch update metadata from a remote JSON file.

Skip it when

  • You are building for iOS (iOS is not supported by this plugin).
  • You prefer using official platform stores (like Google Play In-App Updates).

Strengths

  • Supports pause, resume, and cancel for ongoing downloads.
  • Customizable dialog texts, UI elements, and force-update support via minSupport.

Weaknesses

  • Does not support iOS.
  • Requires manual setup of the REQUEST_INSTALL_PACKAGES permission on Android.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
4

Add the REQUEST_INSTALL_PACKAGES permission to the AndroidManifest.xml and specify the version code in pubspec.yaml.

UpdaterController controller = UpdaterController(listener: (UpdateStatus status) {});
Updater updater = Updater(context: context, controller: controller, url: 'JSON_FILE_URL');
updater.check();

Alternatives

Packages that do the same job and could replace updater.

Works with

Packages commonly used together with updater: ones it builds on, ones built on it, and its own family.