christiaan edited a comment on pull request #268:
URL: 
https://github.com/apache/cordova-plugin-file-transfer/pull/268#issuecomment-696568516


   @timbru31 this appears to break adding all the configured headers for me.
   
   My assumption is that this call does not block untill the completionHandler 
is executed.
   ```
   [self.webViewEngine evaluateJavaScript:@"navigator.userAgent" 
completionHandler:^(NSString* userAgent, NSError* error) {
   ```
   
   I looked at 
https://developer.apple.com/documentation/webkit/wkwebview/1415017-evaluatejavascript
 but it does not indicate tell if it blocks till the completionHandler has run.
   
   EDIT: I've added some NSLog statements and indeed it does not block when 
calling evaluateJavascript.


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to