PR adding check for arch to decide if module is turbomodule since TurboModule::class.java.isAssignableFrom(moduleClass) should not be used anymore. It works since the behavior has been restored: https://github.com/facebook/react-native/issues/43213 but I think it is better to be prepared if it would be changed somewhere in the future.
Summary
PR adding check for arch to decide if module is turbomodule since
TurboModule::class.java.isAssignableFrom(moduleClass)
should not be used anymore. It works since the behavior has been restored: https://github.com/facebook/react-native/issues/43213 but I think it is better to be prepared if it would be changed somewhere in the future.Test Plan