Skip to content
pubscout

flutter_prince_of_versions

2.2.4, released 2 years ago by infinum.com

Check for app updates from a remote server, Google Play, or App Store.

$ flutter pub add flutter_prince_of_versions
Source repository

What it does

Allows checking whether a newer version of the application is available using a remote configuration file or directly via the App Store and Google Play. It provides version details and update statuses to help prompt users to update.

AI-written summary of version 2.2.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to manage custom update enforcement rules via a remote JSON configuration file.
  • You need to check for available updates directly from the Google Play store or App Store.

Skip it when

  • You do not need to check for application updates or notify users of new versions.
  • You need to check if an update is mandatory directly using the App Store integration (not supported by that method).

Strengths

  • Supports checking updates from remote server configurations, Google Play, and the App Store.
  • Allows custom update flows and requirement checks such as regions or OS versions.

Weaknesses

  • App Store automatic checks cannot determine if an update is mandatory.
  • Requires maintaining a separate JSON configuration file on a remote server for custom check flows.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
0

Requires adding ProGuard/R8 options for Android if R8 or ProGuard is used.

final data = await FlutterPrinceOfVersions.checkForUpdates(
  url: url,
  shouldPinCertificates: false,
);

Alternatives

Packages that do the same job and could replace flutter_prince_of_versions.