Skip to content
pubscout

app_version_update

7.0.0, released 6 months ago by deebx.tech

Check if local app version matches Play Store or Apple Store and prompt updates.

$ flutter pub add app_version_update
Source repository

What it does

Retrieves the version and store URL for the local app and compares it against the respective app store version. It provides built-in dialogs, bottom sheets, and pages to prompt users to update.

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

Use it when

  • You need to enforce or suggest app updates from the Play Store and App Store.
  • You want pre-built UI components like alert dialogs or bottom sheets for updates.

Skip it when

  • You require advanced in-app update flows managed natively via Google Play In-App Updates API.
  • Your app is not hosted on public stores.

Strengths

  • Supports both Android and iOS stores easily.
  • Provides built-in customizable UI options like dialogs, bottom sheets, and pages.

Weaknesses

  • Relies on scraping or querying store pages via HTTP which might be fragile to store layout changes.
  • Requires manual version comparison handling setup.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
4

Requires INTERNET permission on Android and NSAppTransportSecurity configuration on iOS.

await AppVersionUpdate.checkForUpdates(
  appleId: '284882215',
  playStoreId: 'com.facebook.katana',
).then((data) async {
  if (data.canUpdate!) {
    AppVersionUpdate.showAlertUpdate(appVersionResult: data, context: context);
  }
});

Alternatives

Packages that do the same job and could replace app_version_update.

Works with

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