diff --git a/CHANGELOG.md b/CHANGELOG.md index eb719c8..ea6da7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Intercom for Cordova/PhoneGap -## 5.1.0 (2018-02-12) +## 5.1.1 (2018-02-26) + +* Include FCM libraries when building without build plugin [#257](https://github.com/intercom/intercom-cordova/pull/257) + +## 5.1.0 (2018-02-26) * Created fork of `phonegap-plugin-push` to allow it to work with this plugin: https://github.com/intercom/phonegap-plugin-push * Allow FCM notifications without applying build plugin [#253](https://github.com/intercom/intercom-cordova/pull/253) diff --git a/README.md b/README.md index f709f77..9c74c74 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ cordova plugin add cordova-plugin-intercom To add the plugin to your PhoneGap app, add the following to your `config.xml`: ```xml - + ``` ### Ionic diff --git a/intercom-plugin/package.json b/intercom-plugin/package.json index a3638ff..5e46611 100644 --- a/intercom-plugin/package.json +++ b/intercom-plugin/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-intercom", - "version": "5.1.0", + "version": "5.1.1", "description": "Official Cordova/PhoneGap plugin for Intercom", "cordova": { "id": "cordova-plugin-intercom", diff --git a/intercom-plugin/plugin.xml b/intercom-plugin/plugin.xml index d8118e7..98f1ab0 100644 --- a/intercom-plugin/plugin.xml +++ b/intercom-plugin/plugin.xml @@ -1,5 +1,5 @@ - + Intercom Intercom MIT License diff --git a/intercom-plugin/src/android/IntercomBridge.java b/intercom-plugin/src/android/IntercomBridge.java index 10ea1f3..0d4bfaa 100644 --- a/intercom-plugin/src/android/IntercomBridge.java +++ b/intercom-plugin/src/android/IntercomBridge.java @@ -59,7 +59,7 @@ private void setUpIntercom() { try { Context context = cordova.getActivity().getApplicationContext(); - CordovaHeaderInterceptor.setCordovaVersion(context, "5.1.0"); + CordovaHeaderInterceptor.setCordovaVersion(context, "5.1.1"); switch (IntercomPushManager.getInstalledModuleType()) { case GCM: { diff --git a/intercom-plugin/src/ios/IntercomBridge.m b/intercom-plugin/src/ios/IntercomBridge.m index 1a780e8..dfc9570 100644 --- a/intercom-plugin/src/ios/IntercomBridge.m +++ b/intercom-plugin/src/ios/IntercomBridge.m @@ -9,7 +9,7 @@ + (void)setCordovaVersion:(NSString *)v; @implementation IntercomBridge : CDVPlugin - (void)pluginInitialize { - [Intercom setCordovaVersion:@"5.1.0"]; + [Intercom setCordovaVersion:@"5.1.1"]; #ifdef DEBUG [Intercom enableLogging]; #endif