Skip to content

Commit b90ca32

Browse files
authored
Merge pull request #8570 from woocommerce/crash/7890-initialize-wpauthenticator-in-init
Configure `WordPressAuthenticator` in `AppCoordinator` initialization to fix crash from deep links before login onboarding is complete
2 parents 16e118f + ffac8d6 commit b90ca32

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

WooCommerce/Classes/ViewRelated/AppCoordinator.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ final class AppCoordinator {
5858
self.featureFlagService = featureFlagService
5959

6060
authenticationManager.setLoggedOutAppSettings(loggedOutAppSettings)
61+
62+
// Configures authenticator first in case `WordPressAuthenticator` is used in other `AppDelegate` launch events.
63+
configureAuthenticator()
6164
}
6265

6366
func start() {

0 commit comments

Comments
 (0)