You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fixed it by using the EasyQrCodeJS package, which relies on this one. There is an option to pass the crossOrigin property with "anonymous". Eventually you have to allow your domains in your backend. In my case I have to set the values in the core.json file add google cloud console for my domains where I want to retrieve the images to the canvas got no longer tainted.
After creating a QR Code, which is displayed and working properly, I get following error in the browser console:
DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
I am using the following code to generate the qr code:
Any ideas on fixing this issue?
The text was updated successfully, but these errors were encountered: