Using react navigation, navigate from a screen in a navigator to a screen in a different navigator.
If I have the following
const subAction = NavigationActions.navigate({ routeName: 'SignInScreen' }); AsyncStorage.clear().then(() => this.props.navigation.navigate('LoggedOut', {}, subAction));
LoggedOut is the stack name where signIn screen is placed.
LoggedOut