facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
116.27k stars 23.99k forks source link

Add BindingsInstaller for TurboModules on Android #44485

Closed Kudo closed 1 week ago

Kudo commented 1 week ago

Summary:

Add synchronous JS bindings installation for TurboModules on Android. That would help some 3rd party JSI based modules to install JS bindings easier. The iOS implementation will be in a separate PR. Re-create from #43110

Changelog:

[ANDROID] [ADDED] - Add BindingsInstaller for TurboModules

Test Plan:

Added test in RN-Tester TurboModule test case

analysis-bot commented 1 week ago
Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 19,528,331 +32,954
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 22,900,398 +32,822
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 8d0046a5e10ca27a073e5509ca70ffab15d2d3e9 Branch: main