Firebase Push notifications don't work on iOS 13

后端 未结 8 1507
轮回少年
轮回少年 2021-01-03 02:31

Firebase push notifications aren\'t working on iOS 13. But works fine in iOS 12.4. Any solution?

Edited: 04.10.19

Silent push notification not working iOS 13

8条回答
  •  走了就别回头了
    2021-01-03 03:16

    Hope you add Notification delegate and other method

    So first can you try with postman using this below link

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

    In postman header 1). Authorization = key="Add Firebase server key" 2). Content-Type = application/json

    In postman body as row

    { "to" : "Your iPhone Device FCM Toen", "notification" : { "body" : "Body of Your Notification", "title": "Title of Your Notification", "sound": "default", "alert":"New" }, "priority": "high", "contentAvailable": true, "data" : { "body" : "Body of Your Notification in Data", "title": "Title of Your Notification in Title", "key_1" : "Value for key_1", "key_2" : "Value for key_2", } }

    First try using postman with above example and check in iOS 13

提交回复
热议问题