refactor: centralize active kit filtering in KitManagerImpl#697
refactor: centralize active kit filtering in KitManagerImpl#697denischilik merged 6 commits intoworkstation/6.0-Releasefrom
Conversation
Use activeKits() in getRoktKitApi to centralize filtering of disabled kits and remove duplicated disabled checks. Made-with: Cursor
Use activeKits() in setWrapperSdkVersion to centralize disabled-kit filtering and remove duplicate disabled checks. Made-with: Cursor
Apply activeKits() in setLocation, logNetworkPerformance, and logCommerceEvent to centralize disabled-kit filtering and remove duplicated disabled checks. Made-with: Cursor
Apply activeKits() in push callbacks, breadcrumb/error forwarding, and selected activity/session listeners to centralize disabled-kit filtering and remove repeated checks. Made-with: Cursor
Apply activeKits() in installReferrerUpdated and identity/consent callback forwarding methods to centralize disabled-kit filtering and remove duplicated checks. Made-with: Cursor
PR SummaryMedium Risk Overview This also standardizes listener casting using typed Reviewed by Cursor Bugbot for commit 99da62b. Bugbot is set up for automated code reviews on this repo. Configure here. |
|



Background
This refactor centralizes active-kit filtering in
KitManagerImplto reduce repeated listener checks and keep forwarding behavior consistent.What Has Changed
providers.values()+ disabled checks withactiveKits()in push, lifecycle, identity, consent, and referrer callback paths.activeKitsOfType) and applied it to listener selection paths.Screenshots/Video
N/A
Checklist