We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3612f8 commit c2d1a2dCopy full SHA for c2d1a2d
1 file changed
ios/ReactNativeBrownfield.swift
@@ -5,6 +5,7 @@ internal import ReactAppDependencyProvider
5
6
class ReactNativeBrownfieldDelegate: RCTDefaultReactNativeFactoryDelegate {
7
var entryFile = "index"
8
+ var bundlePath = "main.jsbundle"
9
// MARK: - RCTReactNativeFactoryDelegate Methods
10
11
override func sourceURL(for bridge: RCTBridge) -> URL? {
@@ -48,7 +49,11 @@ class ReactNativeBrownfieldDelegate: RCTDefaultReactNativeFactoryDelegate {
48
49
* Path to JavaScript bundle file.
50
* Default value: "main.jsbundle"
51
*/
- @objc public var bundlePath: String = "main.jsbundle"
52
+ @objc public var bundlePath: String = "main.jsbundle" {
53
+ didSet {
54
+ delegate.bundlePath = bundlePath
55
+ }
56
57
/**
58
* React Native factory instance created when starting React Native.
59
* Default value: nil
0 commit comments