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 库进行自定义更新和重启
相关推荐
君赏3 小时前
FlutterPatch:把 Shorebird 热更新的控制面搬回自己服务器
flutter
用户2181697049306 小时前
Flutter tootip 轻量级提示
flutter
用户2181697049307 小时前
Flutter 拖拽 Draggable DragTarget
flutter
yume_sibai7 小时前
05-Flutter实战项目
前端·flutter
传奇开心果编程8 小时前
【Flutter入门练中学】第1课:从零开始
学习·flutter·ui
用户2181697049301 天前
Flutter ClipPath
flutter
用户2181697049301 天前
Flutter 折叠组件 ExpansionTile ExpansionPanelList
flutter
不羁的木木2 天前
给鸿蒙 App 增加用系统应用打开文件的能力 —— open_app_file 的鸿蒙使用指南
flutter·harmonyos
HouWan2 天前
Flutter: MediaQuery.of(context) 为什么可能拖慢页面?
android·flutter·ios