flutter_app_version_updater 0.0.1 copy "flutter_app_version_updater: ^0.0.1" to clipboard
flutter_app_version_updater: ^0.0.1 copied to clipboard

A lightweight flutter plugin to check if your app is up-to-date on Google Play Store or Apple App Store

App Version Updater #

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.

Installing #

Add App Version Updater to your pubspec:

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

Usage #

  final _checker = AppVersionChecker();

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

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

Or

  final _checker = AppVersionUpdater(
      appId: "specify the app id (optional)",
      currentVersion: "specify the current version (optional)");
...

Use on ApkPure Store

   final _checker = AppVersionUpdater(
    appId: "com.vanced.android.youtube",
    androidStore: AndroidStore.apkPure,
  );
...
1
likes
140
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight flutter plugin to check if your app is up-to-date on Google Play Store or Apple App Store

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, http, package_info_plus

More

Packages that depend on flutter_app_version_updater