diff --git a/React/Base/RCTBridgeDelegate.h b/React/Base/RCTBridgeDelegate.h index 0154f0a6665..a58d8246f8c 100644 --- a/React/Base/RCTBridgeDelegate.h +++ b/React/Base/RCTBridgeDelegate.h @@ -40,6 +40,14 @@ */ - (NSArray> *)extraModulesForBridge:(RCTBridge *)bridge; +/** + * The location of bundle path, this should be a `file://` url + * pointing to a path inside the bundle resources, e.g. `file://..//main.jsbundle`. + * When running from the packager this should be an absolute URL, + * e.g. `http://localhost:8081/index.ios.bundle`. + */ +- (NSURL *)bundledSourceURLForBridge:(RCTBridge *)bridge; + /** * Configure whether the JSCExecutor created should use the system JSC API or * alternative hooks provided. When returning YES from this method, you must have