Skip to content

Commit

Permalink
iOS upgrade to 6.1.0 for Alexandria SSO issue IS-1233
Browse files Browse the repository at this point in the history
  • Loading branch information
manishaincapsulate committed May 14, 2021
1 parent 91144f3 commit 09a513d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ios/CDVFileTransfer.m
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@ - (void)applyRequestHeaders:(NSDictionary*)headers toRequest:(NSMutableURLReques
{
[req setValue:@"XMLHttpRequest" forHTTPHeaderField:@"X-Requested-With"];

/* iOS upgrade to 6.1.0 for Alexandria SSO issue IS-1233
NSString* userAgent = [self.commandDelegate userAgent];
if (userAgent) {
[req setValue:userAgent forHTTPHeaderField:@"User-Agent"];
}
}*/

for (NSString* headerName in headers) {
id value = [headers objectForKey:headerName];
Expand Down

0 comments on commit 09a513d

Please sign in to comment.