相关疑难解决方法(0)

Firebase静默通知无法启动已关闭的iOS应用

FCM无声通知可以启动一个封闭的iOS应用吗?

Request Type: POST

Request URL: https://fcm.googleapis.com/fcm/send

Request Headers:

Authorization -> key=MY_KEY

Content-Type -> application/json

Request Body:

{
  "to": "/topics/my_topic",
  "content_available": true,
  "data": {
    "contentAvailable": 1
  },
  "priority": 10
}
Run Code Online (Sandbox Code Playgroud)

但是,如果用户关闭它,此有效负载不会启动我的iOS应用程序.

如何在收到无声通知时让iOS启动我的应用程序?

push-notification apple-push-notifications ios firebase firebase-cloud-messaging

7
推荐指数
1
解决办法
1655
查看次数