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.
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.
- launch_app_store
Flutter plugin to leave reviews and ratings in Google Play Store and Apple App Store.
71Compare - google_api_availability
Check the availability of Google Play services on an Android device.
88Compare - upgrader
Prompt users to upgrade when a newer version of the app is available in the store.
91Compare - flutter_upgrade_version
Get package info, Apple Store version details, and manage Android in-app updates.
79Compare
Works with
Packages commonly used together with app_version_update: ones it builds on, ones built on it, and its own family.
- htmlapp_version_update depends on itA Dart implementation of an HTML5 parser for strings and bytes.
- url_launcherapp_version_update depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- package_info_plusapp_version_update depends on itFlutter plugin to query app package info like version, build number and installer store.