Firebase Analytics Privacy Concerns #8256
Replies: 1 comment
-
Hey there 👋 The output here is for the firebase-js-sdk packages:
If you are certain you will only be running on android and ios then you do not need firebase-js-sdk as a fallback package, and these will never be executed. If you want to be extra super sure that nothing there executes then you can use a package.json trick to null out those packages. Specifically, you can set a resolution strategy for those packages that resolves them to an empty package every time, like so from another project I work on: ...the trick is to just set whatever package names you want to be completely nulled out to that empty package line. I can verify it works in yarn1 and yarn4 at least, unsure on other package managers. The firebase-js-sdk will not be looking for or respond to any of the AndroidManifest.xml/Info.plist settings as those are for native and firebase-js-sdk is unaware of them. For native side, I am also privacy-minded and I was the person that implemented all the various plist / manifest toggles you see here in the schema (where you can verify they will be carried into the final merged/built AndroidManifest.xml by unpacking the APK and checking it: react-native-firebase/packages/app/firebase-schema.json Lines 8 to 55 in 9c6f607 I think the one you call out is the correct one to turn off, however I don't believe it will be necessary if are not including the analytics package. That said you may want to turn off the whole app data collection toggle near the end of that selection. In the end the only way to be absolutely sure is to do these changes, examine the merged/built AndroidManifest.xml from an APK to make sure it meets your satisfaction, and then to to run the app while sniffing network traffic to make sure it is only contacting expected endpoints |
Beta Was this translation helpful? Give feedback.
-
For our React-Native project, we want to use
react-native-firebase/app
andreact-native-firebase/messaging
to handle push notification on both iOS and Android.Our concern, however, is that we have a lot of very privacy minded users that do not want user or app tracking. We're worried that although we do not explicitly install
react-native-firebase/analytics
, it may still be installed indirectly in some form or another.When running
yarn list | grep firebase
this is the output, which is a bit concerning:We understand that it's possible to add these params to disable auto-tracking on iOS:
But is that enough?
At the end of the day, how do we make sure that users don't use our APK or IPAs, decompile it and find some stuff about Firebase Analytics?
Is this a legitimate concern to have?
To clarify, we don't want to use analytics at all – we're just worried about extra privacy-minded users finding something about analytics and creating a sh*tstorm on Twitter.
Beta Was this translation helpful? Give feedback.
All reactions