Public and private key on Firebase Cloud Messaging (FCM)

FCM Project App

Firebase Cloud Messaging (FCM) is a cloud solution for messages on iOS, Android, and web applications. To create a project in FCM, you need to follow these general steps:

Create a Firebase Project
  • Enter a project name and Click on “Continue”.FCM Project
  •  Select your country/region and follow the on-screen instructions to set up your project.FCM Project
  • Your project has been created and ready to use. Click on the “Continue” for App.FCM Project Ready
Add an App (web) to FCM Project
  • Click on the web icon to create a new app.FCM Project App

 

  • Enter you app name as you want. And follow step to Continue.FCM Project App Name
  • Click on Continue to Console to configure Cloud Messaging Configuration.FCM Project App
Enable Firebase Cloud Messaging
  • Choose the created app from FCM console.FCM Project App
  • Click on “Cloud Messaging” on the top menu.FCM App Cloud Messaging
  • On bottom of the page, you will find a button to “Generate key pair”. Click on that.FCM App Key Pair
  • On click, you will get the public key visible to you on the page only.FCM Public Key
  • For security reasons, private key is hidden on the page. To view private key, click on the three dots in action column, then “show private key”. It will prompt an pop-up which contains FCM private key.    FCM Private Key

Leave a Reply

Your email address will not be published. Required fields are marked *