-
Notifications
You must be signed in to change notification settings - Fork 2.3k
feat(functions): turbo modules implementation #8603
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
base: main
Are you sure you want to change the base?
Conversation
|
Hey @russellwheatley - strange one!
This should not be happening. That issue does look like the symptoms you describe, however, the issue you link resulted in a PR that was first released from main in 0.79.0-rc series (if you expand the tag list you'll see it), but more importantly, it was picked into the 0.77 and 0.78 branches, so the fix was actually present in 0.78.0 (since the issue was fixed after branch cut) and then a follow-on fix was required, and it was picked into 0.78.1 - you can see those here
Our e2e app is on 0.78.2, so we have those fixes. I was able to discard those patches. So...why is this happening now, again, with TurboModules? Something really subtle must be going on. If we think something is wrong, we'll need to make a reproducer for upstream - they have a template here https://github.com/react-native-community/reproducer-react-native it is possible to take the reproducer and add native modules to it (of any kind) and run the necessary commands to generate native code or whatever - we'll need this though as it is not possible to efficiently share firebase projects related stuff with react-native upstream with all the config and key handling and such
I'll trust you on this one, you've got your sleeves rolled up and will have more taste on it right now definitely. I usually don't get value from seeing diffs in generated code, but you may be right in this case, and either way, it's a reversible decision. There's zero harm in trying so my default stance of "implementor's choice" (read as: 'let the cook cook') wins for sure. Let's see if it has value over time and anyone can re-evaluate if not ? |
|
@mikehardy - I've created an issue with reproducer on react native repo: facebook/react-native#52802 |
|
Looks like they've got a patch queued for release in 0.81 already. When I'm done traveling (still a week or so) or maybe if I catch some time while traveling I'll try to queue pick requests for older branches otherwise this will tie us to react native 0.81 as a minimum version. We probably need to separate our e2e app so macos (which lags main react native) versions aren't holding us back from testing |
|
@mikehardy - I think we still have a problem with null values, I checked against the latest RN release candidate and it didn't make a difference. |
|
Hello 👋, this PR has been opened for more than 2 months with no activity on it. If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! You have 15 days until this gets closed automatically |
|
Hello 👋, this PR has been opened for more than 2 months with no activity on it. If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! You have 15 days until this gets closed automatically |
|
this one's up next - current thinking is to have a serializer/deserializer process for iOS that maintains an array of paths for JSON nulls for serialized objects and send then on the side of the main object, to rehydrate them correctly on the native side. it's the only way to handle this that doesn't rely on a maybe-they-fix-it/maybe-they-don't process upstream, nor their release cadence even if they do fix it, while avoiding any collision problems with in-place canaries |
Description
Related issues
Release Summary
Checklist
AndroidiOSOther(macOS, web)e2etests added or updated inpackages/\*\*/e2ejesttests added or updated inpackages/\*\*/__tests__Test Plan
Think
react-native-firebaseis great? Please consider supporting the project with any of the below:React Native FirebaseandInvertaseon Twitter