Skip to content

Commit 31dbcd8

Browse files
committed
fix: resolve ambiguity in call to getDefaultReactHost
1 parent 0b7df16 commit 31dbcd8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

android/src/main/java/com/callstack/reactnativebrownfield/ReactNativeBrownfield.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ class ReactNativeBrownfield private constructor(val reactHost: ReactHost) {
7777
packageList = (options["packages"] as? List<*> ?: emptyList<ReactPackage>())
7878
.filterIsInstance<ReactPackage>(),
7979
jsMainModulePath = options["mainModuleName"] as? String ?: "index",
80-
useDevSupport = options["useDeveloperSupport"] as? Boolean ?: ReactBuildConfig.DEBUG
80+
useDevSupport = options["useDeveloperSupport"] as? Boolean
81+
?: ReactBuildConfig.DEBUG,
82+
jsRuntimeFactory = null
8183
)
8284
}
8385

0 commit comments

Comments
 (0)