Skip to content

Commit 6a6d6e9

Browse files
Replace nativeJetpackSetupFlow feature flag with AB testing enum case.
1 parent 526365f commit 6a6d6e9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Experiments/Experiments/DefaultFeatureFlagService.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
5151
.performanceMonitoringUserInteraction:
5252
// Disabled by default to avoid costs spikes, unless in internal testing builds.
5353
return buildConfig == .alpha
54-
case .nativeJetpackSetupFlow:
55-
return buildConfig == .localDeveloper || buildConfig == .alpha
5654
case .analyticsHub:
5755
return buildConfig == .localDeveloper || buildConfig == .alpha
5856
case .tapToPayOnIPhone:

WooCommerce/Classes/Authentication/AuthenticationManager.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,8 +761,7 @@ private extension AuthenticationManager {
761761
}
762762

763763
// Shows the native Jetpack flow during the site discovery flow.
764-
// TODO-8075: replace feature flag with A/B testing
765-
if featureFlagService.isFeatureFlagEnabled(.nativeJetpackSetupFlow) {
764+
if ABTest.abTestNativeJetpackSetupFlow.variation == .control {
766765
return jetpackSetupUI(for: site.url,
767766
connectionMissingOnly: site.hasJetpack && site.isJetpackActive,
768767
in: navigationController)

0 commit comments

Comments
 (0)