kooboo_flutter_app_upgrade 0.0.7 copy "kooboo_flutter_app_upgrade: ^0.0.7" to clipboard
kooboo_flutter_app_upgrade: ^0.0.7 copied to clipboard

outdated

flutter app upgrade

kooboo_flutter_app_upgrade #

Android app应用内升级,iOS跳转至AppStore

安装:

dependencies:
  flutter:
    sdk: flutter
  kooboo_flutter_app_upgrade: ^0.0.7

导入:

import 'package:flutter_app_upgrade/flutter_app_upgrade.dart';

使用:

///安装apk(仅适用于Android)
String apkDownloadPath = await FlutterAppUpgrade.apkDownloadPath;
FlutterAppUpgrade.installAppForAndroid('$apkDownloadPath/temp.apk');
///增量更新apk(仅适用于Android)
String apkDownloadPath =await FlutterAppUpgrade.apkDownloadPath;
FlutterAppUpgrade.patchInstallAppForAndroid('$apkDownloadPath/app-V1.0_2.0.patch');
///跳转应用市场(仅适用于Android)
FlutterAppUpgrade.goToMarket();
///跳转Google应用市场(仅适用于Android)
FlutterAppUpgrade.goToGoogleMarket();
///跳转AppStore(仅适用于iOS)
FlutterAppUpgrade.goToAppStore('appId');

参考:

Android增量更新原理和实践

2
likes
0
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

flutter app upgrade

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on kooboo_flutter_app_upgrade