mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Turn FBMainReactPackage into a TurboReactPackage
Summary: `ReactTurboModuleManagerDelegate` only understands `TurboReactPackage`s. So, we need to convert `FBMainReactPackage` and all its dependent packages into `TurboReactPackage`. Reviewed By: fkgozali Differential Revision: D15711546 fbshipit-source-id: df626d542a6477b116c867299219156423c6364a
This commit is contained in:
committed by
Facebook Github Bot
parent
e5c96a85fc
commit
9c76e14b07
+3
-1
@@ -19,11 +19,13 @@ import com.facebook.react.bridge.ReactMethod;
|
||||
*/
|
||||
public class StringRecordingModule extends BaseJavaModule {
|
||||
|
||||
public static final String NAME = "Recording";
|
||||
|
||||
private final List<String> mCalls = new ArrayList<String>();
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "Recording";
|
||||
return NAME;
|
||||
}
|
||||
|
||||
@ReactMethod
|
||||
|
||||
Reference in New Issue
Block a user