Deprecating create() for the Default Dev Support Manager Factory

Summary:
Changelog:
    [Internal][Changeded] - https://github.com/facebook/react-native/pull/31841 introduced customisations for DevSupportManager which made this create() redundant, hence deprecating and adding the annotation.

Reviewed By: cipolleschi

Differential Revision: D41292920

fbshipit-source-id: 9fc348a3f4f8f64ba6f7aee85f302e87e10e8cd5
This commit is contained in:
Arushi Kesarwani authored and Facebook GitHub Bot committed 2022-11-15 04:02:42 -08:00
1 parent 2eccd59d7c
commit b8893c7003
1 file changed
+2
@@ -28,6 +28,8 @@ public class DefaultDevSupportManagerFactory implements DevSupportManagerFactory
private static final String DEVSUPPORT_IMPL_PACKAGE = "com.facebook.react.devsupport";
private static final String DEVSUPPORT_IMPL_CLASS = "BridgeDevSupportManager";
/** @deprecated in favor of the customisable create for DevSupportManagerFactory */
@Deprecated
public DevSupportManager create(
Context applicationContext,
ReactInstanceDevHelper reactInstanceDevHelper,