diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/BridgelessCatalystInstance.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/BridgelessCatalystInstance.kt index ea9dd2cb203892..39c79f8b935e0d 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/BridgelessCatalystInstance.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/BridgelessCatalystInstance.kt @@ -145,8 +145,8 @@ public class BridgelessCatalystInstance(private val reactHost: ReactHostImpl) : } @Deprecated(message = "This API is unsupported in the New Architecture.") - override fun getJavaScriptContextHolder(): JavaScriptContextHolder { - throw UnsupportedOperationException("Unimplemented method 'getJavaScriptContextHolder'") + override fun getJavaScriptContextHolder(): JavaScriptContextHolder? { + return reactHost.getJavaScriptContextHolder() } override fun getRuntimeExecutor(): RuntimeExecutor {