Skip to content

Commit a810ecd

Browse files
authored
Release 9.0.0 (#540)
* Release 9.0.0 * Updated sample app
1 parent 5f275e7 commit a810ecd

10 files changed

+33
-27
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Changelog
2+
## Version 9.0.0
3+
04-12-2020
4+
* Support for Android X : Added support for Android X without needing Jetifier
5+
* Intercom now depends on Glide 4.11.0, Gson 2.8.6, Otto 1.3.8, Okio 2.8.0, Okhttp 4.9.0 and Retrofit 2.9.0
6+
* Better RTL support : Improved support for RTL layouts
27

38
## Version 8.3.0
49
10-11-2020

README.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ There are 2 options for installing Intercom on your Android app.
4343
Add the following dependency to your app's `build.gradle` file:
4444
```groovy
4545
dependencies {
46-
implementation 'io.intercom.android:intercom-sdk:8.+'
46+
implementation 'io.intercom.android:intercom-sdk:9.+'
4747
implementation 'com.google.firebase:firebase-messaging:20.+'
4848
}
4949
```
@@ -53,7 +53,7 @@ dependencies {
5353
If you'd rather not have push notifications in your app, you can use this dependency:
5454
```groovy
5555
dependencies {
56-
implementation 'io.intercom.android:intercom-sdk-base:8.+'
56+
implementation 'io.intercom.android:intercom-sdk-base:9.+'
5757
}
5858
```
5959

@@ -111,36 +111,38 @@ Here is our complete dependency graph:
111111
### intercom-sdk-base
112112
```
113113
# Transitive (shared with your app)
114-
com.google.android.material:material:1.2.0
114+
com.google.android.material:material:1.2.1
115115
androidx.appcompat:appcompat:1.2.0
116116
androidx.vectordrawable:vectordrawable-animated:1.1.0
117117
androidx.vectordrawable:vectordrawable:1.1.0
118-
androidx.core:core:1.3.1
118+
androidx.core:core:1.3.2
119119
androidx.fragment:fragment:1.2.5
120120
androidx.annotation:annotation:1.1.0
121121
androidx.recyclerview:recyclerview:1.1.0
122-
androidx.constraintlayout:constraintlayout:1.1.3
122+
androidx.constraintlayout:constraintlayout:2.0.4
123123
com.google.android:flexbox:2.0.1
124124
androidx.legacy:legacy-support-core-utils:1.0.0
125125
androidx.legacy:legacy-support-core-ui:1.0.0
126126
org.jetbrains.kotlin:kotlin-stdlib:1.3.72
127-
128-
# Repackaged (not shared with your app)
129127
com.squareup:otto:1.3.8
130-
com.github.bumptech.glide:glide:4.4.0
131-
com.github.bumptech.glide:gifdecoder:4.4.0
132-
com.github.bumptech.glide:disklrucache:4.4.0
133-
com.github.bumptech.glide:annotations:4.4.0
134-
com.squareup.okio:okio:1.17.4
135-
com.squareup.okhttp3:okhttp:3.12.3
136-
com.squareup.retrofit2:retrofit:2.6.1
137-
com.squareup.retrofit2:converter-gson:2.6.1
128+
com.github.bumptech.glide:glide:4.11.0
129+
com.github.bumptech.glide:gifdecoder:4.11.0
130+
com.github.bumptech.glide:disklrucache:4.11.0
131+
com.github.bumptech.glide:annotations:4.11.0
132+
com.squareup.okio:okio:2.8.0
133+
com.squareup.okhttp3:okhttp:4.9.0
134+
com.squareup.retrofit2:retrofit:2.9.0
135+
com.squareup.retrofit2:converter-gson:2.9.0
138136
com.google.code.gson:gson:2.8.6
139137
```
140138

141-
If you use some of the repackaged libraries in your app, you may want to use a build that depends on them transitively. A guide to using this build can be found [here](https://docs.intercom.com/configure-intercom-for-your-product-or-site/configure-intercom-for-mobile/using-transitive-dependencies-with-intercom-for-android). Using this build involves more work as you need to make sure your app uses the correct version of each library.
142-
143139
### intercom-sdk-fcm
144140
```
145141
com.google.firebase:firebase-messaging:20.2.4
146142
```
143+
144+
### Transitive Dependencies
145+
146+
Intercom Android SDK transitively depends on the above libraries. If your app is using any one of these libraries, they should at least be on the same major version that Intercom SDK is using.
147+
When there are two versions of a library at build time, Gradle automatically picks the newer version.
148+
This means if you are currently using say Glide 3.x, your app would automatically get Glide 4.x after including Intercom.

aar/android-composer-3.1.0.aar

-67.7 KB
Binary file not shown.
-72.3 KB
Binary file not shown.

aar/intercom-sdk-base-8.3.0.aar

-2.99 MB
Binary file not shown.
-2.19 MB
Binary file not shown.

aar/intercom-sdk-fcm-8.3.0.aar

-34.6 KB
Binary file not shown.

samples/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ buildscript {
44
google()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:3.6.4'
8-
classpath 'com.google.gms:google-services:4.3.3'
7+
classpath 'com.android.tools.build:gradle:4.1.1'
8+
classpath 'com.google.gms:google-services:4.3.4'
99
}
1010
}
1111

samples/fcm-sample/build.gradle

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
apply plugin: 'com.android.application'
2+
apply plugin: 'com.google.gms.google-services'
23

34
android {
4-
compileSdkVersion 29
5+
compileSdkVersion 30
56

67
defaultConfig {
78
applicationId "com.intercom.sample"
89
minSdkVersion 21
9-
targetSdkVersion 29
10+
targetSdkVersion 30
1011
versionCode 1
1112
versionName "1.0"
1213
}
@@ -19,9 +20,7 @@ android {
1920
}
2021

2122
dependencies {
22-
implementation 'io.intercom.android:intercom-sdk-base:8+'
23-
implementation 'io.intercom.android:intercom-sdk-fcm:8+'
23+
implementation 'io.intercom.android:intercom-sdk-base:9+'
24+
implementation 'io.intercom.android:intercom-sdk-fcm:9+'
2425
implementation 'com.google.firebase:firebase-messaging:20.2.4'
2526
}
26-
27-
apply plugin: 'com.google.gms.google-services'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Fri Jul 17 15:29:30 CEST 2020
1+
#Sat Dec 05 20:08:36 GMT 2020
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip

0 commit comments

Comments
 (0)