mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-19 13:52:49 +08:00
Update DOC
This commit is contained in:
parent
f0dc403ca8
commit
0903b58270
15
README.md
15
README.md
@ -42,12 +42,25 @@
|
||||
cordova plugin add Your_Plugin_Path --variable APP_KEY=your_jpush_appkey
|
||||
```
|
||||
|
||||
- 需要同时动态配置 Android 的 JPUSH_CHANNEL 参数(v3.6.0+):
|
||||
- 如果需要同时动态配置 Android 的 JPUSH_CHANNEL 参数(v3.6.0+):
|
||||
|
||||
```shell
|
||||
cordova plugin add jpush-phonegap-plugin --variable APP_KEY=your_jpush_appkey --variable CHANNEL=your_channel
|
||||
```
|
||||
|
||||
### 参数
|
||||
|
||||
- APP_KEY: 必须设置,JPush 上注册的包名对应的 Appkey
|
||||
|
||||
```shell
|
||||
--variable APP_KEY=your_jpush_appkey
|
||||
```
|
||||
|
||||
- CHANNEL: 可以不设置,是为了方便开发者统计 APK 分发渠道,默认为 developer-default
|
||||
|
||||
```shell
|
||||
--variable CHANNEL=your_channel
|
||||
```
|
||||
|
||||
### Ionic
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user