-
Notifications
You must be signed in to change notification settings - Fork 305
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I do not know if it is a bug or not but I wanted to have a clear understanding of what GetStream handles for push notification using FCM.
Currently setting ignorePushMessagesWhenUserOnline = false in
val notificationConfig = NotificationConfig(
pushDeviceGenerators = listOf(
FirebasePushDeviceGenerator(
context = context,
providerName = providerName,
),
),
ignorePushMessagesWhenUserOnline = false,
autoTranslationEnabled = false,
)
I receive notifications in whatever state of the app (background/foreground).
But currently if I was in a chat (so I was in MessagesScreen) and I put the app in background I continue to receive no notifications.
SDK version
- 6.26.0
Expected behavior
Receive notifications when the app is in background with the above configuration.
Steps to reproduce
- Navigate in a chat
- Put app in background
- Send a push notification
- The push notification is not received also if I set
ignorePushMessagesWhenUserOnline = false
Device:
- Vendor and model: Any
- Android version: Any
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working