mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-02-01 06:52:50 +08:00
Update ionic install script
This commit is contained in:
parent
d628cc168b
commit
5301a2c5ea
@ -36,7 +36,7 @@
|
|||||||
如果使用了 Ionic,可以再安装 @jiguang-ionic/jpush 包,适配 ionic-native:
|
如果使用了 Ionic,可以再安装 @jiguang-ionic/jpush 包,适配 ionic-native:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
npm install @jiguang-ionic/jpush --save
|
npm install --save @jiguang-ionic/jpush
|
||||||
```
|
```
|
||||||
|
|
||||||
然后在 *app.module.ts* 中增加:
|
然后在 *app.module.ts* 中增加:
|
||||||
@ -51,7 +51,7 @@ import { JPush } from '@jiguang-ionic/jpush';
|
|||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
具体可参考 ./ionic/example 中的文件。
|
具体可参考 ./ionic/example 中的文件。
|
||||||
|
|
||||||
> 在使用 Xcode 8 调试 iOS 项目时,需要先在项目配置界面的 Capabilities 中打开 Push Notifications 开关。
|
> 在使用 Xcode 8 调试 iOS 项目时,需要先在项目配置界面的 Capabilities 中打开 Push Notifications 开关。
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user