Description

This is the demo project for RNOH Autolinking.

Directory Structure

AutolinkingSample
├── NativeProject harmony工程
├── react-native-oh RNOH前端及手脚架
├── ReactProject 前端工程
├── screenshots 效果图
├── third-party-library-sample RN三方件示例
└── README.md

Environment Setup

  1. Run pnpm pack in the third-party-library-sample directory to package the library;
  2. Execute pnpm i in the ReactProject directory to install dependencies, then run pnpm dev to generate the bundle.harmony.js bundle file;
  3. Open NativeProject with DevEco Studio, and wait for the automatic project synchronization to complete (for manual synchronization, execute Sync and Refresh Project);
  4. Navigate to File > Project Structure > Signing Configs, log in and complete the signature configuration;
  5. Click run in the upper right corner to start the project.