v3.2.4flutter_app_update
一个简单、轻量且可自定义的 Flutter 版本更新库
60喜欢 2780近 30 天下载150Pub 分数
AndroidiOS
一个Flutter版本简单、轻量、可随意定制的Android版本更新库
以下为英文项目原文快照,最新内容请访问 GitHub。
dependencies:
flutter_app_update: ^latest_version
UpdateModel and set apk url UpdateModel model = UpdateModel(
url,
"flutterUpdate.apk",
/// android res/mipmap icon name
"ic_launcher",
'https://itunes.apple.com/cn/app/xxxx',
);
AzhonAppUpdate.update(model).then((value) => debugPrint('$value'));
@override
void initState() {
super.initState();
AzhonAppUpdate.listener((ResultModel model) {
debugPrint('$model');
});
}

依赖清单 3 项
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗