Skip to content

Commit

Permalink
Merge pull request #306 from intercom/liuting/release_10.1.0
Browse files Browse the repository at this point in the history
Release 10.1.0
  • Loading branch information
liutingdu authored Aug 23, 2021
2 parents 75e610c + 37e9dad commit 2c13392
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
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.0.0" />
<plugin name="cordova-plugin-intercom" version="~10.1.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.0.0",
"version": "10.1.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.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="10.1.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.0.1" />
<pod name="Intercom" spec="~> 10.1.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.0.0");
CordovaHeaderInterceptor.setCordovaVersion(context, "10.1.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,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.+'
}
}

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:@"9.0.0"];
[Intercom setCordovaVersion:@"10.1.0"];
#ifdef DEBUG
[Intercom enableLogging];
#endif
Expand Down

0 comments on commit 2c13392

Please sign in to comment.