File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
WooCommerce/Classes/Authentication Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 3319.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
71019.7
811-----
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments