playstore_update 1.0.3
playstore_update: ^1.0.3 copied to clipboard
A package that will allow you to notify you user whenever you publish a new update on Google Play Store.
playstore_update #
A Flutter package that helps you show a popup to your users whenever you publish a new update on Google Play Store.
Example #
Description #
In this package, you can show a popup to users whenever you publish a new update on Google Play Store. You can customize the popup according to your needs and this packages is still in development. This package is really very easy to use and beginner friendly. More features will be coming soon, and they will make the package better and more customizable!
Ekxample #
Showing Popup in the init state
@override
void initState() {
// TODO: implement initState
PlaystoreUpdate(
context: context,
// Allow users to dismiss the popup and allow them to use the app.
allowDismissal: true,
// Enter your application's package name. Example:- com.malay.youtuber.wallpaper.
packageName: 'com.malay.youtuber.wallpaper',
// Do you want to show the app description(What's new).
showDescription: true,
// Do you want users to see from from which version are they upgrading to which one/
showVersions: true,
// Primary color of the popup.
primaryColor: Colors.blue)
.checkForUpdate();
}
copied to clipboard
Getting Play store and local app update details
Can be used to make a custom notifier for an update or show details about your app from Play Store or local app
GestureDetector(
onTap: () async {
// Get all the details about your app from playstore and the current version of the users.
PlaystoreUpdateData playstoreUpdateData = await PlaystoreUpdate(
// Enter your application's package name. Example:- com.malay.youtuber.wallpaper.
packageName: 'com.malay.youtuber.wallpaper',
).getPlaystoreUpdateDetails();
playstoreUpdateData.version;
},
child: Text(
'Get App Update Information',
style: Theme.of(context).textTheme.headlineMedium,
),
),
copied to clipboard