when i try to load image in canvas it will show this error
Access to image at
'http://localhost/_app_file_/storage/emulated/0/Android/media/com.abc.xyz/1616587242F2.png' from origin 'https://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. in index.html.
I convert my url by this
this.win.Ionic.WebView.convertFileSrc(imageUrl.toString()); but still i am facing this error.
if i used this URL in image tag then its worked but in canvas i am gating error.
Note : i think this error occurs because cordova 10.0.1 remove whitelist plugin. @mhartington