Skip to content

Commit

Permalink
Merge pull request #309 from intercom/kb/release_10.2.0
Browse files Browse the repository at this point in the history
release 10.2.0
  • Loading branch information
kbrdthenerd authored Sep 29, 2021
2 parents af81844 + 005831a commit 568979e
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 8 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Intercom for Cordova/PhoneGap

## 10.2.0 (2021-09-28)
* The Intercom Cordova plugin has been updated to use the latest version of the Intercom iOS (v10.3.0) and Android SDK (v10.2.0)

Reduce customer inquiries for your team and provide faster resolutions for your customers – without sacrificing a great experience. We’ve redesigned our Messenger with an integrated help center experience that increases customer engagement by up to 3x to help you deliver the best self-serve support.

##### Enhancements
* A new article search card on your Messenger’s home screen.
* There are now two conversation cards, just as with our web Messenger; one for existing and one for new conversations. This gives more emphasis to existing conversations, reducing the chance of duplicates being created.
* Optionally require specific customers to attempt to self-serve to answer their question before they can reach out to a teammate.
* Place the article search card at the top of the Messenger home screen to give your self-serve content more prominence.
* Uncover insights and opportunities to optimize your self-serve support by using our updated Articles reporting.
* A number of improvements for accessibility features in the Messenger, with more coming in future updates.
* If you’ve set a custom icon for the Intercom launcher, that icon will now be used in your app as well.
* Support for iOS 15 is also included in this release.

## 10.1.1 (2021-09-14)
* Include dependencies needed to make the Android version build

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<plugin name="cordova-plugin-intercom" version="~10.1.1" />
<plugin name="cordova-plugin-intercom" version="~10.2.0" />
```

## Example App
Expand Down
2 changes: 1 addition & 1 deletion intercom-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-intercom",
"version": "10.1.1",
"version": "10.2.0",
"description": "Official Cordova/PhoneGap plugin for Intercom",
"cordova": {
"id": "cordova-plugin-intercom",
Expand Down
4 changes: 2 additions & 2 deletions intercom-plugin/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="10.1.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<plugin id="cordova-plugin-intercom" version="10.2.0" 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 Down Expand Up @@ -62,7 +62,7 @@
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="Intercom" spec="~> 10.1.1" />
<pod name="Intercom" spec="~> 10.3.0" />
</pods>
</podspec>
</platform>
Expand Down
2 changes: 1 addition & 1 deletion intercom-plugin/src/android/IntercomBridge.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private void setUpIntercom() {
try {
Context context = cordova.getActivity().getApplicationContext();

CordovaHeaderInterceptor.setCordovaVersion(context, "10.1.1");
CordovaHeaderInterceptor.setCordovaVersion(context, "10.2.0");

switch (IntercomPushManager.getInstalledModuleType()) {
case FCM: {
Expand Down
4 changes: 2 additions & 2 deletions intercom-plugin/src/android/intercom.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ repositories {
}

dependencies {
implementation 'io.intercom.android:intercom-sdk-base:10.+'
implementation 'io.intercom.android:intercom-sdk-base:10.2.+'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.intercom:twig:1.3.0'
implementation 'org.jetbrains:annotations:13.0'
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
if (pushType == 'fcm' || pushType == 'fcm-without-build-plugin') {
implementation 'com.google.firebase:firebase-messaging:20.+'
implementation 'io.intercom.android:intercom-sdk-fcm:10.+'
implementation 'io.intercom.android:intercom-sdk-fcm:10.2.+'
}
}

Expand Down
2 changes: 1 addition & 1 deletion intercom-plugin/src/ios/IntercomBridge.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ + (void)setCordovaVersion:(NSString *)v;
@implementation IntercomBridge : CDVPlugin

- (void)pluginInitialize {
[Intercom setCordovaVersion:@"10.1.1"];
[Intercom setCordovaVersion:@"10.2.0"];
#ifdef DEBUG
[Intercom enableLogging];
#endif
Expand Down

0 comments on commit 568979e

Please sign in to comment.