From 37f0258e3c6fddf8be445090ff95d3a9bce251df Mon Sep 17 00:00:00 2001 From: James Treanor Date: Wed, 27 Jul 2016 11:28:57 +0100 Subject: [PATCH] Version 3.0.1 --- CHANGELOG.md | 4 ++++ README.md | 2 +- package.json | 6 +++--- plugin.xml | 6 +++--- src/android/IntercomBridge.java | 3 ++- src/ios/IntercomBridge.m | 2 +- 6 files changed, 14 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 642ea51..0d74570 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Intercom for Cordova/PhoneGap +# 3.0.1 (2016-07-27) + +* Fixed Android build error. + # 3.0.0 (2016-07-26) Where is 2.x? We're skipping it. We did this to align the Cordova plugin with our iOS, Android and web counter parts. diff --git a/README.md b/README.md index 3b29659..d0851cd 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ To install the plugin in your Cordova app, run the following: To add the plugin to your PhoneGap app, add the following to your `config.xml`: - + ## Configuring Intercom diff --git a/package.json b/package.json index 5906d2d..4bd4df9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-intercom", - "version": "3.0.0", + "version": "3.0.1", "description": "Official Cordova/PhoneGap plugin for Intercom", "cordova": { "id": "cordova-plugin-intercom", @@ -23,7 +23,7 @@ "engines": [ { "name": "cordova", - "version": ">=3.0.0" + "version": ">=3.0.1" }, { "name": "cordova-android", @@ -31,7 +31,7 @@ }, { "name": "cordova-ios", - "version": ">=3.0.0" + "version": ">=3.0.1" } ], "author": "Intercom", diff --git a/plugin.xml b/plugin.xml index d1caecd..50fe873 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,5 +1,5 @@ - + Intercom Intercom MIT License @@ -8,9 +8,9 @@ intercom,intercom-cordova - + - + diff --git a/src/android/IntercomBridge.java b/src/android/IntercomBridge.java index dfc5480..373b272 100644 --- a/src/android/IntercomBridge.java +++ b/src/android/IntercomBridge.java @@ -5,6 +5,7 @@ import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.CordovaInterface; +import org.apache.cordova.PluginResult; import org.json.JSONArray; import org.json.JSONObject; import org.json.JSONException; @@ -61,7 +62,7 @@ private void setUpIntercom() { try { Context context = IntercomBridge.this.cordova.getActivity().getApplicationContext(); - CordovaHeaderInterceptor.setCordovaVersion(context, "3.0.0"); + CordovaHeaderInterceptor.setCordovaVersion(context, "3.0.1"); String senderId = IntercomBridge.this.preferences.getString("intercom-android-sender-id", null); if (senderId != null) { diff --git a/src/ios/IntercomBridge.m b/src/ios/IntercomBridge.m index 89ff953..322e342 100644 --- a/src/ios/IntercomBridge.m +++ b/src/ios/IntercomBridge.m @@ -9,7 +9,7 @@ + (void)setCordovaVersion:(NSString *)v; @implementation IntercomBridge : CDVPlugin - (void)pluginInitialize { - [Intercom setCordovaVersion:@"3.0.0"]; + [Intercom setCordovaVersion:@"3.0.1"]; #ifdef DEBUG [Intercom enableLogging]; #endif