AWS::Pinpoint::GCMChannel with ServiceJson content

0

I am migrating the Google push notification service legacy FCM APIs to HTTP v1 in AWS Pinpoint using a serverless setup. Currently, i am facing an issue with passing the ServiceJson value as a string. We have the Google JSON content, but when I try to convert it to a string and pass it into the ServiceJson property, it doesn't work. I have checked several portals for hints but haven't found a solution yet.

1 Answer
0

Have you in any ways already enabled the Firebase Cloud Messaging API (V1) for your project ? Remember to switch to OAuth 2.0 tokens for authentication using the downloaded JSON credentials.

EXPERT
answered a year ago
  • Hello Giovanni Lauria,

    Thank you for your time.

    When I upload the google-service.json file through the AWS console, it works perfectly. However, I encounter an error when deploying through the serverless framework, even though the service is already enabled in Firebase.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions