log out
logOut(){
DeviceEventEmitter.emit("Logout")
let resetAction = NavigationActions.reset({
index: 0,
actions: [
NavigationActions.navigate({routeName: "LoginStack"})
]
});
this.props.navigation.dispatch(resetAction)
}
two navigations appear after you click on the login page to forget your password
what is the reason?