File tree 5 files changed +11
-11
lines changed
5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -172,9 +172,9 @@ RCT_EXTERN NSString *RCTBridgeModuleNameForClass(Class bridgeModuleClass);
172
172
@property (nonatomic , strong , readonly ) NSURL *bundleURL;
173
173
174
174
/* *
175
- * URL of the original script (not necessarily loaded) of the bridge.
175
+ * URL of the embedded bundle of the bridge.
176
176
*/
177
- @property (nonatomic , strong , readonly ) NSURL *bundledSourceURL ;
177
+ @property (nonatomic , strong , readonly ) NSURL *embeddedBundleURL ;
178
178
179
179
/* *
180
180
* The class of the executor currently being used. Changes to this value will
Original file line number Diff line number Diff line change @@ -329,9 +329,9 @@ - (void)setUp
329
329
// Sanitize the bundle URL
330
330
_bundleURL = [RCTConvert NSURL: _bundleURL.absoluteString];
331
331
332
- if ([self .delegate respondsToSelector: @selector (bundledSourceURLForBridge : )]) {
333
- _bundledSourceURL = [self .delegate bundledSourceURLForBridge :self ];
334
- _bundledSourceURL = [RCTConvert NSURL: _bundledSourceURL .absoluteString];
332
+ if ([self .delegate respondsToSelector: @selector (embeddedBundleURLForBridge : )]) {
333
+ _embeddedBundleURL = [self .delegate embeddedBundleURLForBridge :self ];
334
+ _embeddedBundleURL = [RCTConvert NSURL: _embeddedBundleURL .absoluteString];
335
335
}
336
336
337
337
self.batchedBridge = [[bridgeClass alloc ] initWithParentBridge: self ];
Original file line number Diff line number Diff line change 41
41
- (NSArray <id<RCTBridgeModule>> *)extraModulesForBridge : (RCTBridge *)bridge ;
42
42
43
43
/* *
44
- * The location of bundle path, this should be a `file://` url
44
+ * The location of embedded bundle path, this should be a `file://` url
45
45
* pointing to a path inside the bundle resources, e.g. `file://..//main.jsbundle`.
46
46
*/
47
- - (NSURL *)bundledSourceURLForBridge : (RCTBridge *)bridge ;
47
+ - (NSURL *)embeddedBundleURLForBridge : (RCTBridge *)bridge ;
48
48
49
49
/* *
50
50
* Configure whether the JSCExecutor created should use the system JSC API or
Original file line number Diff line number Diff line change @@ -176,8 +176,8 @@ @implementation RCTCxxBridge
176
176
}
177
177
178
178
@synthesize bridgeDescription = _bridgeDescription;
179
+ @synthesize embeddedBundleURL = _embeddedBundleURL;
179
180
@synthesize loading = _loading;
180
- @synthesize bundledSourceURL = _bundledSourceURL;
181
181
@synthesize performanceLogger = _performanceLogger;
182
182
@synthesize valid = _valid;
183
183
@@ -208,8 +208,8 @@ - (instancetype)initWithParentBridge:(RCTBridge *)bridge
208
208
launchOptions: bridge.launchOptions])) {
209
209
_parentBridge = bridge;
210
210
_performanceLogger = [bridge performanceLogger ];
211
- if ([bridge.delegate respondsToSelector: @selector (bundledSourceURLForBridge : )]) {
212
- _bundledSourceURL = [bridge.delegate bundledSourceURLForBridge : bridge];
211
+ if ([bridge.delegate respondsToSelector: @selector (embeddedBundleURLForBridge : )]) {
212
+ _embeddedBundleURL = [bridge.delegate embeddedBundleURLForBridge : bridge];
213
213
}
214
214
215
215
registerPerformanceLoggerHooks (_performanceLogger);
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ + (BOOL)requiresMainQueueSetup
26
26
{
27
27
return @{
28
28
@" scriptURL" : self.bridge .bundleURL .absoluteString ?: @" " ,
29
- @" bundledScriptURL " : self.bridge .bundledSourceURL .absoluteString ?: @" "
29
+ @" embeddedBundleURL " : self.bridge .embeddedBundleURL .absoluteString ?: @" "
30
30
};
31
31
}
32
32
You can’t perform that action at this time.
0 commit comments