Sending Push Notification via FCM (Firebase)
I have configured the app to register the devices with Firebase and store the token on the DynamoDB table. Using campaigns on Firebase I am able to send messages from Firebase to the devices.
However, when I tried to send messages via Firebase using both Pinpoint and SNS I do not get see any trace of the notification being received on Firebase and the selected device.
Through the help of AWS support, I was informed that the structure to use for SNS should be { "GCM":"{ "notification": { "body": "Sample message for Android endpoints", "title":"TitleTest" } }" }
Also, using SNS I am able to see the response in Cloud Watch. The status of the response has the value SUCCESS
I looking for guidelines on how to correctly set up sending push notifications via Firebase using either SNS or PinPoint
Hi,
I was able to find these references in our documentation and knowledge centers.
SNS:
- Knowledge center article -> https://aws.amazon.com/premiumsupport/knowledge-center/create-android-push-messaging-sns/
- Documentation -> https://docs.aws.amazon.com/sns/latest/dg/sns-mobile-application-as-subscriber.html
Pinpoint:
That said, it seems that you already have a setup at the moment and you are able to see the SNS delivery logs. I understand that you see a successful response but can you check if the statusCode and providerResponse also indicate success? Have you shown the logs in the AWS Support case that you mentioned? It may be best to show these logs to the support case as we are not able to check account specific information here in re:Post.
Relevant questions
AWS SES not sending notification via SNS
Accepted Answerasked 5 months agoSending Push Notification via FCM (Firebase)
asked 4 months agoAWS Pinpoint Push Notifications on Unity C# not working for FCM
asked 2 months agoAdd Firebase dynamic link TXT in route 53
asked 2 months agoPinpoint Push Message Error
Accepted Answerasked 5 months agoSNS send same push notification to millions of user synchronously
asked a month agoPinpoint might be using the legacy cloud messaging API for push notification
asked a month agoI can't commit changes to DynamoDB
Accepted Answerasked 4 months agoIf I have enabled sensitive redaction data on Contact Lens, am I still able to listen to the unredacted audio through the console?
asked 2 months agoNot able to update the DynamoDB table from the IoT device (node-red) MQTT
asked a year ago