Skip to content

Commit 8969474

Browse files
authored
Release 14.1.1 (#342)
* Release 14.1.1 * changelog update
1 parent a9e3ea7 commit 8969474

File tree

6 files changed

+36
-22
lines changed

6 files changed

+36
-22
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Intercom for Cordova/PhoneGap
22

3+
## 14.1.1 (2025-06-16)
4+
5+
🐛 Bug Fixes
6+
* Fixed SDK 34 compilation restriction that prevented building with Android 15 (API level 35). (Android)
7+
38
## 14.1.0 (2025-01-28)
49

510
🚀 Enhancements

Example/config.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
<hook type="after_platform_add" src="hooks/iosDeploymentTarget.js" />
1919
<platform name="android">
2020
<allow-intent href="market:*" />
21-
<preference name="android-minSdkVersion" value="22" />
22-
<preference name="android-targetSdkVersion" value="34" />
23-
<preference name="android-compileSdkVersion" value="34" />
21+
<preference name="android-minSdkVersion" value="24" />
22+
<preference name="android-targetSdkVersion" value="35" />
23+
<preference name="android-compileSdkVersion" value="35" />
2424
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/activity[@android:name='MainActivity']">
2525
<activity android:exported="true" />
2626
</edit-config>

Example/package-lock.json

Lines changed: 24 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ cordova plugin add cordova-plugin-intercom
4545

4646
To add the plugin to your PhoneGap app, add the following to your `config.xml`:
4747
```xml
48-
<plugin name="cordova-plugin-intercom" version="14.0.0" />
48+
<plugin name="cordova-plugin-intercom" version="14.1.1" />
4949
```
5050

5151
### Requirements

intercom-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-intercom",
3-
"version": "14.1.0",
3+
"version": "14.1.1",
44
"description": "Official Cordova plugin for Intercom",
55
"author": "Intercom",
66
"license": "MIT License",

intercom-plugin/src/android/build-extras-intercom.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ afterEvaluate {
1010
}
1111

1212
private void logIfIncorrectCompileSdkVersion() {
13-
// this can be `{number}` or `android-{number}`
14-
// regex checks that it ends with a number between 16 and 26 inclusive
15-
if (cordovaConfig.SDK_VERSION != null && cordovaConfig.SDK_VERSION != 34) {
13+
if (cordovaConfig.SDK_VERSION != null && cordovaConfig.SDK_VERSION < 34) {
1614
throw new GradleException("Intercom Android Error: Your cordovaConfig.SDK_VERSION is [${cordovaConfig.SDK_VERSION}].\n"+
17-
"You need to use a cordovaConfig.SDK_VERSION of 34\n"+
15+
"You need to use a cordovaConfig.SDK_VERSION of 34 or higher.\n"+
1816
"See here for more: https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#setting-gradle-properties\n")
1917
}
2018
}

0 commit comments

Comments
 (0)