How to integrate and synchronize our Android Studio project to Firebase Console.
In the previous Blog about Firebase. Firebase platform is very useful for us to provide backend service without code backend system by ourselves. In this section, we will discuss how to connect our app to Firebase.
Let’s get started:
- First you have to open the Firebase Console and select your project that we made in previous post
2. . Choose the app that you want to build, in this case, we will build the Android project.
3.Then you have to fill your project package and your app nickname, remember SHA-1 is optional but if your app will have to synchronize to log in using a Gmail account you have to fill it, after that click the “Register App” button.
4. After that download the google-services.json file to store it in your android project.
5. After that open your Android project and drop your google-services.json file into the app directory.
6. After That click the “Next” button in your firebase console to add some dependencies to your Android Project, do not forget to sync after adding the dependencies.
7. After that click button “Next” and Continue to console.
8. Now to make sure our project is already connected to Firebase let see in the Android Studio project, you can see like in the image below. you can click one of the tools in Firebase, in this case, I click “Analytics” and choose to get started.
9. After that click the “Connect to Firebase” button and if it is required to connect your Firebase Console you can click oke and it will go to your console.
10. Congratulations, your project already integrate with the Firebase console.
1. Thank you very much for your attention, in the next section we will discuss Firebase Authentication. See you soon