version_check
0.8.0, released 7 months ago by mix1009.com
Check iOS, Android, and Mac store versions and show update alerts.
What it does
Checks the application version available on the iOS App Store, Google Play Store, or Mac App Store against the currently installed version. Provides a built-in update alert dialog if a newer version is available.
AI-written summary of version 0.8.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to prompt users to update their app when a new version is released on official stores.
- You want a straightforward way to fetch the latest store version and open the download URL.
Skip it when
- You require complex in-app update flows managed natively via Google Play In-App Updates API.
- You need detailed platform-specific update mechanics not covered by basic web scraping and store API lookups.
Strengths
- Simple API to initialize and check versions via a single method call.
- Supports iOS, Android, and macOS platforms out of the box.
Weaknesses
- Relies on web page scraping and store lookups which can break if store layouts change.
- Limited customization options for the update flow beyond provided parameters.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 4
No special native permissions required, but depends on network connectivity to fetch store metadata.
import 'package:version_check/version_check.dart';
final versionCheck = VersionCheck();
@override
void initState() {
super.initState();
checkVersion();
}
Future checkVersion() async {
await versionCheck.checkVersion(context);
}Alternatives
Packages that do the same job and could replace version_check.
- in_app_update
Triggers official Google Play In-App Updates on Android devices.
81Compare - flutter_app_update
A simple lightweight and customizable version update library for Flutter
61Compare - flutter_upgrade_version
Get package info, Apple Store version details, and manage Android in-app updates.
79Compare - update_available
Check if an update is available for your Flutter app on Android and iOS.
81Compare
Works with
Packages commonly used together with version_check: ones it builds on, ones built on it, and its own family.
- htmlversion_check depends on itA Dart implementation of an HTML5 parser for strings and bytes.
- url_launcherversion_check depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- package_info_plusversion_check depends on itFlutter plugin to query app package info like version, build number and installer store.