Expo-Payload

Uygulamaya ulaşan payload objesinin içeriği aşağıdaki gibidir:

{
     "collapseKey": "com.example",
     "data": {
         "altUrl": "",
         "deepLink": "example://Home",
         "extraParam": "",
         "pushId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx",
         "pushType": "Image"
     },
     "from": "697196777607",
     "messageId": "0:1591265560144592%f61cc5d1f61cc5d1",
     "notification": {
         "android": {
             "clickAction": "http://example.com",
             "imageUrl": "http://example.com/logo.png",
             "sound": "default"
         },
         "body": "example",
         "title": "example"
     },
     "sentTime": 1591265560130,
     "ttl": 2419200
 }

Not : Expo kullanmıyorsanız  React Native Firebase SDK kullanmanızı öneririz.



Ana Başlık: Euromsg SDK

Copyright 2020 Related Digital