Firebase realtime database in android
How to apply firebase realtime database to android
- Create a new project and connect to APP in firebase console
- Download google-services.json file in firebase console
- Add google-services.json to Android project
- Modify build.properties in Android Studio
- Add your code in Android Studio
private DatabaseReference mDatabase;// ...
mDatabase = FirebaseDatabase.getInstance().getReference();
Leave a comment