mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Implement getJavaScriptContextHolder for BridgelessCatalystInstance (#44054)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44054 Implement `getJavaScriptContextHolder()` for BridgelessCatalystInstance Changelog: [Android][Breaking] Implement `getJavaScriptContextHolder()` for Bridgeless Catalyst Instance Reviewed By: christophpurrer Differential Revision: D56046452 fbshipit-source-id: b7fed1da3064608d8ef5fa84f4e53a4f7a84cba7
This commit is contained in:
+2
-2
@@ -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? {
|
||||
|
||||
Reference in New Issue
Block a user