AWS Pinpoint push notification not showing while app is in background

0

Integrated AWS Pinpoint push notification in my react native app. In Android while app is in background notification is not delivered to notification drawer.

It's only issue when we send using AWS Pinpoint console, while sending from testfcm.com, it deliver correctly in device notification drawer.

Notification Payloads for Bothe cases:

Payload from testfcm.com: {"channelId": "fcm_fallback_notification_channel", "color": null, "data": {}, "finish": [Function finish], "foreground": true, "id": "-2060213543", "message": "Push notification body", "priority": "high", "smallIcon": "ic_notification", "sound": null, "tag": null, "title": "Push notification title", "userInteraction": false, "visibility": "private"}

Payload from AWS Pinpoint console: {"data": {"pinpoint.campaign.campaign_id": "_DIRECT", "pinpoint.notification.body": "This is new push notification body", "pinpoint.notification.silentPush": "0", "pinpoint.notification.title": "This is new push notification", "pinpoint.openApp": "true"}, "finish": [Function finish], "foreground": true, "id": "-134303354", "userInteraction": false}

Dinesh
gefragt vor 4 Monaten67 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen