upgrade_util 3.0.2 copy "upgrade_util: ^3.0.2" to clipboard
upgrade_util: ^3.0.2 copied to clipboard

A plug-in for application upgrades, which implements the method of jumping to the store and the function of installing after downloading the APK.

Flutter Upgrade Util #

pub package GitHub license

Language: δΈ­ζ–‡ | English

At present, the plugin is only used by Android, iOS.

Preparing for use #

Version constraints #

  sdk: ^3.5.0
  flutter: ">=3.24.0"

Rely #

  1. Add upgrade_util to pubspec.yaml dependencies.
dependencies:
  upgrade_util: ^latest_version
  1. Get the package by executing the flutter command.
flutter pub get
  1. Introduce
import 'package:upgrade_util/upgrade_util.dart';

Usage #

UpgradeOption #

Popups are implemented by using UpgradeOption.

Name Type Description Default
parameters Map<String, dynamic>? Custom parameters null

IOSUpgradeOption #

Popups are implemented by using IOSUpgradeOption.

Name Type Description Default
appleId String? Apple ID required
mode IOSOpenMode Open Mode. required

AndroidUpgradeOption #

Popups are implemented by using AndroidUpgradeOption.

Name Type Description Default
brand AndroidBrand The brand. required
packageName String? The package name. null
link String? Custom link. null
isUseDownloadUrl bool Whether to use download url. false
downloadUrl String? Download url. null

Method #

To jump to the App Store or the application market, use the openStore method

If you like my project, please in the upper right corner of the project "Star". Your support is my biggest encouragement! ^_^

7
likes
150
points
215
downloads

Publisher

unverified uploader

Weekly Downloads

A plug-in for application upgrades, which implements the method of jumping to the store and the function of installing after downloading the APK.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, plugin_platform_interface, url_launcher

More

Packages that depend on upgrade_util