Open sherryxpq opened 2 days ago
@sherryxpq Thanks for trying out the New Architecture and for reporting the issue.
I believe that the problem happens because the library @zoom/react-native-videosdk
has not migrated to the New Architecture and we might have some gaps in the interop layer.
Also, thanks for the reproducer!
A few questions:
I'll probably can have a look at this next week.
Hi @cortinico , thanks for the quick response!
For the questions you came up with:
Have you tried the reproducer with 0.76.0-rc.2? We might have solved the issue already I tried with this version, it can build successfully like in the version 0.75.3, but when the app loads, it throws a different error
Does it happen on Android as well or is it an iOS only issue? No, Android can work well, the crash only happens on iOS with bridgeless layer enabled.
Also, you mentioned that the library @zoom/react-native-videosdk has not migrated to the New Architecture, can you please let me know how to do the migration for the library? Much appreciated!
@sherryxpq I am @cipolleschi… @cortinico is a colleague of mine…😅
for the error on RC.2, that’s weird. We fixed that js error already. Can you try delete node_modules, yarn.lock file and rerun yarn install? I believe that there are some caching issues related to Babel.
for point 2, are you the maintainer of the library? Migrating a library is something that only the maintainers of that library can do. In theory, this should not be needed for version 0.76, but it would be required at some point in the future. We have some guides on how to do it here and here.
Description
My app can work in the legacy architecture, and it can also work when I enable new architecture but disable bridgeless layer.
But once I enable bridgeless layer, the app will crash right after it loads the UI, and it will always throws a bad access exception at the same method, like the screenshot shows.
Is there any other modifications I need to do to use bridgeless layer in new architecture?
Steps to reproduce
@zoom/react-native-videosdk
to install the dependencyReact Native Version
0.75.3
Affected Platforms
Runtime - iOS
Areas
JSI - Javascript Interface, Bridgeless - The New Initialization Flow
Output of
npx react-native info
Reproducer
https://github.com/sherryxpq/rntestnewarch
Screenshots and Videos
No response