Skip to content

Building source code with Android Studio

Marten Rebane edited this page Jun 22, 2021 · 2 revisions

Before building the source code, please check the requirements: Requirements to use RIA DigiDoc

You can build the project from the command line like any other Android project. See Build your app from the command line.

./gradle clean fetchAndPackageDefaultConfiguration app:assemble

Or import project from Android Studio and run it from there.

NOTE: In order for the build to succeed the Firebase Crashlytics plugin requires google-services.json config file to be present inside "app" folder root

  • To validate signatures in offline mode, eu-lotl.xml and EE.xml files are bundled in app/src/main/assets/tslFiles folder. You can manually update TSL files by downloading the latest TSL files:
       1. https://ec.europa.eu/tools/lotl/eu-lotl.xml -> Rename file to "eu-lotl.xml"
       2. https://sr.riik.ee/tsl/estonian-tsl.xml -> Rename file to "EE.xml"
       3. Move these files to app/src/main/assets/tslFiles folder.