Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
lhw5123 committed Apr 17, 2017
2 parents 4b5b49a + ef37db2 commit 65a1030
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# JMessage PhoneGap / Cordova Plugin

[![release](https://img.shields.io/badge/release-2.3.0-blue.svg)](https://github.com/jpush/jmessage-phonegap-plugin/releases)
[![release](https://img.shields.io/badge/release-2.3.3-blue.svg)](https://github.com/jpush/jmessage-phonegap-plugin/releases)
[![platforms](https://img.shields.io/badge/platforms-iOS%7CAndroid-lightgrey.svg)](https://github.com/jpush/jmessage-phonegap-plugin)
[![QQ Group](https://img.shields.io/badge/QQ%20Group-413602425-red.svg)](https://github.com/jpush/jmessage-phonegap-plugin)
[![weibo](https://img.shields.io/badge/weibo-JPush-blue.svg)](http://weibo.com/jpush?refer_flag=1001030101_&is_all=1)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jmessage-phonegap-plugin",
"version": "2.3.2",
"version": "2.3.3",
"description": "JMessage Cordova Plugin.",
"cordova": {
"id": "jmessage-phonegap-plugin",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="jmessage-phonegap-plugin"
version="2.3.2">
version="2.3.3">

<name>JMessage</name>
<description>集成极光 IM 和推送功能</description>
Expand Down
3 changes: 1 addition & 2 deletions src/android/JMessagePlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -927,8 +927,7 @@ public void sendSingleCustomMessage(JSONArray data, final CallbackContext callba
value = values.getString(key);
valuesMap.put(key, value);
}
final Message msg = JMessageClient.createSingleCustomMessage(userName,
valuesMap);
final Message msg = JMessageClient.createSingleCustomMessage(userName, appKey, valuesMap);
msg.setOnSendCompleteCallback(new BasicCallback() {
@Override
public void gotResult(int status, String desc) {
Expand Down

0 comments on commit 65a1030

Please sign in to comment.