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 6, 2017
2 parents c830746 + 4f91d1a commit 5fbc82f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
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.0",
"version": "2.3.1",
"description": "JMessage Cordova Plugin.",
"cordova": {
"id": "jmessage-phonegap-plugin",
Expand Down
6 changes: 3 additions & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<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.0">
version="2.3.1">

<name>JMessage PhoneGap Plugin</name>
<name>JMessage</name>
<description>集成极光 IM 和推送功能</description>
<author>JPush</author>
<keywords>JMessage, JPush</keywords>
Expand Down Expand Up @@ -159,7 +159,7 @@
</config-file>

<source-file src="src/android/libs/gson-2.3.1.jar" target-dir="libs"/>
<source-file src="src/android/libs/jmessage-android-2.0.0.jar" target-dir="libs"/>
<source-file src="src/android/libs/jmessage-android_v2.1.1.jar" target-dir="libs"/>
<source-file src="src/android/JMessagePlugin.java" target-dir="src/cn/jmessage/phonegap"/>
</platform>
</plugin>
Binary file removed src/android/libs/jmessage-android-2.0.0.jar
Binary file not shown.
Binary file added src/android/libs/jmessage-android_v2.1.1.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion src/ios/Plugins/JMessagePlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define ResultSuccess(method) [NSString stringWithFormat:@"success - %@",method]
#define ResultFailed(method) [NSString stringWithFormat:@"failed - %@",method]

@interface JMessagePlugin ()<JMSGEventDelegate,UIApplicationDelegate>
@interface JMessagePlugin ()<JMessageDelegate, JMSGEventDelegate, UIApplicationDelegate>

@end

Expand Down Expand Up @@ -57,6 +57,7 @@ - (CDVPlugin*)initWithWebView:(UIWebView*)theWebView{
-(void)initPlugin{
if (!SharedJMessagePlugin) {
SharedJMessagePlugin = self;
[JMessage addDelegate:self withConversation:nil];
}
}

Expand Down

0 comments on commit 5fbc82f

Please sign in to comment.