简体   繁体   中英

AWS amplify error on signOut()

I am unable to sign out from Cognito after connecting with AES Amplify via withAuthenticator. The first time the app shows up, it presents the login screen. After logging in it works normally. Then if I call:

Auth.signOut()

It gives the error:

null is not an object (evaluating 'this.credentials.clearCachedId')

and stays logged in. Same with the Greetings sign out buttom from Amplify. I just can't sign out. It seems to happen when using tab navigators.

Any ideas? Thanks in advance.

Hey I think this have been solved in the latest version. Could you update the library and try again?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM