When user logs out I call this function in order to remove session from asyncstorage and update state accordingly
logout(){
FabricTwitterKit.logOut()
AsyncStorage.removeItem('session')
this.props.logOut()
}
When user try to log in again, it opens safari login screen but it doesn't ask for user and password as usual. Instead it automatically "logs in" user and redirect it to my app as if Twitter Client instance was saved.
Is this a bug or am I doing something wrong?
When user logs out I call this function in order to remove session from asyncstorage and update state accordingly
When user try to log in again, it opens safari login screen but it doesn't ask for user and password as usual. Instead it automatically "logs in" user and redirect it to my app as if Twitter Client instance was saved.
Is this a bug or am I doing something wrong?