diff --git a/CHANGELOG.md b/CHANGELOG.md index a7aec60..eb719c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Intercom for Cordova/PhoneGap +## 5.1.0 (2018-02-12) + +* 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) +* Update recommended build tool & library versions [#252](https://github.com/intercom/intercom-cordova/pull/252) +* Remove broken support for multiple GCM libraries [#251](https://github.com/intercom/intercom-cordova/pull/251) +* Fix GCM sender ID reading [#250](https://github.com/intercom/intercom-cordova/pull/250) +* Change hook for checkForUpdate to be after_prepare [#249](https://github.com/intercom/intercom-cordova/pull/249) + ## 5.0.2 (2018-02-12) * Fix issue with Intercom pod not being updated / installed when GitHub response was not 200 OK: [#246](https://github.com/intercom/intercom-cordova/pull/246) diff --git a/README.md b/README.md index 18e94f9..f709f77 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/plugin.xml b/intercom-plugin/plugin.xml index 8ca774d..d8118e7 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 b660920..10ea1f3 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.0.2"); + CordovaHeaderInterceptor.setCordovaVersion(context, "5.1.0"); switch (IntercomPushManager.getInstalledModuleType()) { case GCM: { diff --git a/intercom-plugin/src/ios/IntercomBridge.m b/intercom-plugin/src/ios/IntercomBridge.m index a7448c1..1a780e8 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.0.2"]; + [Intercom setCordovaVersion:@"5.1.0"]; #ifdef DEBUG [Intercom enableLogging]; #endif