文件最后提交记录最后更新时间
doc: upgrade samples Co-authored-by: linhandev<hanlin21@huawei.com> # message auto-generated for no-merge-commit merge: merge sample-upgrade into 0.77.1-rc.1-ohos doc: upgrade samples Created-by: linhandev Commit-by: linhandev Merged-by: huangyouhua Description: ## Why are these changes being made? Upgrade sample projects to 77 ## Changelog - added sample projects using rnoh 77 ## Test Plan Build and run all the samples ## Checklist - [x] pnpm verify command has passed successfully. - [x] No failures occurred in automatic tests on the CONCURRENT TESTER page in the tester app. - [x] No failures occurred in automatic tests on the SEQUENTIAL TESTER page in the tester app. - [x] MR does not include a breaking change or a review has been requested from a Huawei reviewer. See merge request: openharmony-sig/ohos_react_native!126010 个月前
[chore]: updated to version 6.1.0.370(0.82.21) Signed-off-by: dengjiangtao <1442949715@qq.com> 2 个月前
[chore]: updated to version 6.1.0.370(0.82.21) Signed-off-by: dengjiangtao <1442949715@qq.com> 2 个月前
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 年前
[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 0.77.1-rc.1-ohos into 0.77.1-rc.1-ohos [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!116411 个月前
[docs](Docs):0.84版本docs文档更新 更新文档内容到0.84版本 Signed-off-by: fangyygw <fang_zhen@hoperun.com> 19 天前
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.