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

How to enable push notifications for the messages when the application is in kill state?

Open shashankshahplutus opened this issue 4 years ago • 2 comments

Hello, Everyone!

I have implemented chat21-android-SDK ad chat seems working fine (firebase cloud functions installed properly). The only concern is we are not able to receive any push notifications when the application is in a kill state.

Do I need to make any configuration changes in the cloud functions under functions/push-notification.js? Or are there any changes required in my android code? Please help me to enable receiving push notifications when someone sends me a message and the application is in a kill state or background state.

Thanks in advance!

shashankshahplutus avatar Jan 06 '21 16:01 shashankshahplutus

How we can send a token for receiving notifications in Android using Chat21 SDK? Thanks

vikas-jain-plutus avatar Jan 09 '21 11:01 vikas-jain-plutus

image_2021_01_09T11_44_31_770Z Here iOS have the functionality for receiving notification. Please check the screenshot and let me know regarding Android.

vikas-jain-plutus avatar Jan 09 '21 11:01 vikas-jain-plutus