update_app 0.0.5 copy "update_app: ^0.0.5" to clipboard
update_app: ^0.0.5 copied to clipboard

outdated

Update the app, pass in the updated address, and update the app. The Android part is implemented using DownloadManager. If the file has been downloaded, it will be installed directly. The Ios section [...]

update_app #

更新app, 传入更新的地址, 进行app更新, Android部分使用DownloadManager实现.若文件已下载, 则直接安装.
Ios部分不支持外部更新, 跳转App Store.

体验demo #

apk下载

screen

使用方法 #

import 'package:update_app/update_app.dart';

UpdateApp.updateApp(url: "apkPath",appleId:"375380948",title:"通知标题",description:"通知描述");

特点 #

Android部分 #

  1. 使用DownloadManager进行下载
  2. 监听下载完成广播
  3. 适配Android 6.0运行时权限 文件存储在app目录, 不需要申请运行时权限
  4. 适配Android 7.0FileProvider
  5. 适配Android 8.0安装权限
  6. 适配Android 9.0网络安全配置

IOS部分 #

  1. 跳转应用商店
8
likes
0
pub points
48%
popularity

Publisher

unverified uploader

Update the app, pass in the updated address, and update the app. The Android part is implemented using DownloadManager. If the file has been downloaded, it will be installed directly. The Ios section does not support external updates, skip the App Store.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on update_app