v0.3.2
flutter_app_version_checker
Google Play ストアまたはApple App Storeでアプリが最新かどうかを確認するための軽量なFlutterプラグイン
58いいね 14330日間ダウンロード140Pub ポイント
AndroidiOS
Google Play ストアまたはApple App Storeでアプリが最新かどうかを確認するための軽量なFlutterプラグイン
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
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.
Add App Version Checker to your pubspec:
dependencies:
flutter_app_version_checker: any # or the latest version on Pub
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
});
}
final _checker = AppVersionChecker(
appId: "specify the app id (optional)",
currentVersion: "specify the current version (optional)");
...
final _checker = AppVersionChecker(
appId: "com.vanced.android.youtube",
androidStore: AndroidStore.apkPure,
);
...
依存関係一覧 5 件
{"sdk":"flutter"}^0.13.4^1.4.2^1.0.0{"sdk":"flutter"}用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗