FCM setup for Android Push Notifications

Ankush Aggarwal
2 min readJul 18, 2016

--

Firebase Cloud Messaging (earlier known as Google Cloud Messaging — GCM) is a mobile service developed by Google that enables third-party application developers to send push notifications to users. Below are the steps to create SERVER_KEY and SENDER_ID require to send push notification.

Create a Firebase Console Project

  • Enter a project name and click Create
  • Go to Project Settings from menu on the left
  • Click on Cloud Messaging and note down the SERVER_KEY and SENDER_ID highlighted in red box below

Boom! SENDER_ID will be used by mobile device to register device token to server and SERVER_KEY will be used by server to send push notification to mobile device.

See references for push notification server and client code on github.

If this post was helpful, please click the clap 👏button below a few times to show your support! ⬇⬇

Some good references

--

--