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 ↗