讨论:iOS 系统文件分享入口的原生冷更确认
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 401
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
支持从 iOS「文件」或照片的系统分享面板选择 Cindy,将文件加入新任务的附件托盘。
本功能必须新增 Share Extension target 和 App Group,无法仅通过 JS/OTA 让 Cindy 出现在系统分享面板。同名文件以独立 UUID 目录交接,避免相互覆盖。
按 `docs/dev-rules/mobile-development.md` 冷更边界,本项需要指定把关人明确确认冷更后再放行 PR。目的:补齐外部应用向 Cindy 交付文件的入口。建议随下一次计划中的原生版本一起发布。
同一环境下对比最新 main 与本改动:iOS、Android runtime fingerprint 均变化(Android 未开启接收分享,只受公共配置指纹影响)。旧包仍能运行,但无法接收新 runtime 的 OTA,需安装匹配的新包后继续更新。
已完成相关单测、Mobile 全量 5528 项测试、类型检查、scope 检查、Expo prebuild 和 Share Extension arm64/x86_64 编译。尚待签名真机验证 Files/Photos 分享面板、冷启动和登录后交接;未完成这项验收前不宣称已可上线。
Contributor guide
Research direction
Read docs/dev-rules/mobile-development.md first, then inspect the Share Extension target and App Group handoff described in the issue. Verify the completed tests, type and scope checks, Expo prebuild, and arm64/x86_64 builds before focusing on signed-device validation from Files and Photos, including cold start and post-login handoff. Done means that validation passes and the required native release confirmation is recorded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native, typescript
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100