Firebase exercise project that integrates Kotlin Coroutines, Koin, Room, Navigation Architecture Components, ViewModel/LiveData, and Data Binding.
- Go to the Firebase console and create a project
- Download google-services and put it in /app directory.
- Run the application.
- Go to the Firebase Database
- Modify the rule to allow read and write
- Create users collection
collection -------- document ----------------------------field----------------------------
users autoId name(String), email(String), created(Timestamp)
- Go to the Firebase Authentication
- GO to the sign-in method tab and enable email password
- When the testcrash button is pressed in the app, a runtime exception is raised
- Go to the crash tab of the Firebase homepage and check
- GO to the Firebase Storage
- Modify the rule to allow read and write
- Go to the StorageRepositoryImpl class and modify the path accordingly
//TODO : Please modify the path appropriately
val storageRef = storage.getReferenceFromUrl("Enter your url")
//TODO : Please modify the path appropriately
val listRef = storage.reference.child("Enter your folder")
- Analytics event settings.
- Check the event name in the FirebaseAnalytics.Event. class
- How to register customEvent
fun customEvent(eventName: String) {
analytics.logEvent(eventName, Bundle())
}
- To be added