-
Notifications
You must be signed in to change notification settings - Fork 490
ReactNative >= 0.44? #216
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
Comments
We're internally testing bumping our own software up to 0.46, but haven't yet found anything we've needed to change in ReactXP. Is there something you're running into that's not working on a newer RN? |
Don´t wanna make this issue very complex but essentially I´m trying to integrate with expo for many good reasons and my problem is to fix this reference's puzzle. I´ve seen some issues about break changes on 0.44 opened here (example: @erictraut mentioned on #83). Just would like to know if and when would be possible to run reactxp with RN 0.45 and react "16.0.0-alpha.12"? An project with those reactxp references bellow would fix that ;) My project has those reference below and expo with typescript requires 0.45 because of "react-native-typescript-transformer". "devDependencies": { Expo references expo X react X react-native references Any suggestion are very welcome :) |
I'm saying that, since we made that post, it looks like the breaking changes are unrelated to things that ReactXP uses, so you should be able to just use RN 0.44+ directly. Have you tried just using the new version and you're running into issues? |
react-native removed ExperimentalNavigation framework we are using on iOS and Android. |
Any workaround? |
We are working on releasing our navigation framework as a reactxp extension. Trying to get something out by EOD. It's basically the extracted 0.42 RN experimentalnavigation module + a web equivalent as a common navigation module. Once that's extracted then you should be able to use the rest of reactxp as is on 0.44+. |
Workaround in the meantime: Don't use the Navigation API in reactxp, and comment out line 33 in node_modules/reactxp/dist/native-common/NavigatorExperimentalDelegate.js
|
Perfect, @Fitzpasd! that´s worked as a charm and now I can move on! I'll make a simple navigation api just to move forward with my simple version and wait for the official one. Please if you could take in consideration to release a reactxp version without Navigation first, even before to start working on the navigation framework extension, would help me to keep sync with reactxp. Even though, Thank you guys for this awesome and responsive help! |
@vinils, I'm on it. It turns out to be a little bit more complex than I thought initially. You could use the branch with navigation removed while I'm trying to sort everything out. |
@dryganets Great! |
No, I'm not trying to integrate react-navigation, now. We open-sourced experimental-navigation with our changes so that framework works for you the same way it works for us in skype for iOS and Android. You could develop a custom delegate with different API encapsulated inside now. But it has a limitation - you need to have a control over the navigation stack of your framework. |
I follow on reactxp-navigation and got the error bellow Dependencies: not fully aware of react-native navigation changes but seems NavigationExperimental is not being take from react-native-deprecated-custom-components I´m still looking the error but I´m posting that because @dryganets may would like to know and that's on my target to get reactxp on RN >=0.45 |
@vinils The more interesting question is why are you getting standard navigation on Android. |
I saw this issue on 1.0.4. So far i tried on 1.0.1 but i got another error. |
the hot fix for you now is to pass NavigatorDelegateSelector imported from the common/Navigator.
|
@vinils, I published 1.0.5 with this bug fixed.
false turns off the caching for this style in react-native and the scene style would be passed as a string, not as an integer. |
@dryganets Worked!!!! simple tested on web/android. I have the HelloWorld running with expo, need some adjusts, but any changes to became a contributor and publish that on reactxp samples? related to #208 |
Btw @dryganets , an issue with reactxp-imagesvg (seems references problems :/) |
Yep, I know :( There are a couple of samples which are linked to the version of react-native-video which doesn't work with react-native 0.42 because it ships react-native-window. I didn't figure out a good workaround for this. Tried blacklisting and .flowconfig, no luck so far. I'm going to go through all of the samples and make it work out of the box. My priority was to unblock you first. |
No worries, they are not blocking me at the moment :) I can move on other stuff first but video would be at the end of the next week. if you could start by that. |
Regarding the expo change. Just make a pull request. I would make a separate sample for the expo to make it distinct. |
Not sure if that would apply to you.. but i got some problems on typescript 2.4.1 fixed on 2.4.2 |
#229 |
Hey guys, I´ve seen that there is some break changes on react native >= 0.44 but i couldn't find any feed back on when that will be done.
I´m waiting for >= 0.45 and just kindle would like to know how that is going on? Any news or an idea when that will happen?
Tks
The text was updated successfully, but these errors were encountered: