From 5160906d7ba82a5e4cbda5bb32e202b6ac66befe Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Wed, 19 Oct 2016 19:52:55 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/integration-with-existing-apps.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/next/docs/integration-with-existing-apps.html b/releases/next/docs/integration-with-existing-apps.html index 2fa74ab51c2..5e47a7041a5 100644 --- a/releases/next/docs/integration-with-existing-apps.html +++ b/releases/next/docs/integration-with-existing-apps.html @@ -326,7 +326,7 @@ protected void onPause.onPause(); if (mReactInstanceManager != null) { - mReactInstanceManager.onPause(); + mReactInstanceManager.onPause(this); } } @@ -344,7 +344,7 @@ protected void onDestroy.onDestroy(); if (mReactInstanceManager != null) { - mReactInstanceManager.onDestroy(); + mReactInstanceManager.onDestroy(this); } }

We also need to pass back button events to React Native:

@Override public void onBackPressed() {