-
- All Implemented Interfaces:
-
com.facebook.react.devsupport.DevSupportManagerFactory
public class DefaultDevSupportManagerFactory implements DevSupportManagerFactory
A simple factory that creates instances of DevSupportManager implementations. Uses reflection to create BridgeDevSupportManager if it exists. This allows ProGuard to strip that class and its dependencies in release builds. If the class isn't found, is returned instead.
-
-
Method Summary
Modifier and Type Method Description DevSupportManager
create(Context applicationContext, ReactInstanceDevHelper reactInstanceDevHelper, @Nullable() String packagerPathForJSBundleName, boolean enableOnCreate, int minNumShakes)
DevSupportManager
create(Context applicationContext, ReactInstanceDevHelper reactInstanceManagerHelper, @Nullable() String packagerPathForJSBundleName, boolean enableOnCreate, @Nullable() RedBoxHandler redBoxHandler, @Nullable() DevBundleDownloadListener devBundleDownloadListener, int minNumShakes, @Nullable() Map<String, RequestHandler> customPackagerCommandHandlers, @Nullable() SurfaceDelegateFactory surfaceDelegateFactory)
-
-
Method Detail
-
create
DevSupportManager create(Context applicationContext, ReactInstanceDevHelper reactInstanceDevHelper, @Nullable() String packagerPathForJSBundleName, boolean enableOnCreate, int minNumShakes)
-
create
DevSupportManager create(Context applicationContext, ReactInstanceDevHelper reactInstanceManagerHelper, @Nullable() String packagerPathForJSBundleName, boolean enableOnCreate, @Nullable() RedBoxHandler redBoxHandler, @Nullable() DevBundleDownloadListener devBundleDownloadListener, int minNumShakes, @Nullable() Map<String, RequestHandler> customPackagerCommandHandlers, @Nullable() SurfaceDelegateFactory surfaceDelegateFactory)
-
-
-
-