flutter_in_store_app_version_checker 1.10.0 copy "flutter_in_store_app_version_checker: ^1.10.0" to clipboard
flutter_in_store_app_version_checker: ^1.10.0 copied to clipboard

"A lightweight flutter plugin to check if your app is up-to-date on GooglePlay or AppStore. Made with ❤️ by ziqq."

Pub Version popularity likes codecov style: flutter lints

flutter_in_store_app_version_checker #

Description #

This package is used to check if your app has a new version on playstore or apple app store. Or you can even check what is the latest version of another app on playstore or apple app store.

Supported platforms #

This package supports checking for app updates only on the following platforms:

Platform Description
Android GooglePlay, ApkPure
IOS Apple AppStore

Other platforms, such as Web, Windows, Linux, etc., are not supported.

Supported Android Stores #

The package supports checking for updates through the following Android store types:

Android store type Description
AndroidStore.googlePlayStore The default Google Play Store
AndroidStore.apkPure The alternative ApkPure store

You can specify the store using the androidStore parameter:

final _checker = InStoreAppVersionChecker(
  androidStore: AndroidStore.apkPure, // Use apkPure instead of Google Play
);

Installation #

Add InStoreAppVersionChecker to your pubspec:

dependencies:
  flutter_in_store_app_version_checker:  any  # Or the latest version on Pub

Example #

Initialize #

final _checker =  InStoreAppVersionChecker();

Or

final _checker =  InStoreAppVersionChecker(
  appId:  'Specify the app id',                    // Optional
  currentVersion:  'Specify the current version',  // Optional
);

Usage #

@override
void  initState() {
  super.initState();
  checkVersion();
}

Future<void> checkVersion() async {
  final result = await _checker.checkUpdate();
  print('App url         : ${result.appURL}');
  print('Can update      : ${result.canUpdate}');
  print('Current version : ${result.currentVersion}');
  print('New version     : ${result.newVersion}');
  if (result.errorMessage != null) print('Error: ${result.errorMessage}');
};

The results #

Result Description
appURL The link to the app’s store page
canUpdate true if an update is available
currentVersion The current version of the app
newVersion The new version if available
errorMessage An error message (if any)

Use on Apk Pure Store #

final _checker =  InStoreAppVersionChecker(
  appId:  'Specify the app id',
  androidStore:  AndroidStore.apkPure,
);

Changelog #

Refer to the Changelog to get all release notes.

Maintainers #

Anton Ustinoff (ziqq)

License #

MIT

Funding #

If you want to support the development of our library, there are several ways you can do it:

Coverage #

8
likes
150
points
1.97k
downloads

Publisher

unverified uploader

Weekly Downloads

"A lightweight flutter plugin to check if your app is up-to-date on GooglePlay or AppStore. Made with ❤️ by ziqq."

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com
www.patreon.com
boosty.to

License

MIT (license)

Dependencies

flutter, http, meta, package_info_plus

More

Packages that depend on flutter_in_store_app_version_checker