-
Notifications
You must be signed in to change notification settings - Fork 877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Crash] SDK 2.36.0 AWSCognitoAuth launchUsing:uiViewController:completion: #5315
Comments
Hi @skyfoxa! Thanks for opening this issue. We will take a look and post updates here. |
This should be fixed in the latest release 2.36.1. Could you please update your dependency and verify? Thanks! |
@ruisebas the SDK doesn't crash anymore, however it won't open the hosted UI, calling the
|
@skyfoxa my apologies for that. I've merged a fix to the Thanks! |
@ruisebas I tried it, but it looks |
Describe the bug
Calling
AWSMobileClient.default().showSignIn(navigationController: signInUIOptions: hostedUIOptions: _:)
leads to an uncaught exception and crashes the app.This issue started occurring when we updated the SDK from version 2.35.0 to 2.36.0. It's probably connected to the recent update from
SFAuthenticationSession
toASWebAuthenticationSession
. It may be the same issue as was discussed hereTo Reproduce
Here is our awsconfiguration:
Steps to reproduce the behavior:
AWSMobileClient.default().showSignIn(navigationController:signInUIOptions:hostedUIOptions:_:)
HostedUIOptions(scopes: ["openid", "email", "profile"], identityProvider: "Google")
Observed Behavior
Expected Behavior
Hosted UI is opened and user can sign in, app doesn't crash.
Stack Trace
Code Snippet
Unique Configuration
Areas of the SDK you are using (AWSMobileClient, Cognito, Pinpoint, IoT, etc)?
AWSMobileClient
Screenshots
Environment(please complete the following information):
Device Information (please complete the following information):
Additional context
Relevant Console Output
Logs
Log Messages
The text was updated successfully, but these errors were encountered: