Open
Description
Hello everybody. First of all thx for the library. I'm using it on 2 projects right now. Anyway, I have a question. I'm able to get the push notifications on both platforms.
On android I'm not able to receive push notification once the app is killed.
// listen on foreground ==> working
messaging().onMessage(async remoteMessage => {
}
// listen on background + quit state ==> working if app is in background, not working if app is killed
messaging().setBackgroundMessageHandler(async remoteMessage => {
}
Also one interesting note:
On Android I'm not able to receive a push notifications. I'm able to listen on those functions but no push notification is called.
Do you have an idea? Am I missing some config? I found this one. https://developer.zendesk.com/embeddables/docs/chat-sdk-v-2-for-android/push_notifications Do I need to change the firebase method as well?
class MyFirebaseMessagingService extends FirebaseMessagingService {
@Override
onMessageReceived(RemoteMessage remoteMessage) {
super.onMessageReceived(remoteMessage);
PushData pushData = pushNotificationsProvider.processPushNotification(remoteMessage);
}
Thx