From e56bd89eff72f1d38d2940b9dbd8f7b97037dc22 Mon Sep 17 00:00:00 2001 From: Sunny Luo Date: Thu, 24 Oct 2024 14:59:21 -0700 Subject: [PATCH] Add jsBundleFile to DefaultReactNativeHost.kt (#47188) Summary: The JsBundleFilePath has been ignored when converting DefaultReactNativeHost to ReactHost Changelog: [Internal] [Changed] - Add jsBundleFile to DefaultReactNativeHost.kt Pull Request resolved: https://github.com/facebook/react-native/pull/47188 Reviewed By: javache Differential Revision: D64914149 Pulled By: cortinico fbshipit-source-id: d437ca81df5a170e0c5f01a22ccda83f43a09dd2 --- .../java/com/facebook/react/defaults/DefaultReactNativeHost.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactNativeHost.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactNativeHost.kt index dac36e139efef7..b85923b3f19ded 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactNativeHost.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactNativeHost.kt @@ -111,7 +111,7 @@ protected constructor( packages, jsMainModuleName, bundleAssetName ?: "index", - null, + jsBundleFile, isHermesEnabled ?: true, useDeveloperSupport, )