This is part of project to manage a coffee maker remotely. More details can be found here:
The Android app was developed in Kotlin following clean arquitecture, repository, factory, observer-subcriber and MVVM patterns. More details can be found here:
- MVVM arquitecture guide by Google
- MVVM project reference by Kevin Salazar
- MVVM article by Hazem Saleh
- Arquitecting Android by Fernando Cejas
- Repository pattern - Be aware of over abstraction Hannes Dorfmann
- Why clean arquitecture? by Jorge Sánchez
- Clean arquitecture code smells by Jorge Sánchez
Replace the app/google-services.json template for your own google-services.json.
Manually add Firebase To add Firebase to your app you'll need a Firebase project and a Firebase configuration file for your app.
- Create a Firebase project in the Firebase console, if you don't already have one. If you already have an existing Google project associated with your mobile app, click Import Google Project. Otherwise, click Add project.
- Click Add Firebase to your Android app and follow the setup steps. If you're importing an existing Google project, this may happen automatically and you can just download the config file.
- When prompted, enter your app's package name. It's important to enter the package name your app is using; this can only be set when you add an app to your Firebase project.
- At the end, you'll download a google-services.json file. You can download this file again at any time.
- If you haven't done so already, copy this into your project's module folder, typically app/.
For more details, check out the Firebase documention: