• Joined on 2026-05-02
wangdl closed issue wangdl/ios-projects#120 2026-06-12 21:41:42 +08:00
IOS-INFO-012:Rust Event → UploadItem 映射
wangdl closed issue wangdl/ios-projects#127 2026-06-12 21:41:42 +08:00
IOS-INFO-039:Runtime 启动恢复、stale events 重载与异常 session 恢复
wangdl closed issue wangdl/ios-projects#113 2026-06-12 21:41:41 +08:00
IOS-INFO-005:接入 document runtime V2 FFI
wangdl closed issue wangdl/ios-projects#114 2026-06-12 21:41:41 +08:00
IOS-INFO-006:ReadingRuntimeSessionManager
wangdl closed issue wangdl/ios-projects#115 2026-06-12 21:41:41 +08:00
IOS-INFO-007:MaterialReaderView 生命周期事件恢复
wangdl closed issue wangdl/ios-projects#116 2026-06-12 21:41:41 +08:00
IOS-INFO-008:Heartbeat Timer / pause / resume / close
wangdl closed issue wangdl/ios-projects#117 2026-06-12 21:41:41 +08:00
IOS-INFO-009:阅读位置采集适配器
wangdl closed issue wangdl/ios-projects#118 2026-06-12 21:41:41 +08:00
IOS-INFO-010:MarkedAsRead Runtime 事件接入
wangdl commented on issue wangdl/ios-projects#121 2026-06-12 21:41:35 +08:00
IOS-INFO-013:本地 ReadingEventUploadQueue

开发完成评论

完成内容

  • ReadingEventQueueItem 结构增强:
    • 新增 userId: String — 用户隔离
    • 新增 nextRetryAt: Date? — 重试调度
    • 状态重命名…
wangdl commented on issue wangdl/ios-projects#120 2026-06-12 21:38:57 +08:00
IOS-INFO-012:Rust Event → UploadItem 映射

开发完成评论

完成内容

  • ReadingEventMapper 重构为使用 AppContext(IOS-INFO-038):
    • map()mapOne() 参数从 appVersion: String 改为 `appContext:…
wangdl commented on issue wangdl/ios-projects#119 2026-06-12 21:35:06 +08:00
IOS-INFO-011:Rust Event export → 本地队列 → ack

开发完成评论

完成内容

修正 ack 时机(核心修复):

  • exportAndEnqueue() 改为:Rust export → map → enqueue 本地队列成功后立即 ack
    • 不等…
wangdl commented on issue wangdl/ios-projects#118 2026-06-12 21:29:15 +08:00
IOS-INFO-010:MarkedAsRead Runtime 事件接入

开发完成评论

完成内容

  • MarkedAsRead 已在多个层次完整实现:
    • UI 层:MaterialReaderView.markAsRead() + isMarkedRead 幂等 guard + V2/V1 分支
    • Session…
wangdl commented on issue wangdl/ios-projects#117 2026-06-12 21:26:25 +08:00
IOS-INFO-009:阅读位置采集适配器

开发完成评论

完成内容

  • ReadingPositionAdapter 已有完整实现,本次补全测试覆盖:
    • 5 种材料类型 position 生成:PDF(pageNumber/pageProgress/overall)…
wangdl commented on issue wangdl/ios-projects#116 2026-06-12 21:23:06 +08:00
IOS-INFO-008:Heartbeat Timer / pause / resume / close

开发完成评论

完成内容

  • Heartbeat Timer 已在 ReadingRuntimeSessionManager 中完整实现:
    • startHeartbeat(interval: 15)Timer.scheduledTimer 每 15s tick -…
wangdl commented on issue wangdl/ios-projects#115 2026-06-12 21:20:30 +08:00
IOS-INFO-007:MaterialReaderView 生命周期事件恢复

开发完成评论

完成内容

  • MaterialReaderView 添加 @Environment(\.scenePhase) + .onChange(of: scenePhase)
    • .backgroundsessionManager.pause() + `exportAndEnqueu…
wangdl commented on issue wangdl/ios-projects#114 2026-06-12 21:15:07 +08:00
IOS-INFO-006:ReadingRuntimeSessionManager

开发完成评论

完成内容

  • 状态机扩展:idle → opening → active → closing → closed + paused + failed(Error)
    • opening 过渡态:startSession 成功前 -…
wangdl commented on issue wangdl/ios-projects#127 2026-06-12 21:13:01 +08:00
IOS-INFO-039:Runtime 启动恢复、stale events 重载与异常 session 恢复

开发完成评论

完成内容

  • 新建 Core/Services/RuntimeRecoveryService.swift(57 行):
    • run(adapter:) — 完整恢复流程入口
    • Step 1: `adapter.reloadStaleEvents(…
wangdl commented on issue wangdl/ios-projects#113 2026-06-12 21:09:52 +08:00
IOS-INFO-005:接入 document runtime V2 FFI

开发完成评论

完成内容

  • 新增 RuntimeError 枚举(Core/Services/ReadingRuntimeAdapter.swift):
    • .document(DocumentError) — 包装 UniFFI Rust 错误 -…
wangdl closed issue wangdl/ios-projects#111 2026-06-12 21:09:05 +08:00
IOS-INFO-003:定义 ReadingRuntimeAdapter 协议
wangdl closed issue wangdl/ios-projects#112 2026-06-12 21:09:05 +08:00
IOS-INFO-004:V1 ReadingEventCollector 断链修复与兼容层