fix: switch off Firebase Analytics' automatic collection in Edition's Disable tracking #111

Closed
midas wants to merge 0 commits from review/90-edition-analytics into dev
Owner

Part of #105, fixes #90.

The Edition manifest only had google_analytics_default_allow_ad_personalization_signals=false, so Firebase Analytics kept its automatic collection (first_open, session_start, screen_view). editionManifestCleanupPatch now sets firebase_analytics_collection_deactivated=true, firebase_analytics_collection_enabled=false, no automatic screen reporting and all google_analytics_default_allow_* to false.

Verified: build, all 13 patches Applied on de Volkskrant 7.53.1, aapt2 dump of the patched manifest shows the flags as booleans. Not verified: logcat with Firebase debug mode on a device.

🤖 Generated with Claude Code

Part of #105, fixes #90. The Edition manifest only had `google_analytics_default_allow_ad_personalization_signals=false`, so Firebase Analytics kept its automatic collection (first_open, session_start, screen_view). `editionManifestCleanupPatch` now sets `firebase_analytics_collection_deactivated=true`, `firebase_analytics_collection_enabled=false`, no automatic screen reporting and all `google_analytics_default_allow_*` to false. Verified: build, all 13 patches Applied on de Volkskrant 7.53.1, aapt2 dump of the patched manifest shows the flags as booleans. Not verified: logcat with Firebase debug mode on a device. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix: switch off Firebase Analytics' automatic collection in Edition's Disable tracking
All checks were successful
CI / Build (pull_request) Successful in 11m33s
ea6409f120
The Edition apps ship no firebase_analytics_collection_enabled flag, so the SDK kept logging
first_open, session_start and screen_view although the app's own events were dropped. The
manifest cleanup now deactivates collection and sets every Google Analytics consent default
to false.

Refs #90 (device check with Firebase debug mode still open)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
midas closed this pull request 2026-10-17 16:41:52 +02:00
All checks were successful
CI / Build (pull_request) Successful in 11m33s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.