Skip to content
pubscout

in_app_update

5.0.0, released 5 months ago by jonasbark.de

Triggers official Google Play In-App Updates on Android devices.

WASM-ready
$ flutter pub add in_app_update
Source repository

What it does

Enables Flutter applications on Android to check for and execute in-app updates using the official Google Play Core APIs. It supports both immediate (full-screen) and flexible (background download) update flows. It provides metadata like staleness, priority, and update availability directly from the Play Store.

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

Use it when

  • Distributing an Android app via Google Play and wanting to prompt or force users to update without leaving the app
  • Implementing background flexible downloads or immediate critical update flows on Android

Skip it when

  • Building for iOS, desktop, or web, as the official API is Android-only and throws not-implemented exceptions
  • Distributing via third-party stores or sideloading, since it requires the Google Play Store

Strengths

  • Direct wrapper around official Google Play Core In-App Update APIs
  • Supports both immediate and flexible update workflows
  • Exposes update metadata such as staleness days and priority

Weaknesses

  • Android-only; calling methods on iOS causes not-implemented exceptions
  • Cannot be tested locally outside of Google Play tracks

Setup

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

Requires Android API 21+ and must be tested via Google Play (e.g., internal testing track).

InAppUpdate.checkForUpdate().then((info) {
  if (info.updateAvailability == UpdateAvailability.updateAvailable) {
    InAppUpdate.performImmediateUpdate();
  }
});

Alternatives

Packages that do the same job and could replace in_app_update.

Works with

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