diff --git a/README.md b/README.md index eff6e17..f9f970d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,17 @@ -l## JPush PhoneGap Plugin ## +## JPush PhoneGap Plugin ## + +jpush-phonegap-plugin 支持 iOS,Android 的推送插件。 + +**功能特性:** +>+ 发送推送通知 ++ 发送推送自定义消息 ++ 设置推送标签和别名 ++ 设置角标(iOS) + +*如需要 IM 功能插件,请关注[jmessage-phonegap-plugin](https://github.com/jpush/jmessage-phonegap-plugin)* +## 安装 ## ###准备工作 1. cordova create 文件夹名字 包名 应用名字 @@ -68,12 +79,6 @@ l## JPush PhoneGap Plugin ## 该项目基于cordova实现,目前无法使用'phonegap build'云服务进行打包,建议使用本地环境进行打包 -###常见错误 -1. androd - - eclipse中phonegap工程import之后出现:`Type CallbackContext cannot be resolved to a type` - 解决方案:eclipse中右键单击工程名,Build Path->Config Build Path->Projects->选中 工程名称-CordovaLib->点击 add - ### API说明 插件的API集中在JPushPlugin.js文件中,这个文件的位置如下 @@ -188,5 +193,20 @@ l## JPush PhoneGap Plugin ## [Android API详细说明](document/Android_detail_api.md) +###常见问题 + +####1. androd + + eclipse中phonegap工程import之后出现:`Type CallbackContext cannot be resolved to a type` + 解决方案:eclipse中右键单击工程名,Build Path->Config Build Path->Projects->选中 工程名称-CordovaLib->点击 add + +####2. iOS 设置/修改 APP_KEY + + 在PushConfig.plist 中修改。PushConfig.plist 其他值说明: + CHANNEL 渠道标识 + IsProduction 是否生产环境(暂未启用) + + + ###更多 [JPush官网文档](http://docs.jpush.io/) \ No newline at end of file diff --git a/example/index.html b/example/index.html index 4ca50d4..28a093a 100644 --- a/example/index.html +++ b/example/index.html @@ -1,210 +1,224 @@ - - -
- -