public interface ReactInstanceManagerDevHelper
DevSupportManager
for accessing some fields and methods of
ReactInstanceManager
for the purpose of displaying and handling developer menu options.Modifier and Type | Method and Description |
---|---|
android.app.Activity |
getCurrentActivity()
Get reference to top level #{link Activity} attached to react context
|
void |
onJSBundleLoadedFromServer()
Notify react instance manager about new JS bundle version downloaded from the server.
|
void |
onReloadWithJSDebugger(JavaJSExecutor.Factory proxyExecutorFactory)
Request react instance recreation with JS debugging enabled.
|
void |
toggleElementInspector()
Request to toggle the react element inspector.
|
void onReloadWithJSDebugger(JavaJSExecutor.Factory proxyExecutorFactory)
void onJSBundleLoadedFromServer()
void toggleElementInspector()
@Nullable android.app.Activity getCurrentActivity()