mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
1 parent
2eccd59d7c
commit
b8893c7003
1 file changed
+2
+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,
|
||||
|
||||
Reference in new issue
Block a user