Skip to content

Commit

Permalink
Version 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jtreanor committed Jul 27, 2016
1 parent 7953d10 commit 37f0258
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

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

## Configuring Intercom

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -23,15 +23,15 @@
"engines": [
{
"name": "cordova",
"version": ">=3.0.0"
"version": ">=3.0.1"
},
{
"name": "cordova-android",
"version": ">=4.0.0"
},
{
"name": "cordova-ios",
"version": ">=3.0.0"
"version": ">=3.0.1"
}
],
"author": "Intercom",
Expand Down
6 changes: 3 additions & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<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">
<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">
<name>Intercom</name>
<author>Intercom</author>
<license>MIT License</license>
Expand All @@ -8,9 +8,9 @@
<keywords>intercom,intercom-cordova</keywords>

<engines>
<engine name="cordova" version=">=3.0.0" />
<engine name="cordova" version=">=3.0.1" />
<engine name="cordova-android" version=">=4.0.0" />
<engine name="cordova-ios" version=">=3.0.0" />
<engine name="cordova-ios" version=">=3.0.1" />
</engines>

<js-module name="Intercom" src="www/intercom.js">
Expand Down
3 changes: 2 additions & 1 deletion src/android/IntercomBridge.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/ios/IntercomBridge.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 37f0258

Please sign in to comment.