FLUTTER ECOSYSTEM

X-SLAYER/app_version_checker

Google Play Store या Apple App Store पर आपके ऐप की अपडेटेड है या नहीं जांचने के लिए हल्का फ्लटर प्लगइन

app_version_checker प्रोजेक्ट कवर
Stars
14
Forks
55
अंतिम पुश (UTC)
24 जून 2024
प्रोजेक्ट स्थिति
सक्रिय
Iheb Briki GitHub avatar
GITHUB User

Iheb Briki ↗

I'm a full-stack developer and mainly use Flutter. trying to be better every day.

MineBeatTunisia
भाषाएँDartRubyKotlinSwiftObjective-C

तकनीकी विषय

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 5 आइटम

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

App Version Checker

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 Checker to your pubspec:

dependencies:
  flutter_app_version_checker: 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 = AppVersionChecker(
      appId: "specify the app id (optional)",
      currentVersion: "specify the current version (optional)");
...
Use on ApkPure Store
   final _checker = AppVersionChecker(
    appId: "com.vanced.android.youtube",
    androidStore: AndroidStore.apkPure,
  );
...