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
質問済み 4ヶ月前68ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ