Skip to content

Commit 37f0258

Browse files
committed
Version 3.0.1
1 parent 7953d10 commit 37f0258

File tree

6 files changed

+14
-9
lines changed

6 files changed

+14
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Intercom for Cordova/PhoneGap
22

3+
# 3.0.1 (2016-07-27)
4+
5+
* Fixed Android build error.
6+
37
# 3.0.0 (2016-07-26)
48

59
Where is 2.x? We're skipping it. We did this to align the Cordova plugin with our iOS, Android and web counter parts.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To install the plugin in your Cordova app, run the following:
1818

1919
To add the plugin to your PhoneGap app, add the following to your `config.xml`:
2020

21-
<plugin name="cordova-plugin-intercom" version="~3.0.0" />
21+
<plugin name="cordova-plugin-intercom" version="~3.0.1" />
2222

2323
## Configuring Intercom
2424

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-intercom",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "Official Cordova/PhoneGap plugin for Intercom",
55
"cordova": {
66
"id": "cordova-plugin-intercom",
@@ -23,15 +23,15 @@
2323
"engines": [
2424
{
2525
"name": "cordova",
26-
"version": ">=3.0.0"
26+
"version": ">=3.0.1"
2727
},
2828
{
2929
"name": "cordova-android",
3030
"version": ">=4.0.0"
3131
},
3232
{
3333
"name": "cordova-ios",
34-
"version": ">=3.0.0"
34+
"version": ">=3.0.1"
3535
}
3636
],
3737
"author": "Intercom",

plugin.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<plugin id="cordova-plugin-intercom" version="3.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
2+
<plugin id="cordova-plugin-intercom" version="3.0.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
33
<name>Intercom</name>
44
<author>Intercom</author>
55
<license>MIT License</license>
@@ -8,9 +8,9 @@
88
<keywords>intercom,intercom-cordova</keywords>
99

1010
<engines>
11-
<engine name="cordova" version=">=3.0.0" />
11+
<engine name="cordova" version=">=3.0.1" />
1212
<engine name="cordova-android" version=">=4.0.0" />
13-
<engine name="cordova-ios" version=">=3.0.0" />
13+
<engine name="cordova-ios" version=">=3.0.1" />
1414
</engines>
1515

1616
<js-module name="Intercom" src="www/intercom.js">

src/android/IntercomBridge.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import org.apache.cordova.CallbackContext;
66
import org.apache.cordova.CordovaPlugin;
77
import org.apache.cordova.CordovaInterface;
8+
import org.apache.cordova.PluginResult;
89
import org.json.JSONArray;
910
import org.json.JSONObject;
1011
import org.json.JSONException;
@@ -61,7 +62,7 @@ private void setUpIntercom() {
6162
try {
6263
Context context = IntercomBridge.this.cordova.getActivity().getApplicationContext();
6364

64-
CordovaHeaderInterceptor.setCordovaVersion(context, "3.0.0");
65+
CordovaHeaderInterceptor.setCordovaVersion(context, "3.0.1");
6566

6667
String senderId = IntercomBridge.this.preferences.getString("intercom-android-sender-id", null);
6768
if (senderId != null) {

src/ios/IntercomBridge.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ + (void)setCordovaVersion:(NSString *)v;
99
@implementation IntercomBridge : CDVPlugin
1010

1111
- (void)pluginInitialize {
12-
[Intercom setCordovaVersion:@"3.0.0"];
12+
[Intercom setCordovaVersion:@"3.0.1"];
1313
#ifdef DEBUG
1414
[Intercom enableLogging];
1515
#endif

0 commit comments

Comments
 (0)