So my question is somewhat related to Firefox SecurityError: "The operation is insecure.". Uploading image works on all browsers expect Firefox Android App, It throws SecurityError. I am not able to understand how this is CORS issue. The image is just read from the FileReader and displayed in the UI.
reader.onload = (e) => {
this.displayImage(e.target.result, file.name);
this.toggleUploadInput();
};
reader.onerror = (e) => {
alert('error:'+ e.target.error.name);
};
Any help will be appreciated. Thanks.
Solved, the Firefox didn't have the total access to the camera, mic .. You must make sure that it has access to all your device's resources that it is asking for.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With