diff --git a/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java b/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java index 332a2849bd13ef..50cedcaa00073d 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java +++ b/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java @@ -457,9 +457,11 @@ public boolean hasCurrentActivity() { */ public boolean startActivityForResult(Intent intent, int code, Bundle bundle) { Activity activity = getCurrentActivity(); - Assertions.assertNotNull(activity); - activity.startActivityForResult(intent, code, bundle); - return true; + if (activity != null) { + activity.startActivityForResult(intent, code, bundle); + return true; + } + return false; } /**