Skip to content

MOBILE-583: Disable tracking for operationDomains - #803

Open
enotniy wants to merge 1 commit into
developfrom
feature/MOBILE-583
Open

enotniy wants to merge 1 commit into
developfrom
feature/MOBILE-583

Conversation

@enotniy

@enotniy enotniy commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

@enotniy
enotniy requested review from sergeysozinov and a balanced review from Copilot October 9, 2026 14:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A due keepalive can collect tracking IDs before a newly received operations domain is persisted.

1 open finding
What changed in this PR

Disables tracking-ID collection when operations use an anonymizer domain.

Changes:

  • Detects configured operations domains before reading tracking providers.
  • Documents the behavior and adds resolver tests.
File Description
MindboxConfiguration.kt Documents tracking behavior.
TrackingIdsResolver.kt Skips tracking-ID collection for operations domains.
TrackingIdsResolverTest.kt Tests collection suppression and resumption.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +67 to +68
MindboxPreferences.operationsDomainFromConfig
?: DbManager.getConfigurations()?.operationsDomain?.takeIf { it.isNotBlank() }

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants