docs: document native host APIs available since v10.57.0 - #38
Conversation
✅ Deploy Preview for pushy-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe PR adds documentation for native hot-update checks on Android, iOS, and HarmonyOS. It defines prerequisites, APIs, result statuses, per-process update-round behavior, activation timing, configuration limits, and verification steps. The documentation sidebar links to the new page. ChangesNative API documentation
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~15 minutes Change: Other Merge Risk: ⚪ Minimal · up to The documentation and sidebar change have no remaining identified merge-blocking risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
配套版本
SDK PR reactnativecn/react-native-update#641 已合并。原生配置与主动检查功能已随 react-native-update v10.57.0 发布到 npm,且已验证 registry latest 和发布包中的原生接口及 Harmony HAR。
发布说明:https://github.com/reactnativecn/react-native-update/releases/tag/v10.57.0
文档内容
site/pages/docs/native-api.mdx:原生 configure → 正常启动 bundle 解析 → checkAndUpdate 的完整顺序,以及 Java/Kotlin、Objective-C/Swift、HarmonyOS ArkTS 示例。site/pages/docs/api.mdx:nativeConfigSource 版本要求及原生指南入口;原有 disableNativeCheck 的 v10.52.1+ 说明保持不变。验证
Node 24 下站点生产构建和文档索引生成通过,已验证 native-api HTML 中包含 v10.57.0 版本要求和 nativeConfigSource:
https://github.com/reactnativecn/pushy-site/actions/runs/35415991538
临时验证 workflow 已删除。最终差异仅包含原生指南、API 参考及侧栏。合并后由现有 GitHub Pages 工作流部署。