Skip to content

Building source code with Android Studio

Boriss Melikjan edited this page Sep 9, 2025 · 1 revision

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.

./gradlew clean fetchAndPackageDefaultConfiguration --args="'https://id.eesti.ee' 4" 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 config-lib/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 config-lib/src/main/assets/tslFiles folder.

Clone this wiki locally