FCM Notification not received (on Galaxy S8 and One-Plus 3) if app is closed or removed from Task Manager

后端 未结 1 820
你的背包
你的背包 2021-01-26 16:03

I have implemented FCM (Firebase Notification) and everything is working fine on all devices except Samsung Galaxy S8 and One-Plus 3

When application running in foregrou

相关标签:
1条回答
  • 2021-01-26 16:50

    FCM sends notification in two forms inside data tag and another one in notification tag. When the app is open the data is triggered and when the app is cleared from the background, FCM tries to handle the notification on its own using notification tag. What you can do is by asking the server guy only to send with data as a key and not notification. Then you can handle the notification.

    For more information read this link

    0 讨论(0)
提交回复
热议问题