Describe the bug
When you call showSignInWebView, the completion is called before the safari view controller finished dismiss
To Reproduce
Steps to reproduce the behavior:
private func showSignInWebView(window: UIWindow,
request: AuthWebUISignInRequest,
completionHandler: @escaping (Result
Completion on this method is called before the safari view controller finished the dismiss.
Expected behavior
The completion should be called only after the call to navController.dismiss(animated: false) is completed.
Environment(please complete the following information):
Device Information (please complete the following information):
PR - https://github.com/aws-amplify/amplify-ios/pull/820 should fix the issue
Hey @ovidiuadorian-yonder, 1.4.0 was released and contains the fix to this issue.
Hi,
Does this applies to Amplify.Auth.signOut too? I'm trying to navigate to another tab right after I signout but any operation on the presenting view controller is still targeting the Safare web view.
SignOut seemed to work fine for me. The problem was only at sign-in
Yeah I'm still noticing this on 1.4.1
Right after the completion for Amplify.Auth.signOut is called, the top view controller is still safari
