Skip to content

[Gradual Migration] Add a Flutter host preview and CI - #647

Open
colorcard wants to merge 21 commits into
mainfrom
codex/flutter-native-host
Open

colorcard wants to merge 21 commits into
mainfrom
codex/flutter-native-host

Conversation

@colorcard

@colorcard colorcard commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

评审范围

这是 #596 的 Flutter 开发预览阶段。macOS arm64 播放页复用 #605 的共享启动路由,以及 #606 经 #658 合入的原生会话。预览覆盖 ONScripterYuri 和 AliceSoft System 1–3。iOS 和 Android 提供游戏库与设置的界面预览,移动端游戏导入和播放分批接入。

提交更新

  • 游戏库。新增游戏详情与重命名。重新导入同一目录时保留自定义名称和游玩记录。 游戏详情提交
  • 设置。主题、背景效果和语言即时生效并自动保存。设置与游戏库写入依次处理,保存失败可重试。加入 QQ 群、Telegram 和 Apple 平台的 App Store 评分入口,打不开时可以复制链接,入口字号与设置分类一致。 自动保存提交 · 社区入口提交
  • 移动端 Runner。iOS 26 预览包含液态玻璃底栏、横屏侧栏和标准侧滑返回,模拟器可用于本地预览。Android 新增独立 Runner,并接入设置持久化和社区链接。 iOS Runner 提交 · Android Runner 提交
  • 三端构建。Flutter Host 固定 Flutter 3.41.6。macOS 保留分析、组件测试和播放冒烟,上传 arm64 应用 ZIP。iOS 构建真机目标并上传未签名 IPA。Android 构建并上传调试 APK。macOS 应用在播放测试重建前归档。 三端构建提交 · macOS 归档提交

与 Godot 的边界

Godot 应用、构建发布流程、Provider 和 ABI 沿用主线实现。共享 Native Host 的动态库选项由 Flutter 的独立构建启用,Godot 继续使用默认静态配置。

验证状态

  • 本地 Flutter 静态分析与 6 项组件测试通过。覆盖重命名保留游玩历史、设置和游戏库并行写入、失败重试、社区链接以及 iOS 侧滑返回。
  • 本地 iOS 真机目标构建和未签名 IPA 打包通过。
  • 截至送审,最新 Flutter Host CI 的 Android 构建通过并上传 APK,macOS 正在运行,iOS 真机任务排队中。 本轮三端 CI
  • 此前 macOS CI 已验证 ONS 和 System 1–3 的导入、出帧、暂停恢复、退出和重开。 此前的 macOS CI

本地构建与集成测试说明

(cherry picked from commit 56b99efe2adf1857e4866876563f2d1117b27469)
(cherry picked from commit f6eb8045a26d8dcd74a8270cee9393c40803742a)
(cherry picked from commit 0ef37573b75275ed8336490489f323bf038ee7e3)
(cherry picked from commit 72e7b998e3afc8419cd799c4283ee45c75419a01)
Serialize preference and library writes on the Flutter shell document. Keep the latest appearance active across navigation and allow retrying a failed save.
@colorcard
colorcard changed the base branch from codex/multi-runtime-native-sessions to main December 2, 2026 11:01
@colorcard
colorcard marked this pull request as ready for review December 2, 2026 11:24

MadCcc commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

On 7ba42c54, the Flutter iOS device job fails during Xcode build: the log shows IPHONEOS_DEPLOYMENT_TARGET = 13.0 in both Runner.xcodeproj and generated Pods.xcodeproj, but this runner reports a supported range starting at 15.0. The Podfile’s platform :ios, '13.0' is also commented out. Could we align Runner and the generated Pods settings to the intended minimum before rerunning? If iOS 13 support is intentional, please verify it with a compatible Xcode rather than silently raising the app’s minimum.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants