chat-sdk-android icon indicating copy to clipboard operation
chat-sdk-android copied to clipboard

Group message push notification

Open KavyaHarisha opened this issue 9 years ago • 2 comments

Hello, Great Greetings,

When try to chat in group , push notification are not going to senders devices but when we open the app the messages and images are showing. Is there any integration missing ?. Cloud please help me for this problem. Thanks.

KavyaHarisha avatar Apr 24 '17 07:04 KavyaHarisha

The app won't send push notifications unless the recipient device is offline. On Android, the app will stay alive in the background and maintain it's connection to Firebase. That's why messages are still being received. To test push notifications you should force the device offline by killing the app.

We're considering two possible updates to resolve this kind of issue.

  1. Show a notification when a message is received and the app is closed (whether the message is received by Firebase or push notification).

  2. Close the connection to Firebase when the app is sent to the background.

I'll update this issue when one of those options has been implemented.

bensmiley avatar Apr 25 '17 04:04 bensmiley

Fixed in v4.0

bensmiley avatar Oct 19 '17 16:10 bensmiley