mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
41e282f19a3d3c35ba3f307a4dc82bb2477235c3
274 code encapsulation The goal of this branch is to better compartmentalize, structure and simplify the code in the Android module. It does this via the following techniques: * Extended use of Dagger by introducing a component for Activities that injects, among other things, SharedPreferences and Fragments. The latter makes it possible to mock fragments more easily and letting Dagger automatically handle its injections. * Decouple Briar API code, from the activities and Fragments, and encapsulate in re-usable Controller classes * Introduce a UI-thread App event bus that the Helper classes use to communicate with Activities & Fragments. * Define the testing methods in the briar-android module per Robolectric and Mockito NOTE! Don't be alarmed if you see the contact introduction message one more time, one of the changes was to purify UI shared preferences from the Briar shared preferences, which now only contain preferences related to the API and it's usage. closes #274 See merge request !130
Briar is a messaging app designed for activists, journalists, and anyone else who needs a safe, easy and robust way to communicate. Unlike traditional messaging tools such as email, Twitter or Telegram, Briar doesn't rely on a central server - messages are synchronized directly between the users' devices. If the Internet's down, Briar can sync via Bluetooth or Wi-Fi, keeping the information flowing in a crisis. If the Internet's up, Briar can sync via the Tor network, protecting users and their relationships from surveillance.
Description
Languages
Java
97.9%
Kotlin
1.9%