Skip to content

cryptomator/android

Repository files navigation

cryptomator-android

Twitter Community Documentation Crowdin

Cryptomator offers multi-platform transparent client-side encryption of your files in the cloud.

Cryptomator for Android is currently available in the following distribution channels:

  1. Using Google Play
  2. Using Cryptomator's Website
  3. Using Cryptomator's F-Droid Repository
  4. Using F-Droid's Main Repository
  5. Building from source using Gradle (instructions below)

Building

Dependencies

  • Git
  • JDK 17
  • Gradle

Run Git and Gradle

./gradlew assembleApkstoreDebug

Before connecting to Dropbox, OneDrive or pCloud you have to provide valid API keys using environment variables: For build type

  • release: DROPBOX_API_KEY, ONEDRIVE_API_KEY and ONEDRIVE_API_REDIRCT_URI or PCLOUD_CLIENT_ID
  • debug: DROPBOX_API_KEY_DEBUG, ONEDRIVE_API_KEY_DEBUG and ONEDRIVE_API_REDIRCT_URI_DEBUG or PCLOUD_CLIENT_ID_DEBUG

Before connecting to Google Drive you have to create a new project in Google Cloud Platform with Google Drive API, credentials including Google Drive scopes (read, write, delete,..) and the fingerprint of the key you use to build the app.

Reproducible Build Cryptomator Lite

Use the Docker image to verify the build of the 'lite' flavor:

  1. Clone this repository
  2. Checkout the tag you want to build, e.g. 1.8.0
  3. Build the image using docker build -t cryptomator-android . in the buildsystem/ directory
  4. Build Cryptomator using docker run --rm -u $(id -u):$(id -g) -v $(pwd):/project -w /project cryptomator-android .