flutter 的热更新方案shorebird

Flutter 热修复(Shorebird)_flutter shorebird-CSDN博客

Preview Locally | ShorebirdLearn how to preview an existing release of your application.https://docs.shorebird.dev/code-push/preview/

控制台: Shorebird Console

文档: Welcome | Shorebird

基本命令

要将现有 Flutter 项目配置为使用 Shorebird,请使用 shorebird init 在 Flutter 项目的根目录下:

shorebird init

为了开始推送更新,您需要创建一个版本。

shorebird release android

打补丁 一个版本可以打n个补丁,补丁是版本号后面的小数字

shorebird patch android

注意:

  • 只有是安装了 shorebird 打包的应用,打的补丁更新可能需要一天才会更新的到
  • 没有平台的限制,只要是安卓了包,不管是 不是再google play分发,获appStore 或者自己网站分发,都是可以自动更新到的
  • 手动控制更新的话,结合 shorebird_code_push 库进行自定义更新和重启
相关推荐
OldBirds41 分钟前
理解 Flutter Element 复用
flutter
xq95271 小时前
flutter 带你玩转flutter读取本地json并展示UI
flutter
hepherd5 小时前
Flutter - 原生交互 - 相机Camera - 01
flutter·ios·dart
ailinghao7 小时前
单例模式的类和静态方法的类的区别和使用场景
flutter·单例模式
爱意随风起风止意难平7 小时前
005 flutter基础,初始文件讲解(4)
学习·flutter
Jim-zf7 小时前
Flutter 嵌套H5 传参数
java·开发语言·flutter
WDeLiang7 小时前
Flutter - 原生交互 - 相机Camera - 01
flutter·ios·dart
OldBirds20 小时前
Key 和 State 的关系是什么?StatefulWidget 需要加 Key 吗?
flutter
OldBirds20 小时前
如何判断 Flutter 中 StatefulWidget 是否需要 Key?
flutter
90后的晨仔21 小时前
Android Studio 内置模拟器错误ERROR | Running multiple emulators with the same AVD xxx
flutter