Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Getting Started With Firebase Cloud Messaging

DZone's Guide to

Getting Started With Firebase Cloud Messaging

How to set up Firebase and the new Firebase Cloud Messaging platform to push notifications to your app subscribers.

· Mobile Zone
Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

Firebase Cloud Messaging Guide

Firebase is a mobile platform that helps you quickly develop high-quality apps, grow your user base, and earn more money. Firebase is made up of complementary features that you can mix-and-match to fit your needs. As announced at Google I/O, Google Cloud Messaging Platform will get replaced by Firebase Cloud Messaging. The new mobile development platform, Firebase, is a suite of integrated products which are designed to help you develop your application. Read more about Firebase here.

Creating a New Project

Step 1: Sign into the Firebase Console with your Gmail ID.

Firebase Cloud Messaging Guide

Step 2: Click on ‘Create a new Project’ and enter a project name followed by selecting your country/region. Click on ‘Create Project’ to move further.

Firebase Cloud Messaging Guide

Firebase Cloud Messaging Guide

Step 3: Go to the dashboard, Select the project to access the project settings.

Firebase Cloud Messaging Guide

Step 4: Click on ‘Cloud Messaging’ for your Sender ID and Server Key.

Firebase Cloud Messaging Guide
Firebase Cloud Messaging Guide

Migrating From Google Cloud Messaging to Firebase Cloud Messaging

Step 1: Sign into https://console.firebase.google.com/ with your Gmail ID.

Migrating from GCM with this ultimate Firebase Cloud Messaging Guide

Step 2: Click on ‘IMPORT GOOGLE PROJECT’ and choose the project to be migrated to FCM.

Firebase Cloud Messaging Guide to import GCM projects to FCm

Step 3: Choose your Country/region and move further by clicking on ‘ADD FIREBASE’.

how to select the focus country/region using Create a new project with this Firebase Cloud Messaging Guide

Step 4: Go to the dashboard, then select the project to access the project settings.

Create a new project with this Firebase Cloud Messaging Guide

Step 5: Click on ‘Cloud Messaging’ for your Sender ID and Server Key.

Server ID and key with Firebase Cloud Messaging Guide

Step 6: You can check the list of your projects on the homepage.

 Firebase Cloud Messaging Guide for beginersCreate a new project with this Firebase Cloud Messaging Guide

Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.

Topics:
firebase ,google ,mobile

Published at DZone with permission of Ruchika Sharma. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}