文件最后提交记录最后更新时间
[feat]: Use REAL_PATH to resolve absolute paths, shortening command lines and preventing "command too long" errors. Co-authored-by: jarayard<694161290@qq.com> # message auto-generated for no-merge-commit merge: merge master into master [feat]: Use REAL_PATH to resolve absolute paths, shortening command lines and preventing "command too long" errors. Created-by: jarayard Commit-by: jarayard Merged-by: huangyouhua Description: ## Description Use REAL_PATH to resolve absolute paths, shortening command lines and preventing "command too long" errors. ## Checklist - [x] Does not involve incompatible changes; if involved, has been reviewed accordingly. - [x] Does not impact performance, or performance testing has been conducted without degradation. - [x] Complies with the relevant coding standards. - [x] Does not involve documentation updates, or the documentation has been updated. - [x] Meets testability requirements with necessary self-test cases, appropriate logging, or trace information added. - [x] No illegal file inclusions exist, such as images or code. See merge request: openharmony-sig/ohos_react_native!128110 个月前
fix: version in release note & node version Co-authored-by: gyange<gyange@163.com> # message auto-generated for no-merge-commit merge: !2076 merge master into master fix: version in release note & node version 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] 不涉及性能或已进行性能测试且无性能劣化。 - [x] 符合对应的编码规范。 - [x] 不涉及文档更新,或已更新了文档。 - [ ] 针对可测试性要求,已增加必要的自测用例、合理的日志记录或Trace信息。 - [ ] 不存在非法的文件引入,包括图片和代码等 - [ ] 本PR已经在77分支开启PR或不需要在77分支合入 - 如需合入77分支,PR地址: See merge request: openharmony-sig/ohos_react_native!20764 个月前
add the Copyright-Notice for HUAWEI Signed-off-by: 木叶纷下 <694161290@qq.com>1 年前
Sample运行效果问题修改 Signed-off-by: 谢代荣 <xiedairong@huawei.com> 1 年前
[doc]: Add the step of obtaining the signature before executing run. Co-authored-by: jarayard<694161290@qq.com> # message auto-generated for no-merge-commit merge: merge master into master [doc]: Add the step of obtaining the signature before executing run. Created-by: jarayard Commit-by: jarayard Merged-by: huangyouhua Description: ## Description Add the step of obtaining the signature before executing run. ## Checklist - [x] Does not involve incompatible changes; if involved, has been reviewed accordingly. - [x] Does not impact performance, or performance testing has been conducted without degradation. - [x] Complies with the relevant coding standards. - [ ] Does not involve documentation updates, or the documentation has been updated. - [x] Meets testability requirements with necessary self-test cases, appropriate logging, or trace information added. - [x] No illegal file inclusions exist, such as images or code. See merge request: openharmony-sig/ohos_react_native!116311 个月前
[doc]: Add the step of obtaining the signature before executing run. Co-authored-by: jarayard<694161290@qq.com> # message auto-generated for no-merge-commit merge: merge master into master [doc]: Add the step of obtaining the signature before executing run. Created-by: jarayard Commit-by: jarayard Merged-by: huangyouhua Description: ## Description Add the step of obtaining the signature before executing run. ## Checklist - [x] Does not involve incompatible changes; if involved, has been reviewed accordingly. - [x] Does not impact performance, or performance testing has been conducted without degradation. - [x] Complies with the relevant coding standards. - [ ] Does not involve documentation updates, or the documentation has been updated. - [x] Meets testability requirements with necessary self-test cases, appropriate logging, or trace information added. - [x] No illegal file inclusions exist, such as images or code. See merge request: openharmony-sig/ohos_react_native!116311 个月前
README.md

Description

This is a demo project for creating custom Fabric components (including CAPI and ArkTS components).

Directory Structure

FabricComponentSample
├── ReactProject Front-end project
├── fabric-component-sample-package RN third-party component (custom Fabric component)
├── NativeProject OpenHarmony project
├── react-native-harmony RN OpenHarmony bundle
├── react-native-harmony-cli RN OpenHarmony scaffolding
└── README.md

Environment Setup

  1. Save rnoh-react-native-harmony-xx.tgz to the react-native-harmony folder and modify the react-native-harmony dependency path of ReactProject/package.json.
  2. Save rnoh-react-native-harmony-cli-xx.tgz to the react-native-harmony-cli folder.
  3. Run npm pack in fabric-component-sample-package to generate a .tgz file.
  4. Save react_native_openharmony-xxx.har to the NativeProject/libs folder and modify the dependency paths of NativeProject/oh-package.json5 and NativeProject/entry/oh-package.json5.
  5. Open NativeProject in DevEco Studio and run Sync and Refresh Project.
  6. Run npm i in ReactProject to install the dependency, run npm run dev to generate the bundle file, and run npm start to start Metro.
  7. Go back to DevEco Studio and click File > Project Structure > Signing Configs, log in and complete the signing.
  8. Click run in the upper right corner to start the project.
  9. If Metro is started, run hdc rport tcp:8081 tcp:8081 to forward port 8081, and then restart the application on the mobile phone.