Ben Smiley
Firebase Setup
Try
HackMD
Ben Smiley
·
Follow
Last edited by
Ben Smiley
on
Jun 9, 2020
Linked with GitHub
Contributed by
Edit
0
Comments
Feedback
Log in to edit or delete your comments and be notified of replies.
Sign up
Already have an account? Log in
There is no comment
Select some text and then click Comment, or simply add a comment to this page from below to start a discussion.
Discard
Send
Firebase Setup
Chat SDK Firebase
Go to the
Firebase
website and sign up or log in
Go to the
Firebase console
and make a new project
Click
Add project
Choose a name and a location
Click
Settings
(the gear icon). On the General tab, click
Add App -> Add Firebase to your Android app
Enter your package name - found in your app's
build.gradle
file, app name and SHA-1 key (required for phone sign-in)
Download the
google-services.json
file and add it to your app project. It should be added inside the
app
folder.
In the Firebase Console click Database, scroll down and create a new
Realtime Database
->
Start in test mode
In the Firebase dashboard click
Authentication -> Sign-in method
and enable all the appropriate methods
Enable push notifications:
Push Notifications
Enable the security rules:
Enabling Security Rules
.
Setup storage rules:
Storage rules
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up
Comment