breautek commented on issue #352: Accessing cdvfile:// from 
http://[network-url] in ajax throws CORS policy error on Android
URL: 
https://github.com/apache/cordova-plugin-file/issues/352#issuecomment-544989389
 
 
   Why don't you use the actual file reader APIs instead of XHR? XHR is 
intended to make requests to remote servers, not to "download" local files.
   
   https://github.com/apache/cordova-plugin-file#read-a-file-
   
   Not 100% confident, but I don't believe there is a way in the android sdk to 
disable cors in the webview.

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


With regards,
Apache Git Services

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

Reply via email to