-
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
[RN73] Support for iOS #7836
Comments
hey @d4vidi can I help with that? |
Hi @SudoPlz, |
allright. By the way I did figure out some of the changes that are required:
but now I'm stuck on |
@SudoPlz I did the Andorid part and currently working on the typescript. Hope to get to it very soon. I will share a link to a draft PR in the beginning of the next week. |
@SudoPlz you can get past that by replacing the fabric if statement in the podspec with: if fabric_enabled
install_modules_dependencies(s)
s.requires_arc = true
end |
@gosha212 Awesome – thank you, however it only fixes Android? iOS Fabric is still broken for me. |
@oblador I didn't test it with Fabric yet. The tests are working on both platforms |
Ah, ok. @SudoPlz's comment is about Fabric on iOS hence the confusion. |
@oblador The code works with Fabric on Android. IOS still WIP |
@oblador the latest commit should work with Fabric. The fix is not merged yet. |
@gosha212 Thanks! I tried it out and it does not work with fabric and RN 0.73.4 for me. In the pod spec you are overwriting all the config set by react native. I got everything working with this more minimal setup:
|
Hey @oblador, in the podspec we just add React's headers to the search paths and declare some dependencies. What error are you getting? can you please copy it here? |
@asafkorem That version fails for me during install with:
The issue is overwriting search paths and c++ flags causing my build to fail for failing to import |
@asafkorem have a fix for the postinstall bug here: #7849 |
Thanks @oblador, checking 🙏🏼 |
Waiting for the merged code to be released. 0.38 fails on my end too because of the post install script. |
I did, everything builds fine. The only problem is, I get a blank screen and no react components show up at all when fabric is enabled. |
Yup same for me, it installs and builds now, but I'm seeing an empty screen. |
so glad it's not just me. |
I've only tested iOS so far. It only happens when fabric is enabled. (when it's disabled everything works fine) |
OK, thanks for reporting. I'll test that with a clean RN+RNN app. |
FYI @gosha212 @d4vidi @SudoPlz @oblador I'm able to reproduce this issue on iOS with a new RN 0.73.4 + Fabric + RNN 7.38.1 app For some reason it doesn't reproduce on our playground app. I'll continue the investigation later today. Will update. |
@asafkorem super happy you were able to repro this one. |
Hi @SudoPlz, I made a brief investigation to identify the underlying issue but haven't uncovered anything so far :( |
Hey @asafkorem, no pressure or anything, but I'm curious, what's the blocker? |
@asafkorem or is there any way I can help contribute to help move along the migration? |
Hey @SudoPlz, this issue requires investigation and we're not working on it at the moment. We plan to get there soon but for the meanwhile feel free to clone the reproduction repo https://github.com/asafkorem/react-native-navigation-demo and investigate why we get this white screen when Fabric is enabled. Also, if we'll have any update from our end we'll post it here. |
Hey @d4vidi why was this closed since it's still bugging? |
Hey @SudoPlz, yes - we will deal with fabric under a different context, in due time. Contribution (upgrading and surfacing the issues) would definitely help speed things up 🙏🏻 |
No description provided.
The text was updated successfully, but these errors were encountered: