Skip to content

Commit cc920ec

Browse files
Always show native jetpack installation flow.
1 parent 7e30626 commit cc920ec

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

WooCommerce/Classes/Authentication/AuthenticationManager.swift

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -786,18 +786,9 @@ private extension AuthenticationManager {
786786
}
787787

788788
// Shows the native Jetpack flow during the site discovery flow.
789-
if ABTest.nativeJetpackSetupFlow.variation != .control {
790-
return jetpackSetupUI(for: site.url,
791-
connectionMissingOnly: site.hasJetpack && site.isJetpackActive,
792-
in: navigationController)
793-
}
794-
795-
/// Jetpack is required. Present an error if we don't detect a valid installation.
796-
guard site.hasJetpack && site.isJetpackActive else {
797-
return jetpackErrorUI(for: site.url, with: matcher, in: navigationController)
798-
}
799-
800-
return accountMismatchUI(for: site.url, siteCredentials: nil, with: matcher, in: navigationController)
789+
return jetpackSetupUI(for: site.url,
790+
connectionMissingOnly: site.hasJetpack && site.isJetpackActive,
791+
in: navigationController)
801792
}
802793

803794
/// The error screen to be displayed when the user tries to log in with site credentials

0 commit comments

Comments
 (0)