• Stars
    star
    129
  • Rank 279,262 (Top 6 %)
  • Language
    Kotlin
  • Created over 4 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Proton Core components for Android

Usage

Add the desired library as following

implementation("me.proton.core:<name-of-the-lib>:<version>")

where <name-of-the-lib> reflect the one listed below, on lowercase, with - instead of spaces Util Android Shared Preferences: **0.1** can be resolved as me.proton.core:util-android-share-preferences:0.1

Where there are all or some of domain, data, presentation, they can be imported together with the parent module.

implementation("~:network-domain:~")
implementation("~:network-data:~")

or

implementation("~:network:~")

while the first one is suitable for multi-module projects, the latter is the suggested solution for monolithic clients.

Conventional Commits

  • For each Merge Request, all commits must adhere to Conventional Commits spec.
  • Whenever possible, use a module name as a scope (e.g. fix(account-manager): Fix login issue.).
  • Use a proper sentence as a description — start with an uppercase letter, end with a dot.

Allowed commit types

  • build*: Changes that affect build system (e.g. Gradle update)
  • chore: Changes other than source or test code (e.g. library version updates)
  • ci*: CI configuration
  • docs*: Documentation changes
  • feat: A new feature
  • fix: Bug fixes
  • i18n: Internationalization and translations
  • perf: Performance Improvements
  • refactor: A change in the source code that neither fixes a bug nor adds a feature
  • revert: Reverting a commit
  • style*: Code style changes, not affecting code meaning (formatting)
  • test*: Adding new tests or improving existing ones
  • theme: Changes related to UI theming

* Commits with those types, will be skipped when generating changelog.

Gradle tasks

  • :my_module:projectHealth or buildHealth - Runs dependency analysis on a single module or the whole project.
  • generateChangelog - Generates a changelog since the last release (tag). Output is written to CHANGELOG.md file.

Release

Core libraries

Release process is based on trunk branch for release process. Release is done by the CI.

To trigger a new release, navigate to the latest CI build on the main branch and launch the trigger-new-libs-release job. Before launching it, you can specify the next version number, by entering a NEXT_VERSION variable. If unspecified, the version number will be calculated automatically.

The trigger-new-libs-release job will generate and update the changelog, and commit the changes to the main branch. At this point you will be able to review the automatic changes. If the changes are correct, you should push a new branch named release/libs/X.Y.Z.

When the release is successfully done:

  • A message is post on internal communication tool using the content of the CHANGELOG.MD under the entry `## [X.Y.Z].
  • A tag release/libs/X.Y.Z is created from the commit used to do the release.

Version

  • Stable release X.Y.Z are published on MavenCentral.
  • Snapshot from every commit on the main branch are available using version main-SNAPSHOT under https://s01.oss.sonatype.org/content/repositories/snapshots/ repo.

Coordinates

Core libraries coordinates can be found under coordinates section

Coordinates
me.proton.core:account
me.proton.core:account-dagger
me.proton.core:account-data
me.proton.core:account-domain
me.proton.core:account-manager
me.proton.core:account-manager-dagger
me.proton.core:account-manager-data
me.proton.core:account-manager-data-db
me.proton.core:account-manager-domain
me.proton.core:account-manager-presentation
me.proton.core:account-manager-presentation-compose
me.proton.core:account-recovery
me.proton.core:account-recovery-dagger
me.proton.core:account-recovery-data
me.proton.core:account-recovery-domain
me.proton.core:account-recovery-presentation-compose
me.proton.core:account-recovery-test
me.proton.core:auth
me.proton.core:auth-dagger
me.proton.core:auth-data
me.proton.core:auth-domain
me.proton.core:auth-presentation
me.proton.core:auth-test
me.proton.core:contact
me.proton.core:contact-data
me.proton.core:contact-domain
me.proton.core:contact-dagger
me.proton.core:configuration-data
me.proton.core:configuration-dagger-staticdefaults
me.proton.core:configuration-dagger-content-resolver
me.proton.core:core-platform
me.proton.core:country
me.proton.core:country-dagger
me.proton.core:country-data
me.proton.core:country-domain
me.proton.core:country-presentation
me.proton.core:crypto
me.proton.core:crypto-android
me.proton.core:crypto-common
me.proton.core:crypto-dagger
me.proton.core:crypto-validator
me.proton.core:crypto-validator-dagger
me.proton.core:crypto-validator-data
me.proton.core:crypto-validator-domain
me.proton.core:crypto-validator-presentation
me.proton.core:data
me.proton.core:data-room
me.proton.core:domain
me.proton.core:event-manager
me.proton.core:event-manager-dagger
me.proton.core:event-manager-data
me.proton.core:event-manager-domain
me.proton.core:feature-flag
me.proton.core:feature-flag-data
me.proton.core:feature-flag-domain
me.proton.core:feature-flag-dagger
me.proton.core:human-verification
me.proton.core:human-verification-dagger
me.proton.core:human-verification-data
me.proton.core:human-verification-domain
me.proton.core:human-verification-presentation
me.proton.core:human-verification-test
me.proton.core:key
me.proton.core:key-dagger
me.proton.core:key-data
me.proton.core:key-domain
me.proton.core:key-transparency
me.proton.core:key-transparency-dagger
me.proton.core:key-transparency-data
me.proton.core:key-transparency-domain
me.proton.core:key-transparency-presentation
me.proton.core:label
me.proton.core:label-dagger
me.proton.core:label-data
me.proton.core:label-domain
me.proton.core:mail-message
me.proton.core:mail-message-dagger
me.proton.core:mail-message-data
me.proton.core:mail-message-domain
me.proton.core:mail-settings
me.proton.core:mail-settings-dagger
me.proton.core:mail-settings-data
me.proton.core:mail-settings-domain
me.proton.core:mail-settings-dagger
me.proton.core:mail-send-preferences
me.proton.core:mail-send-preferences-dagger
me.proton.core:mail-send-preferences-data
me.proton.core:mail-send-preferences-domain
me.proton.core:metrics
me.proton.core:metrics-dagger
me.proton.core:metrics-data
me.proton.core:metrics-domain
me.proton.core:network
me.proton.core:network-dagger
me.proton.core:network-data
me.proton.core:network-domain
me.proton.core:network-presentation
me.proton.core:notification
me.proton.core:notification-dagger
me.proton.core:notification-data
me.proton.core:notification-domain
me.proton.core:notification-presentation
me.proton.core:notification-test
me.proton.core:observability
me.proton.core:observability-dagger
me.proton.core:observability-data
me.proton.core:observability-domain
me.proton.core:observability-tools
me.proton.core:payment
me.proton.core:payment-dagger
me.proton.core:payment-data
me.proton.core:payment-domain
me.proton.core:payment-presentation
me.proton.core:payment-iap
me.proton.core:payment-iap-dagger
me.proton.core:payment-iap-data
me.proton.core:payment-iap-domain
me.proton.core:payment-iap-presentation
me.proton.core:payment-iap-test
me.proton.core:plan
me.proton.core:plan-dagger
me.proton.core:plan-data
me.proton.core:plan-domain
me.proton.core:plan-presentation
me.proton.core:plan-test
me.proton.core:push
me.proton.core:push-dagger
me.proton.core:push-data
me.proton.core:push-domain
me.proton.core:presentation
me.proton.core:presentation-compose
me.proton.core:proguard-rules
me.proton.core:report
me.proton.core:report-dagger
me.proton.core:report-data
me.proton.core:report-domain
me.proton.core:report-presentation
me.proton.core:report-test
me.proton.core:challenge
me.proton.core:challenge-dagger
me.proton.core:challenge-data
me.proton.core:challenge-domain
me.proton.core:challenge-presentation
me.proton.core:telemetry
me.proton.core:telemetry-dagger
me.proton.core:telemetry-data
me.proton.core:telemetry-domain
me.proton.core:telemetry-presentation
me.proton.core:test-android
me.proton.core:test-android-instrumented
me.proton.core:test-kotlin
me.proton.core:test-quark
me.proton.core:user
me.proton.core:user-dagger
me.proton.core:user-data
me.proton.core:user-domain
me.proton.core:user-settings
me.proton.core:user-settings-dagger
me.proton.core:user-settings-data
me.proton.core:user-settings-domain
me.proton.core:user-settings-presentation
me.proton.core:user-settings-presentation-compose
me.proton.core:util-android-dagger
me.proton.core:util-android-shared-preferences
me.proton.core:util-android-strict-mode
me.proton.core:util-android-work-manager
me.proton.core:util-android-sentry
me.proton.core:util-android-device
me.proton.core:util-kotlin

More Repositories

1

WebClients

Monorepo hosting the proton web clients
TypeScript
4,315
star
2

proton-mail-android

Proton Mail Android app
Kotlin
1,741
star
3

ios-mail

Secure email that protects your privacy
Swift
1,439
star
4

proton-bridge

Proton Mail Bridge application
Go
1,137
star
5

gopenpgp

A high-level OpenPGP library
Go
1,018
star
6

proton-python-client

Python Proton client module
Python
343
star
7

gluon

An IMAP server library written in Go
Go
339
star
8

go-crypto

Fork of go/x/crypto, providing an up-to-date OpenPGP implementation
Go
323
star
9

react-components

List of React components for Proton web-apps
TypeScript
177
star
10

proton-mail

React web application to manage ProtonMail
TypeScript
172
star
11

android-mail

Proton Mail Android app
Kotlin
141
star
12

design-system

Design system for new Proton project
SCSS
124
star
13

proton-calendar

Proton Calendar built with React.
TypeScript
120
star
14

proton-drive

TypeScript
115
star
15

proton-shared

Shared logic for Proton web-app
TypeScript
71
star
16

go-appdir

Minimalistic Go package to get application directories such as config and cache
Go
63
star
17

inbox-desktop

Desktop application for Mail and Calendar, made with Electron
63
star
18

proton-mail-settings

React web application to manage ProtonMail settings
TypeScript
52
star
19

ct-monitor

A monitoring tool for certificate transparency of ProtonMail's SSL/TLS certificates
Python
42
star
20

go-srp

Go
38
star
21

pmcrypto

TypeScript
37
star
22

go-proton-api

Proton API library used by Go-based clients and tools
Go
32
star
23

gosop

Stateless CLI for GopenPGP
Go
24
star
24

libsieve-php

libsieve-php is a library to manage and modify sieve (RFC5228) scripts. It contains a parser for the sieve language (including extensions) and a client for the managesieve protocol. It is written entirely in PHP 8+.
PHP
21
star
25

mutex-browser

Acquire a mutex in the browser through IndexedDB or cookies
TypeScript
19
star
26

releaser

A release note generator that reads and parses git commits and retrieves issue links from GitHub.
JavaScript
16
star
27

go-mime

Go
15
star
28

encrypted-search

Encrypted search functionality for the browser
JavaScript
14
star
29

proton-account

Proton account settings
TypeScript
13
star
30

sieve.js

Javascript library to wrap sieve configuration
JavaScript
13
star
31

protoncore_ios

Swift
11
star
32

cpp-openpgp

C++
10
star
33

proton-pack

Command to run a dev-server, build etc. with OpenPGP. On top of webpack.
JavaScript
10
star
34

proton-bundler

CLI tools to bundle Proton web clients for deploys
JavaScript
9
star
35

apple-fusion

fusion is a lightweight and easy-to-use UI testing framework built on top of Apple XCTest that supports testing on iOS and macOS platforms. Developed with readability and reliability in mind.
Swift
9
star
36

bip39

JavaScript implementation of Bitcoin BIP39
TypeScript
8
star
37

componentGenerator

CLI to create new components for the Front-End @ ProtonMail.
JavaScript
7
star
38

interval-tree

Red-black interval tree
TypeScript
7
star
39

php-coding-standard

ProtonLabs Coding Standard for PHP_CodeSniffer (extending PER coding style)
PHP
7
star
40

pm-srp

ProtonMail SRP and auth library
JavaScript
7
star
41

source-map-parser

Command line utility to parse js source maps with with node.js
JavaScript
6
star
42

haproxy-health-check

HAProxy Health Check for EXABGP
Python
6
star
43

pt-formgenerator

Html form generator library
JavaScript
6
star
44

account

JavaScript
6
star
45

go-rfc5322

An RFC5322 address/date parser written in Go
Go
6
star
46

proton-translations

6
star
47

go-ecvrf

Golang implementation of ECVRF-EDWARDS25519-SHA512-TAI, a verifiable random function described in draft-irtf-cfrg-vrf-10.
Go
5
star
48

protonmail.github.io

HTML
5
star
49

therecipe_qt

Go
5
star
50

proton-parking

Gatsby website for parking domains
TypeScript
4
star
51

webcrypto-spec

Specification for extension of webcrypto api
HTML
4
star
52

ios-networking

shared networking framworks
Swift
4
star
53

android-fusion

Android Fusion is a extensible lightweight Android instrumented test framework that combines Espresso, UI Automator and Compose Ui Test into one easy-to-use API with the clear syntax, at the same time keeping the native Android frameworks APIs unchanged.
Kotlin
4
star
54

proton-i18n

CLI to manage translations for client apps
JavaScript
3
star
55

proton-lint

Modern eslint config for a more civilized age
JavaScript
3
star
56

fe-proxy

A simple proxy server that redirects to different urls
JavaScript
3
star
57

Illuminate-Foundation

Illuminate Foundation Mirror
PHP
2
star
58

opendkim

This is a fork of https://sourceforge.net/p/opendkim/git/ci/master/tree/
C
2
star
59

logging

go logging
Go
2
star
60

openpgp-interop-test-analyzer

Python scripts to analyze results from the Openpgp interoperability test suite
Python
2
star
61

danger-random_reviewers

Ruby
1
star
62

u2f

JavaScript
1
star
63

react-storybook

Isolated React components from https://github.com/ProtonMail/react-components
JavaScript
1
star
64

key-transparency-web-client

TypeScript
1
star
65

x509-sign

Simple endpoint to sign ASN1 strings
PHP
1
star
66

openpgp-interop-test-docker

Docker image to run the OpenPGP interoperability test suite
Dockerfile
1
star
67

gomobile-build-tool

Go
1
star
68

therecipe_env_darwin_arm64_513

C++
1
star
69

pm-key-transparency-go-client

Go
1
star
70

proton-mobile-test

HTML
1
star