Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Override old notification- IOS

$
0
0

I'm trying to group notification(override old notification), and i'm using postman to send them(for checking) to the FCM, checking on IOS 13.3.

  • I'ts work in Android with "tag"
  • The problem in IOS

I tried

Add "apns-collapse-id" or with "collapse_key" like the document said but without any success. https://firebase.google.com/docs/cloud-messaging/concept-options

1.I sent in postman

{
    "to":"...........................",
    "collapse_key":"1",
    "data" : {
       "body" : "Body of Your Notification in Data",
       "title": "Title of Your Notification in Title",
       "sound": "default"
       },
    "notification":{
     "title":"7777",
     "priority":"high",
     "body":"Helgfgfdgfdgfdgfgfdgflo how are you?",
     "sound": "default"
    },
      "apns":{
        "headers":{
            "apns-collapse-id":"1"
        }
     }
}

2.And i tried to sent "apns-collapse-id as a header in postman


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>