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 2020/12/08 05:50:29 UTC

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

imdox commented on issue #258:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/258#issuecomment-740394237


   > > By removing lines 107-110 from CDVFileTransfer.m I was able to compile:
   > > ```
   > >     NSString* userAgent = [self.commandDelegate userAgent];
   > >     if (userAgent) {
   > >         [req setValue:userAgent forHTTPHeaderField:@"User-Agent"];
   > >     }
   > > ```
   > 
   > It's working for me.
   > Thank you for saving my time
   
   its not working.... when i comment this lines, create following issue
   <img width="1027" alt="Screenshot 2020-12-08 at 11 19 15 AM" src="https://user-images.githubusercontent.com/43648716/101445320-4c453f80-3947-11eb-976e-9d849bc6afcd.png">
   


----------------------------------------------------------------
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