File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 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
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:
You can’t perform that action at this time.
0 commit comments