Skip to content

Commit 0903b58

Browse files
committed
Update DOC
1 parent f0dc403 commit 0903b58

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,25 @@
4242
cordova plugin add Your_Plugin_Path --variable APP_KEY=your_jpush_appkey
4343
```
4444

45-
- 需要同时动态配置 Android 的 JPUSH_CHANNEL 参数(v3.6.0+):
45+
- 如果需要同时动态配置 Android 的 JPUSH_CHANNEL 参数(v3.6.0+):
4646

4747
```shell
4848
cordova plugin add jpush-phonegap-plugin --variable APP_KEY=your_jpush_appkey --variable CHANNEL=your_channel
4949
```
5050

51+
### 参数
52+
53+
- APP_KEY: 必须设置,JPush 上注册的包名对应的 Appkey
54+
55+
```shell
56+
--variable APP_KEY=your_jpush_appkey
57+
```
58+
59+
- CHANNEL: 可以不设置,是为了方便开发者统计 APK 分发渠道,默认为 developer-default
60+
61+
```shell
62+
--variable CHANNEL=your_channel
63+
```
5164

5265
### Ionic
5366

0 commit comments

Comments
 (0)