refactor: update README and project structure for native integration and OHOS support
- Enhanced README to clarify native integration methods for Android/iOS and OHOS. - Updated project structure documentation to reflect changes in native capabilities and dependencies. - Revised native integration documentation to specify transport methods for Android/iOS and OHOS. - Documented the current implementation strategy for OHOS, emphasizing the use of MethodChannel for ArkTS. - Adjusted SDK versioning notes to clarify the separation between Android/iOS and OHOS SDKs.
This commit is contained in:
@@ -16,7 +16,7 @@ Flutter APP 的分包、分层、技术选型等决策记录,按序号阅读
|
||||
| [04-routing.md](./flutter-app/04-routing.md) | 路由方案(go_router) |
|
||||
| [05-networking.md](./flutter-app/05-networking.md) | 网络层设计(dio) |
|
||||
| [06-local-storage.md](./flutter-app/06-local-storage.md) | 本地存储方案(Drift / secure storage / shared_preferences) |
|
||||
| [07-native-integration.md](./flutter-app/07-native-integration.md) | 原生能力集成方式(Pigeon) |
|
||||
| [07-native-integration.md](./flutter-app/07-native-integration.md) | 原生能力集成方式(Android/iOS Pigeon;OHOS 宿主 MethodChannel) |
|
||||
| [08-build-flavors.md](./flutter-app/08-build-flavors.md) | 多环境构建(dev/uat/prod flavor) |
|
||||
| [09-testing.md](./flutter-app/09-testing.md) | 测试策略(单元/Widget/集成测试) |
|
||||
| [10-webview-h5.md](./flutter-app/10-webview-h5.md) | Embedded H5 容器与 JSBridge(PRD 第 7 章核心链路) |
|
||||
@@ -25,7 +25,7 @@ Flutter APP 的分包、分层、技术选型等决策记录,按序号阅读
|
||||
| [13-observability-analytics.md](./flutter-app/13-observability-analytics.md) | 可观测性与埋点(Bugly 崩溃上报、神策埋点与错误看板、日志脱敏) |
|
||||
| [14-conventions-and-ci-gates.md](./flutter-app/14-conventions-and-ci-gates.md) | 工程规范与 CI 门禁(lint、格式化、分支、流水线卡点) |
|
||||
|
||||
首版范围为 **Android / iOS**,鸿蒙 OHOS 不在首版内(但 SDK 基线锁 3.44.9 是为后续 OHOS 适配留窗口,见 01 和 07)。
|
||||
首版正式交付范围仍为 **Android / iOS**。`harmony` 分支已用 Flutter_OH 完成 OHOS debug HAP 编译验证,但这不是生产可用结论;运行、Dart/ArkTS 桥接、相机扫码和真机验收仍须按 [07](./flutter-app/07-native-integration.md) 与 POC 的 Gate 完成。
|
||||
|
||||
### Architecture-Diagram/
|
||||
|
||||
@@ -107,6 +107,14 @@ V1.1 相对 V1.0 的主要变化:第 4 章拆分到 [`prd/modules/`](./prd/mod
|
||||
| [backend/11-cross-domain-collaboration.md](./backend/11-cross-domain-collaboration.md) | 跨域协作与聚合(契约模块、领域事件、并行 fan-out 与局部降级) |
|
||||
| [backend/12-concurrency-and-scheduling.md](./backend/12-concurrency-and-scheduling.md) | 并发、事务与定时任务(事务边界、幂等、乐观锁、ShedLock、本地缓存) |
|
||||
|
||||
### POC/
|
||||
|
||||
跨平台与工程可行性验证的实施方案、过程证据和最终结论。POC 开始前先冻结范围和验收标准,实施期间持续回写结果:
|
||||
|
||||
| 文档 | 内容 |
|
||||
| --- | --- |
|
||||
| [POC/Flutter-OH-POC.md](./POC/Flutter-OH-POC.md) | Flutter_OH(OpenHarmony)适配 POC 的可执行 Runbook 与持续更新型验证报告。已记录 OHOS 工程生成及 debug HAP 构建通过;后续覆盖运行、业务闭环、H5/JSBridge、Dart/ArkTS 宿主桥接、风险台账和真机验收。**本轮无真机,结论最高为 Conditional Go。** |
|
||||
|
||||
### tech-selection/
|
||||
|
||||
技术选型说明材料。**前两份对外**,写给客户方,可直接作为会议材料使用;**第三份是内部讲稿,不外发**:
|
||||
|
||||
Reference in New Issue
Block a user