Skip to content

Instantly share code, notes, and snippets.

@PhilippKrone
Last active November 5, 2015 10:10
Show Gist options
  • Save PhilippKrone/26b674bf824912f96fd0 to your computer and use it in GitHub Desktop.
Save PhilippKrone/26b674bf824912f96fd0 to your computer and use it in GitHub Desktop.
@Override
protected void onPause() {
super.onPause();
if (mReactInstanceManager != null) {
mReactInstanceManager.onPause();
}
}
@Override
protected void onResume() {
super.onResume();
if (mReactInstanceManager != null) {
mReactInstanceManager.onResume(this);
}
}
@Override
protected void onStop() {
super.onStop();
if (mReactInstanceManager != null) {
mReactInstanceManager.onPause();
}
}
@Override
protected void onRestart() {
super.onRestart();
if (mReactInstanceManager != null) {
mReactInstanceManager.onResume(this);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment