Firebase onMessageReceived not called when app is inactive

前端 未结 5 1108
醉话见心
醉话见心 2021-01-22 05:23

I am using Firebase Cloud Messaging on Android.

  • I can successfully receive notification and data messages when the app is in the foreground.
  • The documen
5条回答
  •  旧时难觅i
    2021-01-22 06:05

    To send a message using API, you can use a tool called AdvancedREST Client.

    { "data": {
    "image": "https://ibin.co/2t1lLdpfS06F.png",
    "message": "Firebase Push Message Using API"
    "AnotherActivity": "True" },"to" : "f25gYF3***********************HLI"}
    

提交回复
热议问题