releasenotes 1.0.5 copy "releasenotes: ^1.0.5" to clipboard
releasenotes: ^1.0.5 copied to clipboard

A Flutter package to provide the Release Notes of store for your app.

Presentation #

The package was built using ideas taken from the upgrader and flutter_app_version_checker Putting the two together I created a form that returns only what is needed for specific situations, the Release Notes.

Features #

This packages return to you the release notes from next store version of your app. It don't return an native dialog or something like it, the app purpose is only return the version release notes, with this info you can personalize your call to update the way you want with the UI of your preference.

Getting started #

Import the package with the following command:
flutter pub add releasenotes

Note #

For this example i'm using an app developed by me that is in Google Play Stoore

Usage #

For use the package, you need to init the instance:

final releaseNotes = ReleaseNotes(
  appBundleId:  "com.startcom.camporiImortais",
  currentVersion: "0.0.1",
);

After that, you only need to call the getReleaseNotes function passing language and country as parameter:

Future<ReleaseNotesModel?> getReleaseNotes() async {
  return await releaseNotes.getReleaseNotes(
    "pt",
    "BR",
    locale: "pt_BR", // For iOS, this property is must have to get release notes localized
  );
}

If current version == store version => the property isLatest = true. It indicates that the current version of the app is matched with the version on the store. The value be null once error.

After that you can configure how you prefer what will happen with the information you have received.

Want to see an example? Please go to our sample app

Additional information #

Feel free to contribute, open an issue or give your opinion on the usability of the package, to find me, contact me on my Linkedin or email: rodriguesjeff.dev@gmail.com

Made with <3 for @rodriguesjeff.dev

3
likes
130
pub points
66%
popularity

Publisher

unverified uploader

A Flutter package to provide the Release Notes of store for your app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, html, http

More

Packages that depend on releasenotes