I am using trying to use a component named “Drawing Canvas” to allow users to do some markups. There some functions that allow converting the canvas to an image.
These work perfectly when I am previewing my mobile app in the chrome emulator but when I do an IOS build and try it on my phone, I get an exception of “This operation is insecure”.
I have played with various content security policies and such in Lifetime but nothing seems to help.
Any thoughts on what in the platform or mobile app is causing this security issue? I am not pulling any data from any external source, this is all data on the client side.
Hi,
This is not an error due to the OutSystems platform, but to the implementation of HTML Canvas.toDataURL() method that is probably used in the component. iOS has a different implementation with stricter security than android.
Some more information:
https://stackoverflow.com/questions/20424279/canvas-todataurl-securityerror
Regards,
Daniel