fix: keep the start-up popup suppression when Disable tracking is applied to Kubus apps #73

Closed
midas wants to merge 1 commit from claude/issue-58-fiam into dev
Owner

Fixes #58.

Problem. Disable tracking put return-void at index 0 of TrackingStarter.g() (g9d.g() in 9.21.1). The first call in that method is the app's own FirebaseInAppMessaging.setMessagesSuppressed(TRUE) (via ov5$a.a(Z)V), so the patch also skipped the start-up FIAM suppression. Without Hide promotional popups (or with its toggle off), campaigns were no longer suppressed until consent, or never at all without consent.

Fix.

  • return-void now goes right after the first call: FIAM stays suppressed, while ch.c(firebaseAnalyticsStrategy) and ch.r(true) are still skipped.
  • TrackingStarterInitFingerprint pins the three calls of g() in order: (Z)V (FIAM), (L)V (strategy registration), (Z)V (collection switch). Another public final ()V in the class can no longer match silently.
  • docs/apps/gelderlander.md is updated.

Tested

  • buildAndroid succeeds.
  • patch-install.ps1 -NoInstall on 9.21.1: Applied: Disable tracking and Applied: Hide promotional popups for all Kubus titles.
  • Patched g9d.g() (baksmali): sget-object ov5.a / invoke-virtual ov5$a->a(Z)V / return-void / (dead code).
  • Not yet: the device test (logcat with FIAM suppressed at start-up, Disable tracking on and Hide promotional popups off).

Merging into dev creates a pre-release (fix:).

🤖 Generated with Claude Code

Fixes #58. **Problem.** *Disable tracking* put `return-void` at index 0 of `TrackingStarter.g()` (`g9d.g()` in 9.21.1). The first call in that method is the app's own `FirebaseInAppMessaging.setMessagesSuppressed(TRUE)` (via `ov5$a.a(Z)V`), so the patch also skipped the start-up FIAM suppression. Without *Hide promotional popups* (or with its toggle off), campaigns were no longer suppressed until consent, or never at all without consent. **Fix.** - `return-void` now goes right *after* the first call: FIAM stays suppressed, while `ch.c(firebaseAnalyticsStrategy)` and `ch.r(true)` are still skipped. - `TrackingStarterInitFingerprint` pins the three calls of `g()` in order: `(Z)V` (FIAM), `(L)V` (strategy registration), `(Z)V` (collection switch). Another `public final ()V` in the class can no longer match silently. - `docs/apps/gelderlander.md` is updated. **Tested** - `buildAndroid` succeeds. - `patch-install.ps1 -NoInstall` on 9.21.1: `Applied: Disable tracking` and `Applied: Hide promotional popups` for all Kubus titles. - Patched `g9d.g()` (baksmali): `sget-object ov5.a` / `invoke-virtual ov5$a->a(Z)V` / `return-void` / (dead code). - Not yet: the device test (logcat with FIAM suppressed at start-up, Disable tracking on and Hide promotional popups off). Merging into `dev` creates a pre-release (`fix:`). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix: keep the start-up popup suppression when Disable tracking is applied to Kubus apps
All checks were successful
CI / Build (pull_request) Successful in 3m55s
a52859e8fe
Disable tracking returned at index 0 of TrackingStarter.g(), which also skipped the app's own
FirebaseInAppMessaging.setMessagesSuppressed(TRUE) at start-up. Without Hide promotional
popups (or with its toggle off), in-app campaigns were no longer suppressed until consent, or
never when consent wasn't given.

The return-void now goes right after that first call. The fingerprint pins the three calls of
g() in order ((Z)V FIAM suppression, (L)V strategy registration, (Z)V collection switch), so
another public final ()V in the class can no longer match silently.

Refs #58

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
Owner

Let op: dev heeft sinds c685437 een 9.22.0-tak in DisableTrackingPatch.kt; deze PR moet gerebased worden. Zie de toelichting in #58.

Let op: `dev` heeft sinds c685437 een 9.22.0-tak in `DisableTrackingPatch.kt`; deze PR moet gerebased worden. Zie de toelichting in #58.
midas closed this pull request 2026-10-17 16:42:02 +02:00
midas referenced this pull request from a commit 2026-10-17 16:44:58 +02:00
midas referenced this pull request from a commit 2026-10-17 21:19:37 +02:00
All checks were successful
CI / Build (pull_request) Successful in 3m55s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.