The contents content of the data payload object in the payload reaching the application are is as follows:
Code Block | ||
---|---|---|
| ||
{ "collapseKey": "com.example", "data": { "altUrl": "", "deepLink": "example://Home", "extraParam": "", { "pushId" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extraParam" : {}, "url" xxxxxxxxxxxxxxxx", "pushType": "Image" }, "from": "697196777607", "messageId": "0:1591265560144592%f61cc5d1f61cc5d1", "notification": { "android": { "clickAction": "http://example.com", "altUrl" "imageUrl": "http://example.com/logo.png", "mediaUrl" : "http://example.com" } "sound": "default" }, "body": "example", "title": "example" }, "sentTime": 1591265560130, "ttl": 2419200 } |
If you are not using Expo, we recommend using React Native Firebase SDK.
...
Page Parent: React Native (Expo) Visilabs Implementation