3
0
mirror of https://github.com/jpush/jpush-phonegap-plugin.git synced 2025-03-02 12:22:49 +08:00
jpush-phonegap-plugin/README.md
2013-10-18 11:16:57 +08:00

31 lines
591 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## JPush PhoneGap Plugin ##
### Installation ###
1.使用 phonegap 或者 cordova cli 添加插件:
`cordova plugin add https://github.com/jpush/jpush-phonegap-plugin.git`
2.修改www/config.xml文件添加或者覆盖以下字段
###Android 手工安装###
1.复制src/android/*.java 到cn/jpush/phonega/目录下(即cn.jpush.phonegap的包下)
2.复制src/android/ .so
3.复制 .jar
4.复制 .xml
5.复制 .png
6.修改AndroidManifest.xml 在manifest节点下添加以下权限
7.修改AndroidManifest.xml 在manifest/application节点下添加SDK相关组件声明