Package 

Class ReactInstancePackage

  • All Implemented Interfaces:
    com.facebook.react.ReactPackage

    @Deprecated() 
    public abstract class ReactInstancePackage
     implements ReactPackage
                        

    A simple wrapper for ReactPackage to make it aware of its ReactInstanceManager when creating native modules. This is useful when the package needs to ask the instance manager for more information, like DevSupportManager.

    TODO(t11394819): Consolidate this with LazyReactPackage Use ReactPackage or and inject reactInstanceManager as a part of when plugins are initialized.