File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/core/ios/RNAnalytics Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,19 +76,19 @@ +(void)initialize {
76
76
NSURLComponents *components = [NSURLComponents componentsWithURL: url resolvingAgainstBaseURL: NO ];
77
77
78
78
if ([proxyOptions valueForKey: @" scheme" ]) {
79
- components.scheme = [ proxyOptions[@" scheme" ] stringValue ];
79
+ components.scheme = proxyOptions[@" scheme" ];
80
80
}
81
81
82
82
if ([proxyOptions valueForKey: @" host" ]) {
83
- components.host = [ proxyOptions[@" host" ] stringValue ];
83
+ components.host = proxyOptions[@" host" ];
84
84
}
85
85
86
86
if ([proxyOptions valueForKey: @" port" ]) {
87
87
components.port = [NSNumber numberWithInt: [proxyOptions[@" port" ] intValue ]];
88
88
}
89
89
90
90
if ([proxyOptions valueForKey: @" path" ]) {
91
- components.path = [[ proxyOptions[@" path" ] stringValue ] stringByAppendingString: components.path];
91
+ components.path = [proxyOptions[@" path" ] stringByAppendingString: components.path];
92
92
}
93
93
94
94
NSURL *transformedURL = components.URL ;
You can’t perform that action at this time.
0 commit comments