vitto32 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-545000581
 
 
   I do download the file from remote API (this part works) and I store it for 
offline usage.
   But then I have to load it.
   
   I've tried using a file reader, but reading files is very slow (the files 
are huge).
   
   The workaround (ugly) I'm thinking about is to edit the JSON, prepend a 
function call and load it through jsonp. 
   Being able to disable CORS for `cdvfile` or `file` protocol on the webview 
would be a lot nicer and I can reuse code (I'm porting an Electron app).

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