mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 05:15:49 +08:00
[ReactNative] Allow JS know its URL
This commit is contained in:
@@ -88,6 +88,11 @@ static const char *__rct_import_##module##_##method##__ = #module"."#method;
|
||||
url:(NSURL *)url
|
||||
onComplete:(RCTJavaScriptCompleteBlock)onComplete;
|
||||
|
||||
/**
|
||||
* URL of the script that was loaded into the bridge.
|
||||
*/
|
||||
@property (nonatomic, copy, readonly) NSURL *bundleURL;
|
||||
|
||||
@property (nonatomic, strong) Class executorClass;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user