Monday, October 3, 2016

[Tutorial] Firebase Android project push notifications on window platform - part1

Step 1) 

Open a new Android project named "FirebasePush":


Step2

Go to your firebase console (https://console.firebase.google.com/) and click "CREATE NEW PROJECT" button to create a new firebase project.

Step 3 

Enter your project name, here i used the project name same as my Android project development: "FirebasePush", and then click "CREATE PROJECT".

 Step 4

Select "Click add firebase to your Android app".

 Step 5

Copy your android project package name from your AndroidManifest.xml to your firebase package name text input box. For my case it's "com.firebasetest.firebasepush".

Step 6

use command prompt and change the working directory as somewhere where your keytool located, it should be located in your bin folder in your java jdk installation directory.
[Android][Resolved] Where is Android keytool in windows platform?

and then use the command with default password "android" to get your Debug signing certificate SHA-1 key.
keytool -exportcert -list -v -alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore
Copy your  SHA-1 key to your firebase Debug signing certificate SHA-1 (optional) input box.
Then click "ADD APP".

Step 7

you can also add your SHA256 certificate fingerprints resulted in your command prompt when you get the SHA-1 key. you need to next the button next to firebase project package name, and then select "Manage".


click "ADD FINGERPRINT" and then paste your SHA256 certificate fingerprints in input box:


Continue:

[Tutorial] Firebase Android project push notifications on window platform - part1
[Tutorial] Firebase Android project push notifications on window platform - part2
[Tutorial] Firebase Android project push notifications on window platform - part3

No comments :

Post a Comment