We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f65971 commit c069035Copy full SHA for c069035
1 file changed
React/Modules/RCTSourceCode.m
@@ -34,4 +34,10 @@ - (void)setScriptText:(NSString *)scriptText {}
34
}
35
36
37
+- (NSDictionary *)constantsToExport
38
+{
39
+ NSString *URL = self.bridge.bundleURL.absoluteString ?: @"";
40
+ return @{@"scriptURL": URL};
41
+}
42
+
43
@end
0 commit comments