-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tutorial for Firebase #22
Comments
Wow that's really wonderful !!! You took a huge burdon away from me. I won't need to write that tutorial !! Thanks ... truly appreciated ! |
you're welcome |
i can't find api config directory |
Hi guys, I can't find the api_config.properties file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tutorial for Firebase integration
1. Account creation
Create yourself an account at Firebase
2. Go to the console
Click on the respective link in the upper right corner of Firebase or go here
3. Create new project
Just choose a name and leave everything on default.
4. Add Application
Click on ""Add Android Application to start" or similar. Put the following as package name:
org.nearbyshops.enduserappnew
If you already changed your package name, put the respective name.
5. OPTIONAL Add SHA
Loom up the following link to create a SHA-1:
SHA
6. Add JSON to code
Download the google-services.json, copy the code and just replace the whole code in your Android project in Nearby-Shops-Android-app/app/google-services.json
7. Skip step 3
SUmeet already configured all of this
8. Wait for recognization
Clean project, build and start your app.
Then wait for Firebase to recognize your app.
9. Add database
Click on the database tab, create a new one.
Copy the link and put it into your api_config.properties at databse_url
10. Add Admin SDK
Go to your settings in Firebase(icon on the top of sideboard). Go to Service Accounts.
Then click on "Generate new private key"
Copy the key and paste it into your firebase_admin_sdk_key.json in your container. (Same directory as the api_config.properties file
The text was updated successfully, but these errors were encountered: