Skip to content

Commit 09871f5

Browse files
Replace nativeJetpackSetupFlow feature flag with AB testing enum case.
1 parent 3a4fc77 commit 09871f5

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
@@ -49,8 +49,6 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
4949
.performanceMonitoringUserInteraction:
5050
// Disabled by default to avoid costs spikes, unless in internal testing builds.
5151
return buildConfig == .alpha
52-
case .nativeJetpackSetupFlow:
53-
return buildConfig == .localDeveloper || buildConfig == .alpha
5452
case .analyticsHub:
5553
return buildConfig == .localDeveloper || buildConfig == .alpha
5654
default:

WooCommerce/Classes/Authentication/AuthenticationManager.swift

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

757757
// Shows the native Jetpack flow during the site discovery flow.
758-
// TODO-8075: replace feature flag with A/B testing
759-
if featureFlagService.isFeatureFlagEnabled(.nativeJetpackSetupFlow) {
758+
if ABTest.abTestNativeJetpackSetupFlow.variation == .control {
760759
return jetpackSetupUI(for: site.url,
761760
connectionMissingOnly: site.hasJetpack && site.isJetpackActive,
762761
in: navigationController)

0 commit comments

Comments
 (0)