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 库进行自定义更新和重启
相关推荐
小严家21 小时前
Flutter完整开发指南 | Flutter&Dart – The Complete Guide
开发语言·flutter
倾云鹤1 天前
flutter实现Function Call
flutter·llm·function call
程序员老刘·1 天前
Flutter版本选择指南:避坑3.27 | 2025年9月
flutter·跨平台开发·客户端开发
懒得不想起名字1 天前
Flutter二维码的生成和扫描
flutter
鹏多多2 天前
flutter-详解控制组件显示的两种方式Offstage与Visibility
前端·flutter
猪哥帅过吴彦祖2 天前
Flutter 系列教程:常用基础组件 (上) - `Text`, `Image`, `Icon`, `Button`
android·flutter·ios
恋猫de小郭2 天前
Fluttercon EU 2025 :Let's go far with Flutter
android·前端·flutter
小李飞刀李寻欢2 天前
flutter 详细解读
flutter
QQ12958455043 天前
错误解决:Flutter找不到合适的Visual Studio 工具链
flutter·visual studio