Skip to content
pubscout

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.

$ flutter pub add new_version
Source repository

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.

  • dio

    Provides more advanced networking features if you need custom request handling

Works with

Packages commonly used together with new_version: ones it builds on, ones built on it, and its own family.