Skip to content

Commit 6163793

Browse files
committed
Update Intercom SDKs and build tools to latest versions
- iOS SDK: 18.7.3 → 19.1.0 - Android SDK: 17.0.0 → 17.0.3 - Android Gradle Plugin: 8.6.1 → 8.11.0 - Kotlin: 1.9.22 → 2.1.20 - React Native: 0.74.0 → 0.75.5 - Xcode CI: 16.0.0 → 16.2.0
1 parent 1053bfa commit 6163793

File tree

9 files changed

+696
-286
lines changed

9 files changed

+696
-286
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2.1
33
# Default VM config to be used for macOS builds
44
macos_config: &macos_config
55
macos:
6-
xcode: 16.0.0
6+
xcode: 16.2.0
77
resource_class: macos.m1.large.gen1
88
shell: /bin/bash --login -eo pipefail
99

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ buildscript {
1010
compileSdkVersion = 35
1111
targetSdkVersion = 35
1212
ndkVersion = "26.1.10909125"
13-
kotlinVersion = "1.9.22"
13+
kotlinVersion = "2.1.20"
1414
}
1515
if (project == rootProject) {
1616
repositories {
@@ -19,7 +19,7 @@ buildscript {
1919
}
2020

2121
dependencies {
22-
classpath("com.android.tools.build:gradle:8.6.1")
22+
classpath("com.android.tools.build:gradle:8.11.0")
2323
classpath("com.facebook.react:react-native-gradle-plugin")
2424
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
2525
}
@@ -69,5 +69,5 @@ dependencies {
6969
//noinspection GradleDynamicVersion
7070
implementation "com.facebook.react:react-native:+" // From node_modules
7171
implementation "com.google.firebase:firebase-messaging:${safeExtGet('firebaseMessagingVersion', '20.2.+')}"
72-
implementation 'io.intercom.android:intercom-sdk:17.0.0'
72+
implementation 'io.intercom.android:intercom-sdk:17.0.3'
7373
}

example/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ buildscript {
55
compileSdkVersion = 35
66
targetSdkVersion = 35
77
ndkVersion = "26.1.10909125"
8-
kotlinVersion = "1.9.22"
8+
kotlinVersion = "2.1.20"
99
}
1010
repositories {
1111
google()
1212
mavenCentral()
1313
}
1414
dependencies {
15-
classpath("com.android.tools.build:gradle:8.6.1")
15+
classpath("com.android.tools.build:gradle:8.11.0")
1616
classpath("com.facebook.react:react-native-gradle-plugin")
1717
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
1818
}

example/ios/IntercomReactNativeExample.xcodeproj/project.pbxproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
1111
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
1212
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
13+
14650C044FFB85A4736C964C /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 0FD10144CF9F9A85F9D7916B /* PrivacyInfo.xcprivacy */; };
14+
2B4180622838926B045C4B00 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 393D9D764EFC65E57682C939 /* PrivacyInfo.xcprivacy */; };
1315
4C39C56BAD484C67AA576FFA /* libPods-IntercomReactNativeExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CA3E69C5B9553B26FBA2DF04 /* libPods-IntercomReactNativeExample.a */; };
1416
6B689CC9EE73F2BF0457728A /* libPods-IntercomReactNativeExampleUI.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BBBD0C6D5A5B9C44EDCA9EB6 /* libPods-IntercomReactNativeExampleUI.a */; };
1517
7D95B163267240E3008096E0 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
@@ -23,12 +25,14 @@
2325
/* Begin PBXFileReference section */
2426
008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
2527
0DB6681325C508226B4F50DA /* Pods-IntercomReactNativeExampleUI.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IntercomReactNativeExampleUI.release.xcconfig"; path = "Target Support Files/Pods-IntercomReactNativeExampleUI/Pods-IntercomReactNativeExampleUI.release.xcconfig"; sourceTree = "<group>"; };
28+
0FD10144CF9F9A85F9D7916B /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = IntercomReactNativeExample/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
2629
13B07F961A680F5B00A75B9A /* IntercomReactNativeExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = IntercomReactNativeExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
2730
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = IntercomReactNativeExample/AppDelegate.h; sourceTree = "<group>"; };
2831
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = IntercomReactNativeExample/AppDelegate.m; sourceTree = "<group>"; };
2932
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = IntercomReactNativeExample/Images.xcassets; sourceTree = "<group>"; };
3033
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = IntercomReactNativeExample/Info.plist; sourceTree = "<group>"; };
3134
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = IntercomReactNativeExample/main.m; sourceTree = "<group>"; };
35+
393D9D764EFC65E57682C939 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = IntercomReactNativeExample/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
3236
7D4EACBB265F79DC004A6F30 /* IntercomReactNativeExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = IntercomReactNativeExample.entitlements; path = IntercomReactNativeExample/IntercomReactNativeExample.entitlements; sourceTree = "<group>"; };
3337
7D95B170267240E3008096E0 /* IntercomReactNativeExampleUI.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = IntercomReactNativeExampleUI.app; sourceTree = BUILT_PRODUCTS_DIR; };
3438
7D95B240267248C8008096E0 /* IntercomReactNativeExampleUIRelease.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = IntercomReactNativeExampleUIRelease.entitlements; sourceTree = "<group>"; };
@@ -75,6 +79,7 @@
7579
13B07FB61A68108700A75B9A /* Info.plist */,
7680
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
7781
13B07FB71A68108700A75B9A /* main.m */,
82+
393D9D764EFC65E57682C939 /* PrivacyInfo.xcprivacy */,
7883
);
7984
name = IntercomReactNativeExample;
8085
sourceTree = "<group>";
@@ -117,6 +122,7 @@
117122
83CBBA001A601CBA00E9B192 /* Products */,
118123
2D16E6871FA4F8E400B85C8A /* Frameworks */,
119124
6B9684456A2045ADE5A6E47E /* Pods */,
125+
0FD10144CF9F9A85F9D7916B /* PrivacyInfo.xcprivacy */,
120126
);
121127
indentWidth = 2;
122128
sourceTree = "<group>";
@@ -223,6 +229,7 @@
223229
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
224230
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
225231
DE090379E5BDFCC31EBBB1FC /* BuildFile in Resources */,
232+
2B4180622838926B045C4B00 /* PrivacyInfo.xcprivacy in Resources */,
226233
);
227234
runOnlyForDeploymentPostprocessing = 0;
228235
};
@@ -232,6 +239,7 @@
232239
files = (
233240
7D95B168267240E3008096E0 /* LaunchScreen.storyboard in Resources */,
234241
7D95B169267240E3008096E0 /* Images.xcassets in Resources */,
242+
14650C044FFB85A4736C964C /* PrivacyInfo.xcprivacy in Resources */,
235243
);
236244
runOnlyForDeploymentPostprocessing = 0;
237245
};
@@ -651,6 +659,7 @@
651659
);
652660
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
653661
SDKROOT = iphoneos;
662+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
654663
USE_HERMES = false;
655664
};
656665
name = Debug;
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyAccessedAPITypes</key>
6+
<array>
7+
<dict>
8+
<key>NSPrivacyAccessedAPIType</key>
9+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
10+
<key>NSPrivacyAccessedAPITypeReasons</key>
11+
<array>
12+
<string>C617.1</string>
13+
</array>
14+
</dict>
15+
<dict>
16+
<key>NSPrivacyAccessedAPIType</key>
17+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
18+
<key>NSPrivacyAccessedAPITypeReasons</key>
19+
<array>
20+
<string>CA92.1</string>
21+
</array>
22+
</dict>
23+
<dict>
24+
<key>NSPrivacyAccessedAPIType</key>
25+
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
26+
<key>NSPrivacyAccessedAPITypeReasons</key>
27+
<array>
28+
<string>35F9.1</string>
29+
</array>
30+
</dict>
31+
</array>
32+
<key>NSPrivacyCollectedDataTypes</key>
33+
<array/>
34+
<key>NSPrivacyTracking</key>
35+
<false/>
36+
</dict>
37+
</plist>

example/ios/Podfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
21
require_relative '../node_modules/react-native/scripts/react_native_pods'
32

43
platform :ios, '15.0'
5-
use_native_modules!
64

75
target 'IntercomReactNativeExample' do
86
config = use_native_modules!

0 commit comments

Comments
 (0)