ionic-team / ionic-team/cordova-plugin-ionic-webview
Canvas and Cors
Open
needs answer
- Dominant language
- Objective-C
- Stars
- 493
- Forks
- 410
- PR merge metrics
- No merged PRs in 30d
Description
Im trying to load local images into canvas (openlayer) and prevent my canvas from getting [tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image) in the process.
I cannot load "file:///..." urls because it is not allowed.
And I cannot request it from localhost (this.webview.convertFileSrc) hence CORS.
How can I solve the CORS issue that is requesting files locally?
Contributor guide
Assessment
This issue has not been assessed yet.