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.
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.
- upgrader
Prompt users to upgrade when a newer version of the app is available in the store.
91Compare - inappstory_plugin
A Flutter plugin to use InAppStory SDK. Supports Android and iOS platforms.
76Compare - dart_flutter_version
Retrieve current Dart and Flutter SDK runtime versions using nullable getters.
73Compare - app_version_update
Check if local app version matches Play Store or Apple Store and prompt updates.
71Compare
Works with
Packages commonly used together with app_upgrade_flutter_sdk: ones it builds on, ones built on it, and its own family.