Skip to content

Commit 1ab07be

Browse files
authored
hotfix/19.7.1 branch into release/19.7.1 (#13520)
2 parents aa1a07d + cacd41e commit 1ab07be

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

RELEASE-NOTES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
19.8
44
-----
55

6+
19.7.1
7+
-----
8+
- [***] Prologue: Restored web view for `Starting a new store?` button [https://github.com/woocommerce/woocommerce-ios/pull/13518]
69

710
19.7
811
-----

WooCommerce/Classes/Authentication/AuthenticationManager.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,16 @@ extension AuthenticationManager: WordPressAuthenticatorDelegate {
552552
}
553553
analytics.track(wooEvent, withError: error)
554554
}
555+
556+
func showSiteCreationGuide(in navigationController: UINavigationController) {
557+
analytics.track(event: .StoreCreation.loginPrologueStartingANewStoreTapped())
558+
559+
guard let url = try? AuthenticationConstants.hostingURL.asURL() else {
560+
return
561+
}
562+
let webView = SFSafariViewController(url: url)
563+
navigationController.present(webView, animated: true)
564+
}
555565
}
556566

557567
// MARK: - Private helpers

0 commit comments

Comments
 (0)