Skip to content

Commit

Permalink
Deprecating create() for the Default Dev Support Manager Factory
Browse files Browse the repository at this point in the history
Summary:
Changelog:
    [Internal][Changeded] - #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
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Nov 15, 2022
1 parent 2eccd59 commit b8893c7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b8893c7

Please sign in to comment.