update_checker

Creator: coderz1093

Last updated:

0 purchases

update_checker Image
update_checker Images
Add to Cart

Description:

update checker

update_checker #
Flutter plugin to check updates for android and ios
Getting Started #
Add this to pubspec.yaml
dependencies:
update_checker: ^0.0.1
copied to clipboard
Usage #
void initState() {
super.initState();
var checker = UpdateChecker(); // create an object from UpdateChecker

//check your OS if android pass the play store URL and so do iOS
if (Platform.isIOS) {
checker.checkForUpdates("YOUR_APP_STORE_URL").then((value) => {
// if value is true you can show a dialog to redirect user to app store to perform update
});
} else if (Platform.isAndroid) {
checker
.checkForUpdates(
"YOUR_PLAY_STORE_URL",
)
.then((value) => {
// if value is true you can show a dialog to redirect user to play store to perform update
});
}
}
copied to clipboard
Contributing #
We Accept the following contributions

Reporting issues
bug fixing

Maintainers #
[email protected]

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.