diff --git a/package.json b/package.json index 3a1a0d7..c4b0847 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/plugin.xml b/plugin.xml index bdce980..e695d74 100644 --- a/plugin.xml +++ b/plugin.xml @@ -2,9 +2,9 @@ + version="2.3.1"> - JMessage PhoneGap Plugin + JMessage 集成极光 IM 和推送功能 JPush JMessage, JPush @@ -159,7 +159,7 @@ - + \ No newline at end of file diff --git a/src/android/libs/jmessage-android-2.0.0.jar b/src/android/libs/jmessage-android-2.0.0.jar deleted file mode 100644 index f2ee01d..0000000 Binary files a/src/android/libs/jmessage-android-2.0.0.jar and /dev/null differ diff --git a/src/android/libs/jmessage-android_v2.1.1.jar b/src/android/libs/jmessage-android_v2.1.1.jar new file mode 100644 index 0000000..6590056 Binary files /dev/null and b/src/android/libs/jmessage-android_v2.1.1.jar differ diff --git a/src/ios/Plugins/JMessagePlugin.m b/src/ios/Plugins/JMessagePlugin.m index 998e5cb..a858348 100644 --- a/src/ios/Plugins/JMessagePlugin.m +++ b/src/ios/Plugins/JMessagePlugin.m @@ -24,7 +24,7 @@ #define ResultSuccess(method) [NSString stringWithFormat:@"success - %@",method] #define ResultFailed(method) [NSString stringWithFormat:@"failed - %@",method] -@interface JMessagePlugin () +@interface JMessagePlugin () @end @@ -57,6 +57,7 @@ - (CDVPlugin*)initWithWebView:(UIWebView*)theWebView{ -(void)initPlugin{ if (!SharedJMessagePlugin) { SharedJMessagePlugin = self; + [JMessage addDelegate:self withConversation:nil]; } }