mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-07 20:55:14 +08:00

* fix harmony more than 2M issue * fix mtpush-react-native conflics * update harmony remote dependency flow * udpate * udpate * udpate * udpate * udpate * update * uddate * udpapte
20 lines
734 B
Markdown
20 lines
734 B
Markdown
## 运行harmony_use_pushy项目步骤
|
||
|
||
### 1. 在项目根目录执行下面命令安装第三方依赖。
|
||
```
|
||
yarn install
|
||
```
|
||
|
||
### 2. 在项目根目录执行下面命令生成bundle包文件。
|
||
```
|
||
yarn build
|
||
```
|
||
说明:这个命令会在harmony/entry/src/main/resources/rawfile目录生成Hbundle.harmony.js和assets文件,同时会基于该内容在.pushy/output目录生成ppk包。
|
||
|
||
**注意⚠️**:在使用pushy bundle --platform harmony命令进行打包的默认bundle包名是Hbundle.harmony.js,不要随意修改包名,因为diff是匹配该包名进行生成的。
|
||
|
||
### 3. 使用DevEco Studio IDE打开harmony目录然后执行sync运行项目
|
||

|
||
|
||
### 4 运行效果图
|
||
 |