Ensure the application react correctly if analytics is disabled at compilation time.

This commit is contained in:
Benoit Marty 2023-07-21 19:19:17 +02:00
parent c1d6c0c360
commit 82258f12ba
7 changed files with 19 additions and 5 deletions

View file

@ -103,6 +103,8 @@ fun DependencyHandlerScope.allLibrariesImpl() {
}
fun DependencyHandlerScope.allServicesImpl() {
// For analytics configuration, either use noop, or use the impl, with at least one analyticsproviders implementation
// implementation(project(":services:analytics:noop"))
implementation(project(":services:analytics:impl"))
implementation(project(":services:analyticsproviders:posthog"))
implementation(project(":services:apperror:impl"))