flutter_version_checker_package 0.0.2 copy "flutter_version_checker_package: ^0.0.2" to clipboard
flutter_version_checker_package: ^0.0.2 copied to clipboard

With this package, you will be able to verify the version that your users are running and thus analyze if they need to update to a newer version.

Flutter Application Version Checker #


With this package, you will be able to verify the version that your users are running and thus analyze if they need to update to a newer version.

Ceate your account an register your apps here: http://dash.app.version.checker.federicojuretich.com/sign-up

How does it work? #

Simple. You register your application on a platform and configure the package so that every time you want it is verified which version is on the platform.

Example of use #

FlutterVersionChecker(
                resolve: (
                  VersionStatus versionStatus,
                  ApplicationVersion lastVersion,
                  ApplicationVersion? updateVersion,
                ) {
                  WidgetsBinding.instance.addPostFrameCallback((_) {
                    if (versionStatus == VersionStatus.mustUpdate) {
                      showDialog(
                        context: context,
                        builder: (context) {
                          return AlertDialog(
                            title: const Text("Update"),
                            content: Text(
                                "Musto update to: ${updateVersion!.version}"),
                          );
                        },
                      );
                    } else if (versionStatus == VersionStatus.availableUpdate) {
                      showDialog(
                        context: context,
                        builder: (context) {
                          return AlertDialog(
                            title: const Text("New version available"),
                            content: Text(
                                "You can update to: ${updateVersion!.version}"),
                          );
                        },
                      );
                    }
                  });
                },
                appToken: "{{APP_TOKEN}}",
                apiKey:
                    "{{ACCOUNT_APIKEY}}"),

Contact #

Email: fedejuret@gmail.com
Website: https://federicojuretich.com
LinkedIn: https://www.linkedin.com/in/federicojuretich/

1
likes
130
points
31
downloads

Publisher

verified publisherfedericojuretich.com

Weekly Downloads

With this package, you will be able to verify the version that your users are running and thus analyze if they need to update to a newer version.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, package_info_plus

More

Packages that depend on flutter_version_checker_package