Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

withNavigation doesn't work with SwitchNavigator #3646

Closed
migueloller opened this issue Mar 2, 2018 · 3 comments
Closed

withNavigation doesn't work with SwitchNavigator #3646

migueloller opened this issue Mar 2, 2018 · 3 comments

Comments

@migueloller
Copy link

Current Behavior

I'm using SwitchNavigator but am unable to access the navigation prop when using withNavigation.

Expected Behavior

I expected withNavigation to work with SwitchNavigator.

How to reproduce

https://snack.expo.io/ByBA-VwOM

Your Environment

software version
react-navigation v1.3.0
react-native https://github.com/expo/react-native/archive/sdk-25.0.0.tar.gz
node v9.5.0
npm or yarn v1.3.2
@brentvatne
Copy link
Member

thanks! investigating

@brentvatne
Copy link
Member

thanks @migueloller! this is fixed now, you can install v1.3.2. https://github.com/react-navigation/react-navigation/releases/tag/v1.3.2

@migueloller
Copy link
Author

@brentvatne, thanks so much for the quick follow-up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants