Notifications from CometChat has an optional payload. The problem with this approach is you don’t get complete control of the notification when the app is killed or in the background. “onMessageReceived” from my FirebaseMessagingService is never called and the notifications have a default appearance on the system tray, and it is necessary to parse the intent extras on the launcher activity and do the whole process again.
Is there any way, that you can enforce “data-only” notification types so that onMessageReceived is called no matter what state the app is in?
@aditya.gokula this is urgent, can you please suggest a workaround for this asap?