react-native-builder-bob icon indicating copy to clipboard operation
react-native-builder-bob copied to clipboard

Where do we stand with Turbomodules?

Open shamilovtim opened this issue 3 years ago • 4 comments

Are Turbomodules on the roadmap for this project or should we lean on react-native-turbo-starter indefinitely? My understanding is that react-native-turbo-starter is not backwards compatible with NativeModules but it's not clear which starter project to contribute to at the moment. To add to the confusion I've heard that Swift support will need to be deprecated for Turbomodules so things are a bit confusing right now for this library.

shamilovtim avatar Jun 03 '22 23:06 shamilovtim

We just added experimental turbo module support with both backward compatibility and without. Currently, only Obj-C and Java are supported for Turbo modules, and Kotlin support will follow.

If you have time, please test it and lemme know if there are any problems or things to be fixed.

satya164 avatar Jun 30 '22 15:06 satya164

@satya164 I will test ASAP. Thank you for all that you do.

shamilovtim avatar Jul 01 '22 00:07 shamilovtim

@satya164 is this suppose to work for fabric components as well? When I switch the turbo module to a fabric component the build stops working with:

Undefined symbols for architecture arm64:
  "nameOfComponent", referenced from:
      _RCTThirdPartyFabricComponentsProvider in libReact-Codegen.a(RCTThirdPartyFabricComponentsProvider.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

jacobarvidsson avatar Jul 17 '22 19:07 jacobarvidsson

I've only tested with turbo modules for now

satya164 avatar Jul 19 '22 18:07 satya164

Fabric progress: #273

satya164 avatar Oct 13 '22 20:10 satya164