Skip to content
pubscout

app_versioning

1.5.0, released 3 weeks ago by levinriegner.com

Tracks app version and prompts users to update via Play/App Store

$ flutter pub add app_versioning
Source repository

What it does

It checks the current app version against a minimum version defined in a backend or Firebase Remote Config. If an update is available it can force or suggest the user to update the app.

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

Use it when

  • You need to enforce a minimum app version for security or feature reasons
  • You want to offer optional or mandatory update prompts on Android and iOS
  • You need to track version history for onboarding or migrations

Skip it when

  • You only need a simple in-app update check without backend integration
  • You prefer a lightweight solution without external dependencies

Strengths

  • Easy to integrate with both Android and iOS
  • Supports optional and mandatory updates
  • Customizable via API or Firebase Remote Config
  • Tracks version history for analytics or migrations

Weaknesses

  • Depends on several external packages (in_app_update, upgrader, version_tracker)
  • Requires Firebase setup if using the Firebase backend
  • May add extra weight to the app

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
7

Add the package to pubspec, configure Firebase if using that backend, provide app store IDs, and call AppVersioning.initialise in main.

```dart
final appVersioning = AppVersioning.firebaseService(
  remoteConfigKeys: const RemoteConfigKeys(
    minimumIosVersionKey: "minimumIosVersion",
    minimumAndroidVersionKey: "minimumAndroidVersion",
  ),
  updateConfig: const UpdateConfig(
    appStoreAppId: "1234567890",
    playStoreAppId: "org.example.versioning",
    appstoreCountryCode: 'US',
  ),
);
await appVersioning.tracker.track();
final info = await appVersioning.getAppUpdateInfo();
if (info.isUpdateAvailable) {
  // show update prompt
}
```

Alternatives

Packages that do the same job and could replace app_versioning.

  • pwa_install

    Prompt mobile web users to install the Flutter app as a PWA on demand.

  • new_version

    Checks if the user has the latest app version and prompts an update link.

Works with

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