mixpanel-swift/MixpanelDemo/MixpanelDemoTests
ketanmixpanel 5aa52257c1
Fix feature flags and track events race condition (#715)
* added fix for the race FF condition

* removed unused initilizers

* passed the distinctId to the recordFirstTimeEvent

* Update Sources/FeatureFlags.swift

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Sources/FeatureFlags.swift

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: avoid trackingQueue.sync from main thread in async flag paths and fix doc comments

Agent-Logs-Url: https://github.com/mixpanel/mixpanel-swift/sessions/035f0c40-e3d9-4629-a0f5-e52a16a531a6

Co-authored-by: ketanmixpanel <188901560+ketanmixpanel@users.noreply.github.com>

* fix: align getAllVariantsSync doc comment to use 'may block' for consistency

Agent-Logs-Url: https://github.com/mixpanel/mixpanel-swift/sessions/035f0c40-e3d9-4629-a0f5-e52a16a531a6

Co-authored-by: ketanmixpanel <188901560+ketanmixpanel@users.noreply.github.com>

* fixed review feedback

* removed queue scheduling

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ketanmixpanel <188901560+ketanmixpanel@users.noreply.github.com>
2026-04-17 22:07:58 +05:30
..
Assets.xcassets Added A/B testing functionality (#34) 2016-10-25 15:17:44 -07:00
Info.plist swift3 2016-07-27 14:04:12 -07:00
JSONHandlerTests.swift swift-format (#672) 2025-05-29 17:45:08 -07:00
LoggerTests.swift swift-format (#672) 2025-05-29 17:45:08 -07:00
mixpanel-testToken-events add unit test cases for migration 2021-09-06 22:44:41 -07:00
mixpanel-testToken-groups add unit test cases for migration 2021-09-06 22:44:41 -07:00
mixpanel-testToken-optOutStatus add unit test cases for migration 2021-09-06 22:44:41 -07:00
mixpanel-testToken-people add unit test cases for migration 2021-09-06 22:44:41 -07:00
mixpanel-testToken-properties add unit test cases for migration 2021-09-06 22:44:41 -07:00
MixpanelAutomaticEventsTests.swift Defer automatic events initialization - Fix SwiftUI global accent color override when initializing Mixpanel with automatic events (#712) 2026-04-17 00:09:18 +05:30
MixpanelBaseTests.swift Swift: Add OpenFeature support to MixpanelFlags protocol (#701) 2026-04-07 22:03:16 +05:30
MixpanelDemoTests.swift Defer automatic events initialization - Fix SwiftUI global accent color override when initializing Mixpanel with automatic events (#712) 2026-04-17 00:09:18 +05:30
MixpanelDeviceIdProviderTests.swift Add deviceIdProvider closure for custom device ID generation (#692) 2026-02-06 11:35:58 +05:30
MixpanelEventBridgeTests.swift Integrate common SDK to use the Event bridge (#709) 2026-04-10 20:14:33 +05:30
MixpanelFeatureFlagTests.swift Fix feature flags and track events race condition (#715) 2026-04-17 22:07:58 +05:30
MixpanelGroupTests.swift swift-format (#672) 2025-05-29 17:45:08 -07:00
MixpanelOptOutTests.swift Defer automatic events initialization - Fix SwiftUI global accent color override when initializing Mixpanel with automatic events (#712) 2026-04-17 00:09:18 +05:30
MixpanelPeopleTests.swift Defer automatic events initialization - Fix SwiftUI global accent color override when initializing Mixpanel with automatic events (#712) 2026-04-17 00:09:18 +05:30
TestConstants.swift swift-format (#672) 2025-05-29 17:45:08 -07:00