Skip to content

Commit

Permalink
hotfix/19.7.1 branch into release/19.7.1 (#13520)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmusolino authored Aug 6, 2024
2 parents aa1a07d + cacd41e commit 1ab07be
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
19.8
-----

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

19.7
-----
Expand Down
10 changes: 10 additions & 0 deletions WooCommerce/Classes/Authentication/AuthenticationManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,16 @@ extension AuthenticationManager: WordPressAuthenticatorDelegate {
}
analytics.track(wooEvent, withError: error)
}

func showSiteCreationGuide(in navigationController: UINavigationController) {
analytics.track(event: .StoreCreation.loginPrologueStartingANewStoreTapped())

guard let url = try? AuthenticationConstants.hostingURL.asURL() else {
return
}
let webView = SFSafariViewController(url: url)
navigationController.present(webView, animated: true)
}
}

// MARK: - Private helpers
Expand Down

0 comments on commit 1ab07be

Please sign in to comment.