flutter_update_checker 0.1.1 copy "flutter_update_checker: ^0.1.1" to clipboard
flutter_update_checker: ^0.1.1 copied to clipboard

Simple package to check update for Android (Google Play, App Gallery, RuStore) and iOS (AppStore)

flutter_update_checker #

Pub

Simple package to check update for Android (Google Play, App Gallery, RuStore) and iOS (AppStore). It helps developers notify users about new versions of the app, ensuring that they always have the latest features and bug fixes.

Features #

  1. Getting the version/checking update from the store where the application was downloaded
  2. Getting a version from another store (except Google Play)
  3. Opening link to store

Platform support #

Feature Android iOS
App Store
App Gallery
Google Play (Only if from GP)
RuStore

Getting started #

For iOS you have to add LSApplicationQueriesSchemes as Array param to Info.plist and add itms-apps as one of params in this array to link appstore.

Code:

<key>LSApplicationQueriesSchemes</key>
<array>
  <string>itms-apps</string>
</array>

Usage #

Check example in /example folder.

import 'package:flutter_update_checker/flutter_update_checker.dart';

final updateChecker = UpdateStoreChecker(
      iosAppStoreId: 564177498,
      androidAppGalleryId: 'C101104117',
      androidAppGalleryPackageName: 'com.vkontakte.android',
      androidRuStorePackage: 'com.vkontakte.android',
      androidGooglePlayPackage: 'com.vkontakte.android',
    );

// Check update
bool isUpdateAvailable = await updateChecker.checkUpdate();

// Get version from Store
String storeVersion = await updateChecker.getStoreVersion();

// Open Store Link
await updateChecker.update();
1
likes
0
points
243
downloads

Publisher

verified publisheradict.ru

Weekly Downloads

Simple package to check update for Android (Google Play, App Gallery, RuStore) and iOS (AppStore)

Repository (GitHub)
View/report issues

Topics

#update

License

unknown (license)

Dependencies

dio, flutter, in_app_update, package_info_plus, url_launcher

More

Packages that depend on flutter_update_checker