Skip to content
pubscout

native_updater

0.2.0, released 9 months ago by digitalventures.au

Prompt users to update the app with a native dialog for Android and iOS.

$ flutter pub add native_updater
Source repository

What it does

Displays a native alert dialog on Android and iOS prompting users to update the app. It supports both forced updates and flexible update flows where users can choose to skip or update later.

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

Use it when

  • You need to prompt users to update to a newer app version.
  • You want to enforce a minimum supported app version using custom logic.

Skip it when

  • You want automated background update checks without custom logic.
  • You are not targeting Android or iOS.

Strengths

  • Provides native UI for both Material (Android) and Cupertino (iOS).
  • Supports custom app store URLs and alert text labels.

Weaknesses

  • Requires custom logic to determine when an update is available.
  • iOS Info.plist setup required to display the app name.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3

For iOS, add CFBundleDisplayName to Info.plist to show the App Name in the Cupertino Alert Dialog.

NativeUpdater.displayUpdateAlert(
  context,
  forceUpdate: true,
);

Alternatives

Packages that do the same job and could replace native_updater.

Works with

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