After all we have explored, it is a good idea to write an Android application that covers the concepts. The complete application is written in the Kotlin language for Android:
- Create an Android Studio project with Kotlin support enabled (it's recommended to use Android Studio V-3.0+).
- Once the project is created with the Hello World boilerplate program, go to Tools | Firebase.
- In the assistance window panel, connect your project to your Firebase developer account and add the dependencies. For this project, we have to add the Realtime and Storage services together: