chat21 / chat21-android-sdk

Android Chat SDK built on Firebase
http://www.chat21.org
MIT License
233 stars 98 forks source link

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

Open shashankshahplutus opened 3 years ago

shashankshahplutus commented 3 years ago

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!

vikas-jain-plutus commented 3 years ago

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

vikas-jain-plutus commented 3 years ago

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.