Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

2: organise module with clean archi, use Koin for injection.

Guillaume Jacquart requested to merge 2-privacymodules_to_clean_archi into main

Description

Privacy modules where historically designed as independant Services. With time and feature (and it will be even more true with the standalone app), more and more modules appears to depend on core feature, or even other modules.

This MR re-organize the modules to make them coherent together, and with a clean archi look. Further features implementation or refacto would be able to take advantage of this to simplify some layers.

This MR also introduce the use of Koin as dependency injection service, instead of the previous custom one.

Technical details

Most changes are files moves. Other code changes are Koin implementation, or use of AppListRepository instead of custom callbacks.

Tests

Issues

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Related to #2

Merge request reports

Loading