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

Update react-navigation dependency to release version #2893

Closed
kylethebaker opened this issue Feb 19, 2018 · 12 comments
Closed

Update react-navigation dependency to release version #2893

kylethebaker opened this issue Feb 19, 2018 · 12 comments

Comments

@kylethebaker
Copy link

Is there a reason that the project is depending on React Navigation 1.0.0-beta22? This is 16 releases behind the current version of React Navigation which is now on v1.0.3 and out of the beta/rc stage.

I assume it's due to compatibility issues, have these been identified? I think it would be a good idea to start of list of these kinds of issues so that they can be addressed. Presumably now that react navigation is out of beta there will be less compatibility issues moving forward if we're able to get caught up.

@marcosmartinez7
Copy link

I have posted the same issue here #2865

i think that is more important to have compatibility with previous versions, i mean, RNRF beta 24 is using the last react-navigation, and RNRF beta 28 is using 10.0.0-beta22

@aksonov
Copy link
Owner

aksonov commented Feb 22, 2018

Unfortunately newer react navigation versions completely change outer state integration stuff: https://reactnavigation.org/docs/redux-integration.html

PR is welcome but I doubt we can avoid any breaking changes to support newer react navigation version...

@aksonov
Copy link
Owner

aksonov commented Feb 23, 2018

There are more breaking changes coming:
react-navigation/react-navigation#3392

@asciifaceman
Copy link
Contributor

Yeah I've had a ton of issues with everything after 22, I even had to back up my react-native lib to keep everything working right

@marcosmartinez7
Copy link

react navigation is preparing v2, do u guys have a plan to keep supporting the RN changes?

can u guys post some guidance in order to help with that?

@aksonov
Copy link
Owner

aksonov commented Mar 15, 2018

@marcosmartinez7 I'm working on new RNRF version that will work with v2 views. For v1, I will try to adopt current RNRF by adding empty addListener (if it would work).

@marcosmartinez7
Copy link

Great! let us know if we can colaborate in something in particular.

@aksonov
Copy link
Owner

aksonov commented Mar 16, 2018

It would be great if you could make RNRF work with v1. I can't add where I have to add 'addListener'

@kylethebaker
Copy link
Author

kylethebaker commented Mar 17, 2018 via email

@aksonov
Copy link
Owner

aksonov commented Mar 17, 2018

Ok, please check latest master and beta.30. Current error is following (Example project) - addListener is missed:
simulator screen shot - iphone 7 - 2018-03-17 at 07 50 36

P.S. I've added addListener to navigationStore but it seems not to be enough...

@kylethebaker
Copy link
Author

I'll play around with the current master this week and see if I can make any progress, I will use the example projects as a base and then when we start making progress I will try the latest version on my ongoing application.

@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

RNRF 4.0.0-beta.40 uses latest react-navigation now (2.x)

@aksonov aksonov closed this as completed Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants