Skip to content

MOBILE-389: Remove ids for removed providers - #801

Merged
enotniy merged 2 commits into
developfrom
feature/MOBILE-389-removed-ids-provider
Oct 9, 2026
Merged

enotniy merged 2 commits into
developfrom
feature/MOBILE-389-removed-ids-provider

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 08:16

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

An explicitly empty provider configuration is treated as unknown, leaving stale IDs intact.

1 open finding
What changed in this PR

Removes stored tracking IDs when push providers are no longer configured.

Changes:

  • Tracks configured provider ID types.
  • Filters stale IDs and adds resolver tests.
File Description
Mindbox.kt Exposes configured tracking ID types.
TrackingIdsResolver.kt Removes IDs for unconfigured providers.
TrackingIdsResolverTest.kt Tests provider-removal scenarios.

🧠 Review effort: Balanced


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

Comment thread sdk/src/main/java/cloud/mindbox/mobile_sdk/Mindbox.kt Outdated
Comment thread sdk/src/main/java/cloud/mindbox/mobile_sdk/Mindbox.kt
@enotniy
enotniy merged commit fac3a34 into develop Oct 9, 2026
7 checks passed
@enotniy
enotniy deleted the feature/MOBILE-389-removed-ids-provider branch October 9, 2026 14:33
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.

3 participants