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달 전67회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠