Wednesday, September 27, 2023

Set Up Firebase Integration

 

    • Go to the Firebase Console (https://console.firebase.google.com/) and create a new project or use an existing one.
    • Once the project is created, navigate to the "Project settings" and click on the "Cloud Messaging" tab to find your server key and sender ID. You'll need these for server-side integration.

     

    If server key is not available:

         

    1. Go to this link and enable: "Cloud Messaging" service:

    https://console.cloud.google.com/apis/api/googlecloudmessaging.googleapis.com

     

       2. In the project settings, add a web app (if you don't already have one) and download the Firebase configuration JSON file. You'll need this for server authentication.

     3. To get VAPID key, in the "cloud message" generate web push certificate key pair

     

     

     

     

     

     

     

     

     

     

     

     

     

    References: https://stackoverflow.com/questions/37427709/firebase-messaging-where-to-get-server-key

No comments:

Post a Comment