fix: keep the start-up popup suppression under Disable tracking and bind its fingerprint to the analytics registration (Kubus) #118
No reviewers
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!118
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "review/86-kubus-tracking"
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?
Part of #105, fixes #86 and #58; supersedes #73 (same approach, redone on top of the 9.22.0 handling).
TrackingStarterInitFingerprintrequiresg()'s three calls in order ((Z)V FIAM wrapper, (L)V strategy registration, (Z)V collection switch);return-voidgoes right after the first call, so the app's ownsetMessagesSuppressed(TRUE)still runs. The patch checks that the wrapper's body callsFirebaseInAppMessaging.setMessagesSuppressedand throws otherwise.AnalyticsStrategyRegistrationFingerprint(HashSet.addfollowed bycheck-cast FirebaseAnalyticsinMainApplication.onCreate) is tried first; the 9.21.1 path is the fallback; neither matching fails the patch.Verified: build; 15/15 Applied on De Gelderlander 9.21.1, AD 9.21.1 and Tubantia 9.22.0; jadx of the patched output shows
g()reduced to the FIAM call (Gelderlander, AD) and the registration gone fromonCreatewith the FIAM suppression intact (Tubantia). Not verified: logcat on a device (#58's acceptance).🤖 Generated with Claude Code