-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable Google Analytics introduced by Firebase #2657
Comments
Firebase Analytics was already removed. |
@alexara let me know if you find this not correct, but it really shouldn't be in the APK. |
Where and how? I searched for "firebase" but it not find anything in this repository that shows that it is disabled. Can you point me to the commit? |
We removed the firebase-core dependency and I don't think firebase-messaging pulls it in. The other two things you can add in Manifest are not really needed in case you don't have Firebase Core. |
But why did you add it in the first place? c7eed23
I thought it gets pulled in as inputmice stated here https://github.com/siacs/Conversations/issues/3041
Well, if I find some more time and proof you wrong I will comment on it again ;-) |
Because we had a user that wanted to use Analytics for themselves? |
Never mind, I read the comments on the PR. :-) Sorry for taking your time! |
Since you have introduced Firebase, you might need to explicitly disable Google Analytics (https://firebase.google.com/docs/analytics/). :-)
The instruction https://firebase.google.com/docs/analytics/android/start/ actually says:
So how can you disable the Analytics?
If you have a look at https://firebase.google.com/docs/android/setup#available_libraries it says that the
firebase-core
library corresponds to the Analytics part of FireBase.The
firebase-core
is pulled in as a dependency automatically once you add the Firebase SDK to you project.Hence you would like to remove it:
The official guide to disable Analytics does not tell you about this solution (or at least it's pretty good hidden) and suggests another:
Source: https://firebase.google.com/support/guides/disable-analytics
See also https://stackoverflow.com/questions/39327141/disable-the-analytics-service-for-firebase-cloud-messaging
PS: Nextcloud Talk for Android already disabled it:
The text was updated successfully, but these errors were encountered: