react-native
react-native copied to clipboard
Add installJSIBindings for turbo modules on android
Summary:
Add synchronous JSI installation for TurboModules on Android. That would help some 3rd party JSI based modules to get the jsi::Runtime
on bridgeless mode.
The iOS implementation will be in a separate PR.
Changelog:
[ANDROID] [ADDED] - Add installJSIBindings for TurboModules
Test Plan:
Added test in RN-Tester TurboModule test case
Platform | Engine | Arch | Size (bytes) | Diff |
---|---|---|---|---|
android | hermes | arm64-v8a | 17,959,791 | +24,725 |
android | hermes | armeabi-v7a | n/a | -- |
android | hermes | x86 | n/a | -- |
android | hermes | x86_64 | n/a | -- |
android | jsc | arm64-v8a | 21,317,968 | +24,687 |
android | jsc | armeabi-v7a | n/a | -- |
android | jsc | x86 | n/a | -- |
android | jsc | x86_64 | n/a | -- |
Base commit: 7fffe692e715004ac4fee6418dfe8a462e180b4b Branch: main
close and looking forward to seeing alternative solutions in the future