timy-messenger/android/README.md
2019-10-12 20:50:35 +02:00

1.4 KiB

Timy Android

Setting up Firebase

Create a project on the Firebase console here

  1. To add Firebase to your app, click on the android icon or click the gear icon to go to project settings to find the android icon.

  2. Register your application by filing up the form with the package name (applicationId) and the app nickname if you like.

Find Your package name which is generally the applicationId in your app-level build.gradle file

  1. Download the google-service.json file that is generated for you. Find it and move it inside the folder android/app/ of the project. The firebase sdk is already added to the project.

  2. On the fourth step of registration, run the app to verify the configuration via the Firebase console.

Distribution

To build this application for distribution, provide a file key.jks containing the signing keys, and the key.properties with the following content:

storePassword=.....
keyPassword=.....
keyAlias=key
storeFile=../key.jks

Where you set the storePassword and the keyPassword. You can also change the alias.

You will need to uncomment the section signingConfigs in the app/build.gradle.

And change the signingConfig signingConfigs.debug to signingConfig signingConfigs.release.

You can also provide this files from your CI instead of including this in the project.