-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Android SDK 3.4.5 - 2017.07.24更新 IOS SDK 2.2.6 - 2017.06.27更新 优化功能 统一安卓与iOS实现逻辑,都走cordova.fireDocumentEvent触发事件 增加等待队列,在JS初始化时统一回调,保证事件不丢失
- Loading branch information
Showing
13 changed files
with
182 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Change Log | ||
## 2.0.0 - 2017-09-07 | ||
### 升级版本 | ||
- Android SDK 3.4.5 - 2017.07.24更新 | ||
- IOS SDK 2.2.6 - 2017.06.27更新 | ||
|
||
### 优化功能 | ||
- 统一安卓与iOS实现逻辑,都走cordova.fireDocumentEvent触发事件 | ||
- 增加等待队列,在JS初始化时统一回调,保证事件不丢失 | ||
|
||
## 1.0.0 - 2017-03-28 | ||
### 增加功能 | ||
- 增加IOS实现 | ||
|
||
## 0.1.0 - 2016-08-29 | ||
### 增加功能 | ||
- 增加安卓实现 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
# Cordova MiPush Plugin | ||
|
||
[![release](https://img.shields.io/badge/release-0.1.0-blue.svg)](https://github.com/ParadiseHell/mipush-cordova-plugin) | ||
[![platforms](https://img.shields.io/badge/platforms-Android-lightgrey.svg)](https://github.com/ParadiseHell/mipush-cordova-plugin) | ||
[![release](https://img.shields.io/badge/release-0.1.0-blue.svg)](https://github.com/wenin819/cordova-plugin-mipush) | ||
[![platforms](https://img.shields.io/badge/platforms-Android-lightgrey.svg)](https://github.com/wenin819/cordova-plugin-mipush) | ||
|
||
支持Android、IOS的Cordova小米推送插件 | ||
|
||
## 集成步骤 | ||
|
||
- 通过 Cordova Plugins 安装,要求 Cordova CLI 5.0+: | ||
|
||
cordova plugin add mipush-cordova-plugin --variable MI_PUSH_APP_KEY=your_mipush_appkey --variable MI_PUSH_APP_ID=your_mipush_appid --variable MI_PUSH_APP_IOS_ID=your_mipush_appid --variable MI_PUSH_APP_IOS_KEY=your_mipush_appkey | ||
cordova plugin add cordova-plugin-mipush --variable MI_PUSH_APP_KEY=your_mipush_appkey --variable MI_PUSH_APP_ID=your_mipush_appid --variable MI_PUSH_APP_IOS_ID=your_mipush_appid --variable MI_PUSH_APP_IOS_KEY=your_mipush_appkey | ||
|
||
- 通过Url安装: | ||
|
||
cordova plugin add https://github.com/ParadiseHell/mipush-cordova-plugin.git --variable MI_PUSH_APP_KEY=your_mipush_appkey --variable MI_PUSH_APP_ID=your_mipush_appid --variable MI_PUSH_APP_IOS_ID=your_mipush_appid --variable MI_PUSH_APP_IOS_KEY=your_mipush_appkey | ||
cordova plugin add https://github.com/wenin819/cordova-plugin-mipush.git --variable MI_PUSH_APP_KEY=your_mipush_appkey --variable MI_PUSH_APP_ID=your_mipush_appid --variable MI_PUSH_APP_IOS_ID=your_mipush_appid --variable MI_PUSH_APP_IOS_KEY=your_mipush_appkey | ||
|
||
- 或者下载本地安装 | ||
|
||
|
@@ -65,9 +65,9 @@ Cordova CLI 的具体用法可参考 [Cordova CLI 官方文档](https://cordova. | |
## 感谢 | ||
|
||
- [极光推送cordova插件](https://github.com/jpush/jpush-phonegap-plugin) | ||
- [cordova小米推送插件 安卓版实现](https://github.com/ParadiseHell/mipush-cordova-plugin) | ||
|
||
|
||
## 更多 | ||
|
||
- 本项目参考极光推送cordova插件编写 | ||
- 若有问题,请发我邮件:[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,35 @@ | ||
{ | ||
"name": "mipush-cordova-plugin", | ||
"version": "1.0.2", | ||
"description": "Cordova MiPush Plugin", | ||
"name": "cordova-plugin-mipush", | ||
"version": "2.0.0", | ||
"description": "Cordova/Phonegap MiPush Plugin", | ||
"cordova": { | ||
"id": "cordova-plugin-mipush", | ||
"platforms": [ | ||
"android" | ||
"android", | ||
"ios" | ||
] | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/ParadiseHell/mipush-cordova-plugin.git" | ||
"url": "git+https://github.com/wenin819/cordova-plugin-mipush.git" | ||
}, | ||
"keywords": [ | ||
"cordova", | ||
"phonegap", | ||
"mipush", | ||
"ecosystem:cordova", | ||
"cordova-android" | ||
"cordova-android", | ||
"cordova-ios" | ||
], | ||
"engines": [ | ||
{ | ||
"name": "cordova", | ||
"version": ">=3.0" | ||
} | ||
], | ||
"author": "ChengTao", | ||
"author": "https://github.com/wenin819", | ||
"license": "Apache 2.0", | ||
"bugs": { | ||
"url": "https://github.com/ParadiseHell/mipush-cordova-plugin/issues" | ||
"url": "https://github.com/wenin819/cordova-plugin-mipush/issues" | ||
}, | ||
"homepage": "https://github.com/ParadiseHell/mipush-cordova-plugin#readme" | ||
"homepage": "https://github.com/wenin819/cordova-plugin-mipush#readme" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.