You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2021/03/25 18:53:37 UTC

[GitHub] [cordova-plugin-file-transfer] mirko77 edited a comment on issue #258: No known instance method for selector 'userAgent' in CDVFileTransfer.m

mirko77 edited a comment on issue #258:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/258#issuecomment-807273214


   Quick question, on cordova-ios 6.2.0 which by default uses WKWebView, is it only a matter of commenting out those 4 lines of code?  Our app uploads video files around 200/300 MB, we are refactoring to WKWebView as per Apple requirements.
   
   ```
   NSString* userAgent = [self.commandDelegate userAgent];
       if (userAgent) {
           [req setValue:userAgent forHTTPHeaderField:@"User-Agent"];
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org