Skip to content
Merged
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
7 changes: 6 additions & 1 deletion ios/ReactNativeBrownfield.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ internal import ReactAppDependencyProvider

class ReactNativeBrownfieldDelegate: RCTDefaultReactNativeFactoryDelegate {
var entryFile = "index"
var bundlePath = "main.jsbundle"
// MARK: - RCTReactNativeFactoryDelegate Methods

override func sourceURL(for bridge: RCTBridge) -> URL? {
Expand Down Expand Up @@ -48,7 +49,11 @@ class ReactNativeBrownfieldDelegate: RCTDefaultReactNativeFactoryDelegate {
* Path to JavaScript bundle file.
* Default value: "main.jsbundle"
*/
@objc public var bundlePath: String = "main.jsbundle"
@objc public var bundlePath: String = "main.jsbundle" {
didSet {
delegate.bundlePath = bundlePath
}
}
/**
* React Native factory instance created when starting React Native.
* Default value: nil
Expand Down
Loading