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

NavigationActions.reset removed in v2 #76

Closed
linuxboss182 opened this issue Sep 24, 2018 · 2 comments
Closed

NavigationActions.reset removed in v2 #76

linuxboss182 opened this issue Sep 24, 2018 · 2 comments

Comments

@linuxboss182
Copy link
Contributor

Found a bug in the sample code which related to NavigationActions.reset being removed in v2. On a successful login we get an error message saying cannot find reference to undefined.

linuxboss182 added a commit to linuxboss182/react-native-spotify that referenced this issue Sep 24, 2018
@lufinkey
Copy link
Owner

Is there something that replaces it or did they just straight up remove it?

@linuxboss182
Copy link
Contributor Author

They removed it from NavigationActions and you need to use StackActions along side it to access the .reset, its just a two line change. See https://stackoverflow.com/questions/50781080/navigationactions-reset-is-not-a-function

lufinkey added a commit that referenced this issue Sep 25, 2018
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