docs: Disable tracking sections describe the draft, not the code #63

Closed
opened 2026-10-11 09:15:25 +02:00 by midas · 0 comments
Owner

Found in the codebase review (2026-10-11). The "Disable tracking" sections in the app notes read like the design draft and no longer describe the code; other doc drift was fixed in the review.

docs/apps/gelderlander.md, "Implemented patch: Disable tracking" mentions alternatives ("Alternatively ...", "And/or no-op ..."), overrideFeatureFlag("FEATURE_COMSCORE", "disabled") (the real API is FeatureFlagOverride(key, value: Boolean, toggleKey)) and Facebook via skipping a block in g9d.f(). What kubus/tracking/DisableTrackingPatch.kt does: TrackingStarter.g() gets return-void (see the FIAM issue); FirebaseAnalytics.setAnalyticsCollectionEnabled gets p1 forced false; Crashlytics through DisableCrashlyticsPatch; FEATURE_COMSCORE overridden with value = false, toggleKey = null; plus dpg/tracking disableComscorePatch (Analytics.start), disableFacebookSdkPatch (FacebookSdk.fullyInitialize), disableSnowplowPatch and kubusManifestCleanupPatch.

docs/apps/volkskrant.md, Disable tracking: says setAnalyticsCollectionEnabled(false) is forced in FirebaseTracker.updateConsent; the code makes both updateConsent and trackEvent return-void. "(or completely if Usabilla is handled by #36)": only FirebaseTrackingEvent is dropped. Snowplow: only the empty list, no SnowplowInitializer.init no-op. Missing: the manifest cleanup also removes Contentsquare's CSQInitializer; the Crashlytics hook is the isReleaseBuild read in CrashlyticsStartupTask.onStartup.

Also: the issue templates use labels Bug report / Feature request that don't exist in the repo, and the bug template has no fields for app, app version and patches version.

Done when: both sections list exactly what the patch does, and the templates' labels exist (or are removed).

Found in the codebase review (2026-10-11). The "Disable tracking" sections in the app notes read like the design draft and no longer describe the code; other doc drift was fixed in the review. **`docs/apps/gelderlander.md`, "Implemented patch: Disable tracking"** mentions alternatives ("Alternatively ...", "And/or no-op ..."), `overrideFeatureFlag("FEATURE_COMSCORE", "disabled")` (the real API is `FeatureFlagOverride(key, value: Boolean, toggleKey)`) and Facebook via skipping a block in `g9d.f()`. What `kubus/tracking/DisableTrackingPatch.kt` does: `TrackingStarter.g()` gets `return-void` (see the FIAM issue); `FirebaseAnalytics.setAnalyticsCollectionEnabled` gets p1 forced false; Crashlytics through `DisableCrashlyticsPatch`; `FEATURE_COMSCORE` overridden with `value = false, toggleKey = null`; plus `dpg/tracking` `disableComscorePatch` (`Analytics.start`), `disableFacebookSdkPatch` (`FacebookSdk.fullyInitialize`), `disableSnowplowPatch` and `kubusManifestCleanupPatch`. **`docs/apps/volkskrant.md`, Disable tracking:** says `setAnalyticsCollectionEnabled(false)` is forced in `FirebaseTracker.updateConsent`; the code makes both `updateConsent` and `trackEvent` `return-void`. "(or completely if Usabilla is handled by #36)": only `FirebaseTrackingEvent` is dropped. Snowplow: only the empty list, no `SnowplowInitializer.init` no-op. Missing: the manifest cleanup also removes Contentsquare's `CSQInitializer`; the Crashlytics hook is the `isReleaseBuild` read in `CrashlyticsStartupTask.onStartup`. **Also:** the issue templates use labels `Bug report` / `Feature request` that don't exist in the repo, and the bug template has no fields for app, app version and patches version. **Done when:** both sections list exactly what the patch does, and the templates' labels exist (or are removed).
midas closed this issue 2026-10-11 12:17:59 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
midas/midas-patches#63
No description provided.