NiklasMerz commented on pull request #1004:
URL: https://github.com/apache/cordova-ios/pull/1004#issuecomment-709036960


   @razam217  Sure. But you need to be aware that this is work in progress and 
not part of any release yet. It would be nice if you could test it and give 
feedback. This PR may have bugs or change in the future.
   
   At first you need to remove your iOS platform `cordova platform rm ios`. 
Then you can add the platform from the branch this PR is based of `cordova 
platform add https://github.com/GEDYSIntraWare/cordova-ios#proxy`. If you want 
to use the proxy now for an URL you need to call this helper function to 
convert the URL `window.WkWebView.convertProxyUrl(myURL)`. This converts the 
URL to a special URL (using a custom scheme) and the proxy will handle it if 
you use the URL in an XHR, fetch <img> tag etc. You can still inspect the 
network tab in the Safari console to check your requests.
   
   Good luck!


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