Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x-slayer/app_version_checker
A lightweight flutter plugin to check if your app is up-to-date on Google Play Store or Apple App Store
https://github.com/x-slayer/app_version_checker
apkpure applestore checker dart flutter playstore version version-check
Last synced: 5 days ago
JSON representation
A lightweight flutter plugin to check if your app is up-to-date on Google Play Store or Apple App Store
- Host: GitHub
- URL: https://github.com/x-slayer/app_version_checker
- Owner: X-SLAYER
- License: mit
- Created: 2021-12-02T12:53:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T14:42:45.000Z (5 months ago)
- Last Synced: 2024-10-19T14:23:21.126Z (about 1 month ago)
- Topics: apkpure, applestore, checker, dart, flutter, playstore, version, version-check
- Language: Dart
- Homepage: https://pub.dev/packages/flutter_app_version_checker
- Size: 85.9 KB
- Stars: 12
- Watchers: 0
- Forks: 44
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
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:
```yaml
dependencies:
flutter_app_version_checker: any # or the latest version on Pub
```### Usage
```dart
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```dart
final _checker = AppVersionChecker(
appId: "specify the app id (optional)",
currentVersion: "specify the current version (optional)");
...
```#### Use on ApkPure Store
```dart
final _checker = AppVersionChecker(
appId: "com.vanced.android.youtube",
androidStore: AndroidStore.apkPure,
);
...
```