Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class ReactNativeBrownfield private constructor(val reactHost: ReactHost) {
packageList = (options["packages"] as? List<*> ?: emptyList<ReactPackage>())
.filterIsInstance<ReactPackage>(),
jsMainModulePath = options["mainModuleName"] as? String ?: "index",
jsBundleAssetPath = options["bundleAssetPath"] as? String ?: "index.android.bundle",
useDevSupport = options["useDeveloperSupport"] as? Boolean
?: ReactBuildConfig.DEBUG,
jsRuntimeFactory = null
Expand Down
3 changes: 2 additions & 1 deletion docs/JAVA.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ Params:
Available options:
- `useDeveloperSupport`: `Boolean` - Flag to use dev support.
- `packages`: `List<ReactPackage>` - List of your React Native Native modules.
- `mainModuleName`: `String` - Path to react native entry file.
- `mainModuleName`: `String` - Path to react native entry file (when loading from Metro).
- `jsBundleAssetPath`: `String` - Path to react native bundle asset file (when loading from app assets), appended to `asset://`.

Examples:

Expand Down
3 changes: 2 additions & 1 deletion docs/KOTLIN.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ Params:
Available options:
- `useDeveloperSupport`: `Boolean` - Flag to use dev support.
- `packages`: `List<ReactPackage>` - List of your React Native Native modules.
- `mainModuleName`: `String` - Path to react native entry file.
- `mainModuleName`: `String` - Path to react native entry file (when loading from Metro).
- `jsBundleAssetPath`: `String` - Path to react native bundle asset file (when loading from app assets), appended to `asset://`.

Examples:

Expand Down
Loading