diff --git a/docs/IntegrationWithExistingApps.md b/docs/IntegrationWithExistingApps.md index c0e9fcee5..4a2c99714 100644 --- a/docs/IntegrationWithExistingApps.md +++ b/docs/IntegrationWithExistingApps.md @@ -675,7 +675,7 @@ protected void onPause() { super.onPause(); if (mReactInstanceManager != null) { - mReactInstanceManager.onPause(this); + mReactInstanceManager.onHostPause(this); } } @@ -684,7 +684,7 @@ protected void onResume() { super.onResume(); if (mReactInstanceManager != null) { - mReactInstanceManager.onResume(this, this); + mReactInstanceManager.onHostResume(this, this); } } @@ -693,7 +693,7 @@ protected void onDestroy() { super.onDestroy(); if (mReactInstanceManager != null) { - mReactInstanceManager.onDestroy(); + mReactInstanceManager.onHostDestroy(); } } ```