crisp-sdk-android
crisp-sdk-android copied to clipboard
Message received notification?
Notifications don't appear when a message is received. How can users know they have a new message from support? Is it possible to pull the number of unread messages?
Hi @alexbusuioc and thank you for your feedback.
For the moment, this feature is not implemented.
As discussed in https://github.com/crisp-im/crisp-sdk-android/issues/169#issuecomment-2018376805, the socket is only maintained when the ChatActivity is running so not before starting it, not after and not in app background, only in foreground, so if stopped, the Crisp SDK is not able to know if a new message has been received until the ChatActivity is restart.
This is clearly a limitation of our current implementation by design. As said in this same comment, we're discussing internally about it but it's not our main priority currently.
Hi @alexbusuioc,
Just to keep you up-to-date, the notification subject is currently discussed in the team about how we could implement it so the feature should come :) However, don't expect it in the next release ;)
Hi, I hope your team could implement this ASAP. We are currently going to migrate from Intercom to Crisp. But then I realized we don't know when our CS team already reply the thread/message when the user away/closing the chat dialog. :(
Hi @alexbusuioc and @syauqy, we've added the notifications feature in the new v2.0.7 release.
It's a first draft so it currently opens the Activity declared as the main entry point of your app (see wiki) but we're aiming to handle an optional Back Stack for you to open up any Activity you want to.
We've released a new 2.0.8 version with more notifications functionalities and mainly the possibility to add your own BackStack and choose to open automatically or not the Crisp chatbox on a notification tap.