Skip to content

Commit 96beaab

Browse files
authored
Release 16.2.0 (#663)
1 parent b71a838 commit 96beaab

File tree

3 files changed

+32
-5
lines changed

3 files changed

+32
-5
lines changed

CHANGELOG.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# Changelog
22

3+
## 16.2.0
4+
###### Release Date: 28-05-2025
5+
6+
### 🚀 Enhancements
7+
* Added new API `handlePushWithCustomStack` in `IntercomPushClient`. Use this to handle Intercom push messages with a custom backstack. Implement your custom push integration by extending `FirebaseMessagingService` and call `handlePushWithCustomStack` in the `onMessageReceived` method as shown in the example below.
8+
9+
```
10+
public void onMessageReceived(RemoteMessage remoteMessage) {
11+
String message = remoteMessage.getData();
12+
if (intercomPushClient.isIntercomPush(message)) {
13+
TaskStackBuilder customStack = TaskStackBuilder.create(this);
14+
customStack.addNextIntent(new Intent(this, CustomActivity.class));
15+
intercomPushClient.handlePushWithCustomStack(getApplication(), message, customStack);
16+
} else {
17+
//DO HOST LOGIC HERE
18+
}
19+
}
20+
```
21+
22+
### 🐛 Bug Fixes
23+
* Fixed `IllegalArgumentException: Missing keys: [timestamp]` crash
24+
* Fixed `NullPointerException: Parameter specified as non-null is null` crash happening in in-app notifications
25+
26+
### 👉 Dependency updates
27+
* Sentry: Updated to 8.13.1
28+
* Fragment Kotlin Extensions: Updated to 1.8.7
29+
* Compose BOM: Updated to 1.8.2 (via BOM 2025.05.01)
30+
331
## 16.1.0
432
###### Release Date: 20-05-2025
533

@@ -30,8 +58,7 @@
3058
###### Release Date: 02-05-2025
3159

3260
### 🚀 Enhancements
33-
* Added support for conversations merged across channels and users
34-
* Added support for setting a custom backstack item — You can now call `Intercom.pushBackStackActivity()` and set an activity you'd like as a backstack for Intercom push notifications
61+
* Added support for conversations merged across channels and users
3562

3663
### 🐛 Bug Fixes
3764
* Fixed an issue where Notes and Posts weren't showing in full

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ There are 2 options for installing Intercom on your Android app.
3939
Add the following dependency to your app's `build.gradle` file:
4040
```groovy
4141
dependencies {
42-
implementation 'io.intercom.android:intercom-sdk:16.1.0'
42+
implementation 'io.intercom.android:intercom-sdk:16.2.0'
4343
implementation 'com.google.firebase:firebase-messaging:24.1.+'
4444
}
4545
```
@@ -49,7 +49,7 @@ dependencies {
4949
If you'd rather not have push notifications in your app, you can use this dependency:
5050
```groovy
5151
dependencies {
52-
implementation 'io.intercom.android:intercom-sdk-base:16.1.0'
52+
implementation 'io.intercom.android:intercom-sdk-base:16.2.0'
5353
}
5454
```
5555

sample/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ dependencies {
6565

6666
implementation("androidx.datastore:datastore-preferences:1.1.3")
6767

68-
implementation("io.intercom.android:intercom-sdk:16.1.0")
68+
implementation("io.intercom.android:intercom-sdk:16.2.0")
6969
implementation("com.google.firebase:firebase-messaging:24.1.0")
7070
}

0 commit comments

Comments
 (0)