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

A lightweight flutter plugin to check if your app is up-to-date on GooglePlay or AppStore

Pub Version popularity likes 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.

Installation #

Add InStoreAppVersionChecker to your pubspec:

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

Example #

final _checker = InStoreAppVersionChecker();

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

void checkVersion() async {
  _checker.checkUpdate().then((value) {
    log(value.appURL);         // return the app url
    log(value.canUpdate);      // return true if update is available
    log(value.currentVersion); // return current app version
    log(value.errorMessage);   // return error message if found else it will return null
    log(value.newVersion);     // return the new app version
  });
}

Or #

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

Use on ApkPure Store #

final _checker = InStoreAppVersionChecker(
  appId: 'com.zhiliaoapp.musically',
  androidStore: AndroidStore.apkPure,
);
6
likes
0
points
1.63k
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight flutter plugin to check if your app is up-to-date on GooglePlay or AppStore

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

http, package_info_plus

More

Packages that depend on flutter_in_store_app_version_checker