Skip to content

Exclude some groups about analytics. #1191

Closed
@bmarty

Description

@bmarty

On Element Android, we excluded some groups related to analytics when adding the dependency to google messaging, see:

https://github.com/vector-im/element-android/blob/develop/vector-app/build.gradle#L418

    gplayImplementation(libs.google.messaging) {
        exclude group: 'com.google.firebase', module: 'firebase-core'
        exclude group: 'com.google.firebase', module: 'firebase-analytics'
        exclude group: 'com.google.firebase', module: 'firebase-measurement-connector'
    }

We may want to do the same on EXA codebase, at this location:

https://github.com/vector-im/element-x-android/blob/develop/libraries/pushproviders/firebase/build.gradle.kts#L41

probably like this (did not check the effects):

    api("com.google.firebase:firebase-messaging-ktx") {
        exclude(group = "com.google.firebase", module = "firebase-core")
        exclude(group = "com.google.firebase", module = "firebase-analytics")
        exclude(group = "com.google.firebase", module = "firebase-measurement-connector")
    }

We will need to check the effect on the generated APK content, and also check that nothing is broken regarding our usage of Firebase (for Push).

Metadata

Metadata

Assignees

Labels

A-PrivacyIssues relating to user privacyO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-TolerableLow/no impact on usersT-TaskRefactoring, enabling or disabling functionality, other engineering tasks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions