fix(kubus): Disable tracking also skips the start-up FIAM suppression #58
Labels
No labels
area/architecture
area/build-ci
area/bytecode
area/code-quality
area/docs
area/extension
area/fingerprint
area/security
area/tests
Bug report
Feature request
review
sev/low
sev/medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
midas/midas-patches#58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found in the codebase review (2026-10-11).
kubus/tracking/DisableTrackingPatch.kt(step 2) puts areturn-voidat index 0 ofTrackingStarter.g()(g9d.g()in 9.21.1). Decompiled, that method is:So the early return also skips the app's own default suppression of Firebase In-App Messaging at start-up. Effects:
g9d.f()runs after consent, or never if consent isn't given. Disable tracking should not make popups more likely.setMessagesSuppressedforced to TRUE, andFEATURE_FIREBASE_IN_APP_MESSAGING) has no startup call to act on; only theshowActiveFiamdisplay hook still holds.Also:
TrackingStarterInitFingerprintis only "public final()Vin classTrackingStarter". It's unique in 9.21.1, but another such method would make it patch the wrong one silently.Fix idea
ov5.a(true)call: insert thereturn-voidafter the first invoke instead of at index 0 (or callFirebaseInAppMessaging.getInstance().setMessagesSuppressed(TRUE)from the extension before returning).methodCallfilter on the(Z)Vcall (ch.r) or on the strategy registration.docs/apps/gelderlander.md(Disable tracking section).Done when:
patch-install.ps1 -NoInstallshowsAppliedfor all Kubus titles, and a device test (logcat) shows FIAM suppressed at start with Disable tracking on and Hide promotional popups off.Stand na
c685437(Kubus 9.22.0-support opdev):g()is daar geïnlined inMainApplication.onCreate(). De patch maakt nu alleen deHashSet.addvan de Firebase-strategie een nop; de FIAM-onderdrukking bij het opstarten (die er direct vóór staat) blijft staan. Op 9.22.0 speelt dit issue dus niet meer.return-voidaan het begin vanTrackingStarter.g(), dus voor die versie is PR #73 nog nodig.kubus/tracking/DisableTrackingPatch.ktenFingerprints.kt, die inc685437zijn veranderd (de 9.21.1-hook zit nu in deelse-tak naAnalyticsStrategyRegistrationFingerprint). Rebase opdevvoor het mergen.