Skip to content

Commit 5a8a926

Browse files
committed
Update DOC
1 parent 0903b58 commit 5a8a926

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@
4242
cordova plugin add Your_Plugin_Path --variable APP_KEY=your_jpush_appkey
4343
```
4444

45-
- 如果需要同时动态配置 Android 的 JPUSH_CHANNEL 参数(v3.6.0+):
46-
47-
```shell
48-
cordova plugin add jpush-phonegap-plugin --variable APP_KEY=your_jpush_appkey --variable CHANNEL=your_channel
49-
```
5045

5146
### 参数
5247

@@ -56,12 +51,18 @@
5651
--variable APP_KEY=your_jpush_appkey
5752
```
5853

59-
- CHANNEL: 可以不设置,是为了方便开发者统计 APK 分发渠道,默认为 developer-default
54+
- CHANNEL: 可以不设置,v3.6.0+ 版本开始支持(Android Only),方便开发者统计 APK 分发渠道,默认为 developer-default.
6055

6156
```shell
6257
--variable CHANNEL=your_channel
6358
```
6459

60+
- 同时动态配置 APP_KEY 和 CHANNEL 示例
61+
62+
```shell
63+
cordova plugin add jpush-phonegap-plugin --variable APP_KEY=your_jpush_appkey --variable CHANNEL=your_channel
64+
```
65+
6566
### Ionic
6667

6768
如果使用了 Ionic,可以再安装 @jiguang-ionic/jpush 包,适配 ionic-native:

0 commit comments

Comments
 (0)