-
- All Implemented Interfaces:
-
com.facebook.react.ReactPackage
public class MainReactPackage extends TurboReactPackage
Package defining basic modules and view managers.
-
-
Constructor Summary
Constructors Constructor Description MainReactPackage()
MainReactPackage(MainPackageConfig config)
Create a new package with configuration
-
Method Summary
Modifier and Type Method Description NativeModule
getModule(String name, ReactApplicationContext context)
The API needed for TurboModules. List<ViewManager>
createViewManagers(ReactApplicationContext reactContext)
ReactModuleInfoProvider
getReactModuleInfoProvider()
-
Methods inherited from class com.facebook.react.TurboReactPackage
createNativeModules, getModule, getNativeModuleIterator
-
Methods inherited from class com.facebook.react.ReactPackage
createNativeModules, createViewManagers
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MainReactPackage
MainReactPackage()
-
MainReactPackage
MainReactPackage(MainPackageConfig config)
Create a new package with configuration
-
-
Method Detail
-
getModule
@Nullable() NativeModule getModule(String name, ReactApplicationContext context)
The API needed for TurboModules. Given a module name, it returns an instance of for the name
-
createViewManagers
List<ViewManager> createViewManagers(ReactApplicationContext reactContext)
-
getReactModuleInfoProvider
ReactModuleInfoProvider getReactModuleInfoProvider()
-
-
-
-