From 37e9dad14f00998e5a5c984fd29da5ba9b5d92a1 Mon Sep 17 00:00:00 2001 From: Liuting Du Date: Fri, 20 Aug 2021 14:51:43 +0100 Subject: [PATCH] Release 10.1.0 --- CHANGELOG.md | 6 +++++- README.md | 2 +- intercom-plugin/package.json | 2 +- intercom-plugin/plugin.xml | 4 ++-- intercom-plugin/src/android/IntercomBridge.java | 2 +- intercom-plugin/src/android/intercom.gradle | 4 ++-- intercom-plugin/src/ios/IntercomBridge.m | 2 +- 7 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d31f50e..37efdaa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,11 @@ # Intercom for Cordova/PhoneGap +## 10.1.0 (2021-08-23) +* The Intercom Cordova plugin has been updated to use the latest version (v10.1.0) of the Intercom iOS and Android SDK +* Updated to cordova-android 10.0.0 + ## 10.0.0 (2021-06-29) -#### v10.0.0 of the Cordova plugin supports the latest version (10.0.1) of the Intercom mobile SDK. +#### v10.0.0 of the Cordova plugin supports the latest version (10.0.1) of the Intercom mobile SDK. ##### Enhancements * We have redesigned the Help Center for mobile apps. ✨ * New UI, optimized specifically for mobile apps and small screens diff --git a/README.md b/README.md index 33538da..fa3fc1a 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ cordova plugin add cordova-plugin-intercom To add the plugin to your PhoneGap app, add the following to your `config.xml`: ```xml - + ``` ## Example App diff --git a/intercom-plugin/package.json b/intercom-plugin/package.json index 14fe09d..b4aac0d 100644 --- a/intercom-plugin/package.json +++ b/intercom-plugin/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-intercom", - "version": "10.0.0", + "version": "10.1.0", "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 7d011af..0f6922a 100644 --- a/intercom-plugin/plugin.xml +++ b/intercom-plugin/plugin.xml @@ -1,5 +1,5 @@ - + Intercom Intercom MIT License @@ -62,7 +62,7 @@ - + diff --git a/intercom-plugin/src/android/IntercomBridge.java b/intercom-plugin/src/android/IntercomBridge.java index a128bd6..ec84c99 100644 --- a/intercom-plugin/src/android/IntercomBridge.java +++ b/intercom-plugin/src/android/IntercomBridge.java @@ -70,7 +70,7 @@ private void setUpIntercom() { try { Context context = cordova.getActivity().getApplicationContext(); - CordovaHeaderInterceptor.setCordovaVersion(context, "10.0.0"); + CordovaHeaderInterceptor.setCordovaVersion(context, "10.1.0"); switch (IntercomPushManager.getInstalledModuleType()) { case FCM: { diff --git a/intercom-plugin/src/android/intercom.gradle b/intercom-plugin/src/android/intercom.gradle index 536d939..ba6e1ad 100644 --- a/intercom-plugin/src/android/intercom.gradle +++ b/intercom-plugin/src/android/intercom.gradle @@ -28,10 +28,10 @@ repositories { } dependencies { - implementation 'io.intercom.android:intercom-sdk-base:10.0.1' + implementation 'io.intercom.android:intercom-sdk-base:10.+' if (pushType == 'fcm' || pushType == 'fcm-without-build-plugin') { implementation 'com.google.firebase:firebase-messaging:20.+' - implementation 'io.intercom.android:intercom-sdk-fcm:10.0.1' + implementation 'io.intercom.android:intercom-sdk-fcm:10.+' } } diff --git a/intercom-plugin/src/ios/IntercomBridge.m b/intercom-plugin/src/ios/IntercomBridge.m index 180b618..2fa982c 100644 --- a/intercom-plugin/src/ios/IntercomBridge.m +++ b/intercom-plugin/src/ios/IntercomBridge.m @@ -12,7 +12,7 @@ + (void)setCordovaVersion:(NSString *)v; @implementation IntercomBridge : CDVPlugin - (void)pluginInitialize { - [Intercom setCordovaVersion:@"9.0.0"]; + [Intercom setCordovaVersion:@"10.1.0"]; #ifdef DEBUG [Intercom enableLogging]; #endif