From a1cef0866c7e3abe4373fb5f0c4a6e8763fa0442 Mon Sep 17 00:00:00 2001 From: Hevin <328066446@qq.com> Date: Fri, 8 Apr 2016 10:18:34 +0800 Subject: [PATCH] update README.md support add plugin via cordova plugins --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f20ab7d..5a65a37 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,13 @@ JPush-PhoneGap-Plugin 支持 iOS, Android 的推送插件。 方法一:在线安装 - cordova plugin add https://github.com/jpush/jpush-phonegap-plugin.git --variable API_KEY=your_jpush_appkey +通过 cordova plugins 安装,要求 phonegap/cordova CLI 5.0+ (current stable v2.1.1) + + cordova plugin add jpush-phonegap-plugin --variable API_KEY=your_jpush_appkey + +直接通过 url 安装(unstable) + + cordova plugin add https://github.com/jpush/jpush-phonegap-plugin.git --variable API_KEY=your_jpush_appkey 方法二:下载到本地再安装