This is an example Android Application that follow up Clean Architecture principles using MVVM pattern with Google architecture components and kotlin
Clone this repository and import into Android Studio
git clone https://github.com/jrodriguezva/MiFilMo.git
This project use Secrets Gradle Plugin for providing the secrets securely to Android project.
You must add the next configuration to local.properties
file:
API_KEY=xxxxxxxxx
GOOGLE_API_KEY=xxxxxxxxxx.apps.googleusercontent.com
SERVER_KEY=xxxxxx:xxxl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxx
store_file=../keystore/private.jks
store_password=123456
key_alias=alias
key_password=7891011
To get the API_KEY go to https://www.themoviedb.org/settings/api, create your API and paste it replacing xxxxxxx
Next step is create your firebase project.
- Go to https://console.firebase.google.com and create your project
- To activate authentication go to Authentification tab, press get started, and into the sign-in method tab enable email/password and google providers
- Activate Realtime Database and storage
- Download your google-services.json and move it into root project
To get GOOGLE_API_KEY go to Authentification tab, and into the sign-in method click on Google provider and copy web client ID
To get SERVER_KEY go to firebase project setting and into cloud messaging tab, copy the Server key
.
The last of file is the key to sign release build. You can create a jks file and set data or remove all properties and the build.config
release sign configuration
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -m 'Add some feature')
- Push your branch (git push origin my-new-feature)
- Create a new Pull Request