-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust ChatNotificationSender consider the CBM feature flag
Use the old link when it's off. Use a separate inbox or a conversation specific link depending on if the notification itself contains the conversationId in there or not. Also replace the TaskStackBuilder with a simple PendingIntent.getActivity since we simply have one activity to open, and we pass it a deep link instead. Inspiration from: https://github.com/android/nowinandroid/blob/85129e4660f7a27c7081f4ac21169d19db89fbb6/core/notifications/src/main/kotlin/com/google/samples/apps/nowinandroid/core/notifications/SystemTrayNotifier.kt#L154-L166
- Loading branch information
1 parent
d59dbc0
commit 96c0bcb
Showing
1 changed file
with
60 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters