Closed TijiJoy closed 3 years ago
@TijiJoy Can you confirm the version of the SDK you're running, and the version of iOS you're seeing this crash on?
This seems like a fairly unusual use case. Is this still affecting your app? If so, please let us know the version of the SDK you're running, and the version of iOS you're seeing this crash on. If not, we're not inclined to spend too much time trying to dig into this.
Hi, Check the screenshot below for the details of SDK and this issue is observed in almost all iPhones.
With Regards, Tiji Joy
On Sat, Apr 10, 2021 at 12:05 AM Tim Schmelter @.***> wrote:
This seems like a fairly unusual use case. Is this still affecting your app? If so, please let us know the version of the SDK you're running, and the version of iOS you're seeing this crash on. If not, we're not inclined to spend too much time trying to dig into this.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aws-amplify/aws-sdk-ios/issues/3480#issuecomment-816880283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSJGPYFXMZQIKYQOY7X5GTTH5CG3ANCNFSM4ZW6364Q .
-- With Regards Tiji Joy M
From ios version 13.6 only we have recognised this issue.But not sure if it was present in before versions also.Because we have tested this scenario first in ios 13.6 version
On Mon, Apr 12, 2021 at 10:59 AM Acoustic Malayali @.***> wrote:
Hi, Check the screenshot below for the details of SDK and this issue is observed in almost all iPhones.
With Regards, Tiji Joy
On Sat, Apr 10, 2021 at 12:05 AM Tim Schmelter @.***> wrote:
This seems like a fairly unusual use case. Is this still affecting your app? If so, please let us know the version of the SDK you're running, and the version of iOS you're seeing this crash on. If not, we're not inclined to spend too much time trying to dig into this.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aws-amplify/aws-sdk-ios/issues/3480#issuecomment-816880283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSJGPYFXMZQIKYQOY7X5GTTH5CG3ANCNFSM4ZW6364Q .
-- With Regards Tiji Joy M
-- With Regards Tiji Joy M
OK, thanks for confirming. Can you provide the SDK version you're using?
ios sdk version is 19.1
On Wed, Apr 14, 2021 at 10:11 PM Tim Schmelter @.***> wrote:
OK, thanks for confirming. Can you provide the SDK version you're using?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aws-amplify/aws-sdk-ios/issues/3480#issuecomment-819660150, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSJGP3LNOZ4RFRXO4IWAKDTIXAR7ANCNFSM4ZW6364Q .
-- With Regards Tiji Joy M
@palpatim meant the AWS iOS SDK version that you using in your app. The latest AWS iOS SDK version is 2.23.3 - https://github.com/aws-amplify/aws-sdk-ios/releases/tag/2.23.3. Please check whether you can reproduce the issue in the latest AWS iOS SDK.
Hi,
I updated aws SDK to the latest version and still getting the same crash.
On Fri, Apr 16, 2021, 10:38 PM Jithin Roy @.***> wrote:
@palpatim https://github.com/palpatim meant the AWS iOS SDK version that you using in your app. The latest AWS iOS SDK version is 2.23.3 - https://github.com/aws-amplify/aws-sdk-ios/releases/tag/2.23.3. Please check whether you can reproduce the issue in the latest AWS iOS SDK.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aws-amplify/aws-sdk-ios/issues/3480#issuecomment-821316185, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSJGP5UKCXNE4RXRIWK3FLTJBVJNANCNFSM4ZW6364Q .
I have tried following your step and was not able to reproduce the crash. These are the steps I followed:
FORCE_CHANGE_PASSWORD
AWSMobileClient.signIn
with "testuser1" and then AWSMobileClient.confirmSignIn
with new password. The user was signed in successfullyAWSMobileClient.signIn
and then AWSMobileClient.confirmSignIn
. The user signed in successfully.Could you please provide the stack trace of the crash to help us debug further.
Hi ,
Did you close the application from background before doing second user login?.In this case app will work.
But if you just login as user1 signout and move to login screen and login with second user then app will crash when you call confirm signin.
On Sat, May 29, 2021, 5:17 AM Jithin Roy @.***> wrote:
I have tried following your step and was not able to reproduce the crash. These are the steps I followed:
- Created two user in AWS console - "testuser1" and "testuser2". The two user are in state FORCE_CHANGE_PASSWORD
- Created a sample app and called AWSMobileClient.signIn with "testuser1" and then AWSMobileClient.confirmSignIn with new password. The user was signed in successfully
- Then I signedout the user
- Now I signed in the user "testuser2" by calling AWSMobileClient.signIn and then AWSMobileClient.confirmSignIn . The user signed in successfully.
Could you please provide the stack trace of the crash to help us debug further.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aws-amplify/aws-sdk-ios/issues/3480#issuecomment-850726880, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSJGP4OJ4S4H5AFWYMQJ73TQATQFANCNFSM4ZW6364Q .
I did not close the app before second user login. Please provide us with the crash stack trace to debug further.
Hi,
The error is still reproducible at our end.It actually happens with third user. 1)User 'A' already logged in with his credentials 2) User 'A ' logout from application 3)Use new user Testuser1 credentials and confirm signin ->login successfully ->logout 4)Use new user Testuser2 credentials and confirnSignin -> app crashes.
I have again tested the same flow with multiple users, please find the screen recording of the same.
Please note that confirmSignIn
should not be called if the signIn
api return SignInState. signedIn.
This issue is stale because it has been open for 14 days with no activity. Please, provide an update or it will be automatically closed in 7 days.
Closing due to inactivity but feel free to re-open if you need more help.
Create 2 new user from backend/cognito with password change required 1-Login with first user 2-Force change password with new user 3-Fill OTP and confirm login 4-Logout with user 5-Login with second user 6-Force change password with new password Crash happens And it is happening with two different applications with iOS only and for Android both applications working with same steps
error is as follows: NSInternalInconsistencyException Cannot set the result on a completed task
App is crashing when we call this method AWSMobileClient.default().confirmSignIn(challengeResponse: password)
}