Skip to content

Commit a0f3775

Browse files
authored
Update intercom-android 15.11.2 (#487)
1 parent a44b8db commit a0f3775

File tree

8 files changed

+70
-73
lines changed

8 files changed

+70
-73
lines changed

intercom_flutter/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 9.2.1
4+
5+
* Bump Intercom Android SDK version to 15.11.2
6+
37
## 9.2.0
48

59
* Bump Intercom Android SDK version to 15.11.1

intercom_flutter/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Flutter wrapper for Intercom [Android](https://github.com/intercom/intercom-android), [iOS](https://github.com/intercom/intercom-ios), and [Web](https://developers.intercom.com/installing-intercom/docs/basic-javascript) projects.
77

8-
- Uses Intercom Android SDK Version `15.11.1`.
8+
- Uses Intercom Android SDK Version `15.11.2`.
99
- The minimum Android SDK `minSdk` required is 21.
1010
- The compile Android SDK `compileSdk` required is 34.
1111
- Uses Intercom iOS SDK Version `18.2.0`.

intercom_flutter/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ android {
5050

5151
dependencies {
5252
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
53-
implementation 'io.intercom.android:intercom-sdk:15.11.1'
53+
implementation 'io.intercom.android:intercom-sdk:15.11.2'
5454
implementation 'com.google.firebase:firebase-messaging:23.3.1'
5555
}
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,66 @@
1+
plugins {
2+
id "com.android.application"
3+
id "kotlin-android"
4+
id "dev.flutter.flutter-gradle-plugin"
5+
}
6+
17
def localProperties = new Properties()
28
def localPropertiesFile = rootProject.file('local.properties')
39
if (localPropertiesFile.exists()) {
4-
localPropertiesFile.withReader('UTF-8') { reader ->
5-
localProperties.load(reader)
6-
}
7-
}
8-
9-
def flutterRoot = localProperties.getProperty('flutter.sdk')
10-
if (flutterRoot == null) {
11-
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
10+
localPropertiesFile.withReader('UTF-8') { reader ->
11+
localProperties.load(reader)
12+
}
1213
}
1314

1415
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
1516
if (flutterVersionCode == null) {
16-
flutterVersionCode = '1'
17+
flutterVersionCode = '1'
1718
}
1819

1920
def flutterVersionName = localProperties.getProperty('flutter.versionName')
2021
if (flutterVersionName == null) {
21-
flutterVersionName = '1.0'
22+
flutterVersionName = '1.0'
2223
}
2324

24-
apply plugin: 'com.android.application'
25-
apply plugin: 'kotlin-android'
26-
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27-
2825
android {
29-
compileSdk 34
26+
compileSdk 34
3027

31-
namespace 'io.maido.intercomexample'
28+
namespace 'io.maido.intercomexample'
3229

33-
sourceSets {
34-
main.java.srcDirs += 'src/main/kotlin'
35-
}
30+
sourceSets {
31+
main.java.srcDirs += 'src/main/kotlin'
32+
}
3633

37-
lintOptions {
38-
disable 'InvalidPackage'
39-
}
4034

41-
defaultConfig {
42-
applicationId "io.maido.intercomexample"
43-
minSdk 21
44-
targetSdk 34
45-
versionCode flutterVersionCode.toInteger()
46-
versionName flutterVersionName
47-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
48-
}
35+
defaultConfig {
36+
applicationId "io.maido.intercomexample"
37+
minSdk 21
38+
targetSdk 34
39+
versionCode flutterVersionCode.toInteger()
40+
versionName flutterVersionName
41+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
42+
}
4943

50-
buildTypes {
51-
release {
52-
signingConfig signingConfigs.debug
53-
}
44+
buildTypes {
45+
release {
46+
signingConfig signingConfigs.debug
5447
}
48+
}
5549

56-
compileOptions {
57-
sourceCompatibility JavaVersion.VERSION_1_8
58-
targetCompatibility JavaVersion.VERSION_1_8
59-
}
50+
compileOptions {
51+
sourceCompatibility JavaVersion.VERSION_1_8
52+
targetCompatibility JavaVersion.VERSION_1_8
53+
}
6054

61-
kotlinOptions {
62-
jvmTarget = '1.8'
63-
}
64-
}
55+
kotlinOptions {
56+
jvmTarget = '1.8'
57+
}
6558

66-
flutter {
67-
source '../..'
59+
lint {
60+
disable 'InvalidPackage'
61+
}
6862
}
6963

70-
dependencies {
71-
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
64+
flutter {
65+
source '../..'
7266
}

intercom_flutter/example/android/build.gradle

-13
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
buildscript {
2-
ext.kotlin_version = '1.9.21'
3-
repositories {
4-
google()
5-
mavenCentral()
6-
}
7-
8-
dependencies {
9-
classpath 'com.android.tools.build:gradle:8.1.4'
10-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11-
}
12-
}
13-
141
rootProject.allprojects {
152
repositories {
163
google()
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Thu Jun 17 14:27:11 IST 2021
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
1-
include ':app'
1+
pluginManagement {
2+
def flutterSdkPath = {
3+
def properties = new Properties()
4+
file("local.properties").withInputStream { properties.load(it) }
5+
def flutterSdkPath = properties.getProperty("flutter.sdk")
6+
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
7+
return flutterSdkPath
8+
}
9+
settings.ext.flutterSdkPath = flutterSdkPath()
210

3-
def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
11+
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
412

5-
def plugins = new Properties()
6-
def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
7-
if (pluginsFile.exists()) {
8-
pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
13+
repositories {
14+
google()
15+
mavenCentral()
16+
gradlePluginPortal()
17+
}
918
}
1019

11-
plugins.each { name, path ->
12-
def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
13-
include ":$name"
14-
project(":$name").projectDir = pluginDirectory
20+
plugins {
21+
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22+
id "com.android.application" version '8.7.2' apply false
23+
id "org.jetbrains.kotlin.android" version "1.9.21" apply false
24+
id "com.google.gms.google-services" version "4.4.2" apply false
1525
}
26+
27+
include ":app"

intercom_flutter/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: intercom_flutter
22
description: Flutter plugin for Intercom integration. Provides in-app messaging
33
and help-center Intercom services
4-
version: 9.2.0
4+
version: 9.2.1
55
homepage: https://github.com/v3rm0n/intercom_flutter
66

77
dependencies:

0 commit comments

Comments
 (0)