diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java index 1ba517b3075851..0311d96086c010 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java @@ -651,7 +651,10 @@ public void onUserLeaveHint(@Nullable Activity activity) { @ThreadConfined(UI) public void onHostPause(@Nullable Activity activity) { if (mRequireActivity) { - Assertions.assertCondition(mCurrentActivity != null); + Assertions.assertCondition( + mCurrentActivity != null, + "onHostPause called with null activity, expected: " + + mCurrentActivity.getClass().getSimpleName()); } if (mCurrentActivity != null) { Assertions.assertCondition(