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
- Run pnpm pack in the
third-party-library-sampledirectory to package the library; - Execute pnpm i in the
ReactProjectdirectory to install dependencies, then run pnpm dev to generate the bundle.harmony.js bundle file; - Open
NativeProjectwith DevEco Studio, and wait for the automatic project synchronization to complete (for manual synchronization, execute Sync and Refresh Project); - Navigate to File > Project Structure > Signing Configs, log in and complete the signature configuration;
- Click run in the upper right corner to start the project.