FCM receive message Issue

前端 未结 1 333
被撕碎了的回忆
被撕碎了的回忆 2021-01-25 09:22

I\'m integrating FCM to my project. But I\'m getting below error in Log while notification received. (Error text color is blue)

W/FirebaseMessaging: Received mes         


        
相关标签:
1条回答
  • 2021-01-25 10:17

    Finally I got the solution

    In php side I'm sending

    "message_type":"text"
    

    That's why I got above error.

    As "message_type" keyword is predefined by FCM so it is conflicting. So change that keyword in PHP code.

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