-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[v2] add support for react-native 0.57.0 #3851
Conversation
Can confirm that this works great on a fresh RN I had to use Step 9 from the (installation guide) which I guess is not optional any more? Basically I had to add:
but NOT this In |
So what I need to do to run react-native-navigation v2 with react-native 57? I geting: error: cannot find symbol or if add "|| names.contains("reactNative56")" I need to wait for release? |
Can someone who feels confident in the topic please review the PR and accept if it's okay? |
Doesn't work with latest:
|
Any update on this? Looking forward to it. |
I've created a repository that is working, while the PR is waiting to be merged. https://github.com/leonardoballand/react-native-navigation-rn57 Just need to do: Hope it helps |
@esipavicius @DVSoftware this hasn't been merged so you can't use it just yet. We're waiting on someone to review this and accept it. @guyca would you please review this so these beautiful people can use navigation with the new react 0.57? |
Would appreciate if it would be possible to merge this change, thank you!! |
@guyca sorry bother (once more), but with iOS 12 release, RN 0.57 is almost mandatory since it fixes tons of XCode 10 problems. Could you please review and merge this PR? Thanks a lot! |
I know, i applied the patch, but i'm getting the mentioned errors |
is this available now? |
Would be great if this gets merged |
But it has red light. Everywhere is red ;D |
Works on fresh 0.57 i don’t know why is it failing.
…On Fri, 21 Sep 2018 at 12:52, Ernestas Sipavičius ***@***.***> wrote:
Would be great if this gets merged
But it has red light. Everywhere is red ;D
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3851 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ans8fDFUsSXBFqsAYEcqorgAWjBiwLjbks5udMT0gaJpZM4WMIMn>
.
|
I applied the patch to my project. Does not work:
|
@ujwal-setlur did you remember to filter the RN56 variant on build.gradle? |
@ammichael filter? How? Here is my build.gradle:
|
Essentially, I am running into the same issue as @DVSoftware |
@ujwal-setlur try adding this to your /android/build.gradle:
|
@ammichael unfortunately, I still get that error... It seems not so much of a conflict between reactNative57 and reactNative56, but more between reactNative57 and the code under src/main/java/com/reactnativenavigation/react/NavigationReactNativeHost.java They both declare NavigationReactNativeHost class |
Hi guys, Any news about this? |
This has been opened more than 1 month ago. I'm in a really bad situation here; can't update to RN 0.57 and release my iOS 12 update while this isn't merged. It's very likely there are more people in the same situation. Please, can somebody (@guyca) take over this merge, fix what is failing and finally merge it?! Please? |
Yes me too please. Frankly, I am contemplating moving off RNN. Issues with RN releases, issues with code push. I really like this library, but it's getting hard... |
Hey guys, sorry for the delay PR looks good, though it seems that RNN isn't compatible with RN 0.57. The workaround pruposed here broke, I think RNN is pretty much unusable in large apps without this fix 😕 // for future guyca {
"react": "16.5.1",
"react-native": "0.57.1"
}
|
Thanks for merging @guyca, but what do you mean RNN isn't compatible with react-native 0.57 :D? |
@abdullah-sr It is working on IOS or Android ? |
Both for me |
@retyui both iOS and android |
@abdullah-sr what's your rn & rnn version? |
well i was using my own fork with react-native 0.57.2, but since this was merged you can use the last release that came out yesterday 2.0.2580 |
@abdullah-sr RNN requires a custom synchronous UIImplementationProvider, Facebook refactored those bits for 0.57 meaning you can't pass a custom UIImplementationProvider anymore. So for large-ish apps, RNN just throws weird errors all the time :/ |
i see. well luckily I haven't run into those issues yet. |
@Iamsamwhoami I think I have a workaround for that, hope to publish it in the net few days. Also spoke to some guys at facebook and they reintroduce the api we require. |
Quick update, there's an internal PR at RN which reintroduces the UiImplementation api we need. If all goes well it should land in RN 0.58. |
Just tried migrating my RN 0.57 project from V1 to V2 got this error RNN version 2.0.595 |
Maybe its it: https://github.com/invertase/react-native-firebase-docs/pull/133/files |
@esipavicius thanks i got it working now |
|
I'm getting It works on development builds for both Android and iOs, and release for iOs... I have |
@margaridaDinis It seems you need to ignore 57 Wix. subprojects { subproject ->
afterEvaluate {
if ((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
android {
variantFilter { variant ->
def names = variant.flavors*.name
if (names.contains("reactNative51") || names.contains("reactNative55") || names.contains("reactNative56") || names.contains("reactNative57WixFork")) {
setIgnore(true)
}
}
}
}
}
} |
That fixed it! The build is now succeeding, thanks @diegolmello |
Hello
someone had a similar problem??? |
i soled problems, but dont know correctly how))))) |
solved by adding those to app/build.gradle
dependencies {
}
|
Hi, Which RNN version should I update to support react native 0.57.0? |
latest works good) |
No description provided.