This guide will show you how to create FCM (Firebase Cloud Messages) project and generate Google json file for Android app.
- Go to https://console.firebase.google.com/
- Click -> Add project
- Enter your “Project name”, click “I accept” checkbox and press “Create project”
- Press “Continue”
- Click Android icon
- Enter you “Android package name” and press “Register app”
- Press “Download google-services.json” and copy file to “app” folder in you project (see screenshot), press “Next”
- Firebase SDK is already added to the project, just press “Next”
- Step “Run your app to verify installation”: press “Skip this step” link
- Press “Gear icon” and select “Project settings”
- Click “Cloud Messaging”, receive “Server key”, “Legacy Server key” and “Sender ID”