v0.3.2
flutter_app_version_checker
Google Play 스토어 또는 Apple App Store에서 앱이 최신인지 확인하는 가벼운 플러터 플러그인
58좋아요 35130일 다운로드140Pub 점수
AndroidiOS
Google Play 스토어 또는 Apple App Store에서 앱이 최신인지 확인하는 가벼운 플러터 플러그인
{"sdk":"flutter"}^0.13.4^1.4.2^1.0.0{"sdk":"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,
);
...