文件最后提交记录最后更新时间
fix:using_surface sample not use navdestination Co-authored-by: gyange<gyange@163.com> # message auto-generated for no-merge-commit merge: !2031 merge 0.82 into 0.82 fix:using_surface sample not use navdestination Created-by: gyange Commit-by: gyange Merged-by: openharmony_ci Description: <!-- 请在合并之前删除注释代码,以避免将其包含在GIT历史记录中 --> # 描述 <!-- 简要描述PR的目的,例如: 这条PR主要实现metro局域网内远程调试的功能. --> # 变更日志 <!-- 列出可包含在变更日志中的要点的主要变更。 不要列出内部更改。请以下列开头来写每个变更点: - added - fixed - deprecated - removed 如果是一条新增属性的变更,则以[added]开头,例如: - [added] FlatList组件新增inverted属性 --> # 测试步骤 <!-- 如何测试这条PR。例如: 1. 打开Tester工程. 2. 执行npm run start命令. ... --> # 合入前自检 <!-- 请在合入前根据以下条例进行自检 自检完成后在[ ]内填入"x", 例如: - [x] 不涉及非兼容性变更;若涉及,已通过相应评审。 --> - [ ] 不涉及非兼容性变更;若涉及,已通过相应评审。 - [x] 不涉及性能或已进行性能测试且无性能劣化。 - [x] 符合对应的编码规范。 - [ ] 不涉及文档更新,或已更新了文档。 - [ ] 针对可测试性要求,已增加必要的自测用例、合理的日志记录或Trace信息。 - [ ] 不存在非法的文件引入,包括图片和代码等 - [ ] 本PR已经在77分支开启PR或不需要在77分支合入 - 如需合入77分支,PR地址: See merge request: openharmony-sig/ohos_react_native!20314 个月前
docs(Docs):update samples update samples Signed-off-by: fangyygw <fang_zhen@hoperun.com> 7 天前
docs: Add sample project and docs Co-authored-by: zheng-jun-feng<949815885@qq.com> # message auto-generated for no-merge-commit merge: merge 0.77.1-rc.1-ohos into 0.77.1-rc.1-ohos docs: Add sample project and docs Created-by: zheng-jun-feng Commit-by: zheng-jun-feng Merged-by: huangyouhua Description: Port sample and doc to 77 branch See merge request: openharmony-sig/ohos_react_native!10041 年前
docs(Docs):0.84版本docs英文文档更新 更新英文文档内容到0.84版本 Signed-off-by: fangyygw <fang_zhen@hoperun.com> 4 天前
docs(Docs):0.84版本docs英文文档更新 更新英文文档内容到0.84版本 Signed-off-by: fangyygw <fang_zhen@hoperun.com> 4 天前
README.md

Description

This is a demo project using RNSurface.

Directory Structure

using_RNSurface
├── SampleProject RN project
└── SampleApp Native project

Environment Setup

  1. In the SampleProject/MainProject directory, run pnpm i to install dependencies, then run pnpm dev to generate the bundle.harmony.js;
  2. Open SampleApp in DevEco Studio and wait for the automatic project synchronization to complete (for manual synchronization, execute Sync and Refresh Project).
  3. Click File > Project Structure > Signing Configs, log in and complete the signing;
  4. Click run in the upper right corner of DevEco Studio to start the project;

NOTE: The project uses the latest RNOH dependencies by default during installation. If you need to install a specific version, please refer to RNOH Version Evolution Planning and Branch Strategy to get the version number.

npm dependency installation: npm i @react-native-oh/react-native-harmony@0.84.xx npm i --save-dev @react-native-oh/react-native-harmony-cli@0.84.xx

ohpm dependency installation: ohpm i @rnoh/react-native-openharmony@0.84.xx

Preview

The page effect after startup is as follows:

using_RNSurface Interface