fix(aws-amplify-react-native): Update Hub listener for sign out events #5587
@@ Coverage Diff @@ ## master #5587 +/- ## ======================================= Coverage 72.91% 72.91% ======================================= Files 197 197 Lines 11536 11536 Branches 2178 2178 ======================================= Hits 8412 8412 Misses 2971 2971 Partials 153 153
There are no existing unit tests for
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you able to look this?
This case is if the user is already in the app and the admin has disabled the user. So I called Auth.signOut. After this it changing the authState to signIn and then immediately changed to signedIn. So it not properly navigate to login screen.
Again reloaded the app will show the SignIn screen.
Here: I don't want to reload the app in the 6th step
Also, can you give any solution for the 3rd point
Your reply will be helpful