Repository navigation
fix: disable Firebase diagnostics data collection - #1053
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughBoth app property lists disable default Firebase data collection. DashPay also removes its Firebase deep-link pasteboard and custom-domain settings. ChangesFirebase collection defaults
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: 🔵 Low · up to The PR disables Firebase diagnostics data collection in both app targets, reducing data sharing without changing app functionality. It is mergeable with owner awareness that the final archived bundles and SDK enforcement should be verified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.) ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
FirebaseCoreDiagnostics is linked into both app targets and starts from the unconditional `[FIRApp configure]` in AppDelegate. Once a day it sends Google a proto containing the bundle ID, device model, iOS version, Firebase SDK versions and the list of installed Firebase services, via GoogleDataTransport. FIRCoreDiagnostics.sendDiagnosticsData bails out when `FirebaseDataCollectionDefaultEnabled` is false, but the key was absent from both Info.plists, so it defaulted to enabled. Set it explicitly. This only gates diagnostics/telemetry collection; Firebase Storage operations (the Explore Dash merchant database download) are unaffected. Co-Authored-By: Claude Fable 5 <[email protected]>
c4b8829 to
0535abf
Compare
What
Adds
FirebaseDataCollectionDefaultEnabled = falseto both app targets' Info.plists.Why
This came out of a community question in the Russian Telegram group asking whether analytics/tracking are enabled in the new iOS build. The good news is there is no analytics SDK in the iOS app — no FirebaseAnalytics, no GoogleAppMeasurement, Crashlytics, Mixpanel, Amplitude, Sentry or AppsFlyer are linked, there are zero
logEvent/trackEventcall sites, and there is no IDFA/ATT surface at all.But
FirebaseCoreDiagnosticsis linked into both targets (it is a transitive dependency ofFirebaseCore), and it starts from the unconditional[FIRApp configure]atDashWallet/AppDelegate.m:113. Up to once per day it sends Google a proto over GoogleDataTransport containing:FIRCoreDiagnostics.sendDiagnosticsDatareturns early whenFirebaseDataCollectionDefaultEnabledis false:That key was absent from both
DashWallet/Info.plistandDashPay/dashpay-info.plist, so it defaulted to enabled. This PR sets it explicitly.Scope
The flag gates Firebase's diagnostics/telemetry collection only. Firebase Storage operations — the Explore Dash merchant database download from
gs://dash-wallet-firebase.appspot.com— are unaffected, as is everything else in the app.Verification
plutil -lintpasses on both plists.plutil -extract FirebaseDataCollectionDefaultEnabled rawreturnsfalsefor both.Info.plist-only change; no source or build-setting changes.
Related
Two companion PRs address the other two outbound channels found in the same audit: the unused Firebase Dynamic Links SDK (which fingerprints the device on first launch) and a per-foreground IP geolocation lookup to ip-api.com.
🤖 Generated with Claude Code
Summary by CodeRabbit