mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Back out "Adding shouldForwardToReactInstance check in ReactDelegate for Bridgeless" (#52303)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52303 Investigating javascript crash regression between Store APK v269 and v270 T228736366 with mid https://www.internalfb.com/logview/system_vros_javascripterrors/4a0131b8b79e3994b639c7ca212db717?ds=%7B%22start%22%3A%221750796919%22%2C%22constraints%22%3A[]%2C%22end%22%3A%22now%22%7D&ds_nux_type=task We suspect that this diff stack may be causing the issue could be caused by this Kotlin migration diff stack D76908041 Changelog: [Internal] Reverting Kotlin migration for ReactDelegate Reviewed By: mullender Differential Revision: D77388413 fbshipit-source-id: b144ca6db6f75614c7988e474ef89f19714a4a09
This commit is contained in:
committed by
Facebook GitHub Bot
parent
793023a4e2
commit
c360251b4a
+1
-2
@@ -195,8 +195,7 @@ public open class ReactDelegate {
|
||||
shouldForwardToReactInstance: Boolean
|
||||
) {
|
||||
if (ReactNativeNewArchitectureFeatureFlags.enableBridgelessArchitecture() &&
|
||||
reactHost != null &&
|
||||
shouldForwardToReactInstance) {
|
||||
reactHost != null) {
|
||||
reactHost?.onActivityResult(activity, requestCode, resultCode, data)
|
||||
} else {
|
||||
if (reactNativeHost?.hasInstance() == true && shouldForwardToReactInstance) {
|
||||
|
||||
Reference in New Issue
Block a user