new_version
0.3.1, released 4 years ago by an unverified publisher
Checks if the user has the latest app version and prompts an update link.
What it does
The plugin queries the app store for the current version of the app and compares it to the installed version. If an update is available it can show a platform‑specific alert with a link to the store.
AI-written summary of version 0.3.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to ensure users run the newest version of your app
- You want a simple way to prompt updates without building custom store‑lookup logic
Skip it when
- Your app does not have store listings (e.g., internal distribution)
- You require complex update policies beyond a simple version check
Strengths
- Lightweight and easy to integrate
- Handles both iOS and Android store lookups
- Customizable alert dialog
Weaknesses
- Relies on external store APIs which may change
- Limited to basic version comparison, no staged rollouts
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 5
final newVersion = NewVersion();
await newVersion.showAlertIfNecessary(context: context);Alternatives
Packages that do the same job and could replace new_version.
Works with
Packages commonly used together with new_version: ones it builds on, ones built on it, and its own family.
- htmlnew_version depends on itA Dart implementation of an HTML5 parser for strings and bytes.
- url_launchernew_version depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- package_info_plusnew_version depends on itFlutter plugin to query app package info like version, build number and installer store.