flutter_app_version_checker
Um plug-in leve do Flutter para verificar se o seu aplicativo está atualizado na Google Play Store ou na Apple App Store
Um plug-in leve do Flutter para verificar se o seu aplicativo está atualizado na Google Play Store ou na Apple App Store
Texto original em inglês. Visite o GitHub para a versão atual.
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,
);
...
Lista de dependências 5 itens
{"sdk":"flutter"}^0.13.4^1.4.2^1.0.0{"sdk":"flutter"}Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗