Skip to content
pubscout

app_upgrade_flutter_sdk

3.0.0, released 3 years ago by appupgrade.dev

Integrates with App Upgrade API to prompt users for soft or force app updates.

$ flutter pub add app_upgrade_flutter_sdk
Source repository

What it does

Provides a widget that checks app version against the App Upgrade service and displays an upgrade alert dialog (Material or Cupertino). Supports custom store redirection for Android and iOS, localized messages, and update/later callbacks.

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

Use it when

  • You need to force or gracefully nudge users to update their mobile apps.
  • You want a hosted dashboard to manage version upgrade rules and custom messages.
  • You support alternative app stores like Amazon, Huawei, or custom URLs.

Skip it when

  • You want a fully self-hosted version check mechanism without external API dependencies.
  • You are building for platforms outside of mobile/desktop stores where version checks are not applicable.

Strengths

  • Supports both soft and force upgrades.
  • Supports multiple app stores (Google Play, Apple App Store, Amazon, Huawei, custom marketplaces).
  • Easy widget-based integration via AppUpgradeAlert.

Weaknesses

  • Relies on a third-party paid/hosted service (App Upgrade).
  • May not function properly on simulators/emulators when attempting to open stores.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Requires registering on the App Upgrade website to obtain an x-api-key and wrapping your app body with AppUpgradeAlert.

AppUpgradeAlert(
  xApiKey: 'YOUR_API_KEY',
  appInfo: AppInfo(
    appId: 'com.example.app',
    appName: 'My App',
    appVersion: '1.0.0',
    platform: 'android',
    environment: 'production',
  ),
  child: Center(child: Text('Hello World!')),
)

Alternatives

Packages that do the same job and could replace app_upgrade_flutter_sdk.

Works with

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