Star on GitHub

Retrieve version and url for local app update against store app Android and iOS

Omar Nasser

Omar Nasser

GitHub LinkedIn Portfolio


Compares local version with the respective store version for the purpose of detecting user-side version updates.

Getting started

$ flutter pub add app_version_update_lite

or add in your dependencies

  app_version_update_lite: <latest>

to use this app you need to have the app hosted in stores.

To test, you can manually downgrade your pubspec.yaml from your version: , when you run your local version it will be different from the store version


Internet permission Android: <uses-permission android:name="android.permission.INTERNET" />

Internet permission iOs: <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key><true/> </dict>

final appleId = '1234567890'; // If this value is null, its packagename will be considered
final playStoreId = ''; // If this value is null, its packagename will be considered
final country = 'br' // If this value is null 'us' will be the default value
await AppVersionUpdate.checkForUpdates(
            appleId: appleId, playStoreId: playStoreId, country: country)
        .then((data) async {
             //here you can show any custom dialog.

Additional information

Next Updates status
Mandatory or optional update released
Create TestMode development
Handle Exceptions development
New options custom widgets released
Automatic country detection released
Modularize files listed

This project is at an initial level, more functions will be included as

So any suggestion and contribution is welcome.