diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java index 19c3e19572a850..8546a5d6e149b7 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java @@ -88,7 +88,7 @@ protected ReactNativeHost getReactNativeHost() { } public ReactHost getReactHost() { - return ((ReactApplication) getPlainActivity().getApplication()).getReactHostInterface(); + return ((ReactApplication) getPlainActivity().getApplication()).getReactHost(); } public ReactInstanceManager getReactInstanceManager() { diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactApplication.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactApplication.kt index ea26b4fa892655..3f572fa149eae4 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactApplication.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactApplication.kt @@ -17,9 +17,9 @@ interface ReactApplication { val reactNativeHost: ReactNativeHost /** - * Get the default [ReactHostInterface] for this app. This method will be used by the new - * architecture of react native + * Get the default [ReactHost] for this app. This method will be used by the new architecture of + * react native */ - val reactHostInterface: ReactHost? + val reactHost: ReactHost? get() = null }