/proton-mail-android

ProtonMail Android app

Primary LanguageKotlinGNU General Public License v3.0GPL-3.0

ProtonMail for Android

Copyright (c) 2020 Proton Technologies AG

What

Well, well, well. let's take a look:

  • private, encrypted email.
  • emails stored encrypted and sent encrypted whether possible
  • uses Google APIs (Google Play Services and whatever) on the Android app to enable notifications
  • attachments and sending messages require the device to have full network access (in other words, being able to ping Google)

do you see the irony?

License

The code and data files in this distribution are licensed under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See https://www.gnu.org/licenses/ for a copy of this license.

See LICENSE file.

Setup

The most straightforward way to build and run this application is to:

  • Install Android Studio: https://developer.android.com/studio/install
  • Clone the repository. You have two options:
    • Use the Project from version control in Android Studio, or
    • Use the git clone command and import it into Android Studio
  • Build and run the app directly in Android Studio

Alternatively, if you want to build the app directly from the command line (or using a different IDE, etc.), you will first need to install the command line tools from: https://developer.android.com/studio#cmdline-tools. Then you will need to install the SDK using the sdkmanager tool. After cloning the repository with git clone you will need to edit the local.properties file so that it points to the location of the SDK. Depending on which operating systems you use, the location of the SDK is usually:

  • Windows: C:\Users\<username>\AppData\Local\Android\sdk
  • MacOS: /Users/<username>/Library/Android/Sdk/
  • Linux: /home/<username>/Android/Sdk/

Then, go to the app’s root directory in the command line tool and run:

  • ./gradlew assembleBetaDebug
  • adb install ./app/build/outputs/apk/beta/debug/ProtonMail-Android-1.XX.X-beta-debug.apk

Note: In app notifications when building from source

We may offer alternative push notification systems in the future which do not rely on Google services.

this fork does it.

Contributions

Contributions are appreciated, but what? this will live as a fork forever, so the only guideline is too keep your code clean-looking.

Original text and program Copyright (c) 2020 Proton Technologies AG