Closed platdesign closed 1 year ago
Random idea: can you monkey patch it in the console?
window.isSecureContext = true
@gruhn Exactly what i did to determine if the check (window.isSecureContext !== true
) is my problem - before opening the issue. ;)
if (process.env.NODE_ENV === 'development') {
Object.defineProperty(window, 'isSecureContext', { value: true });
}
BTW: For my case it's not relevant anymore. Added SSL-certs to dev-env for having a secure context.
Ah ok, so this would be a workaround? I'm not sure what to do about other than just leaving this issue open for other people to find 🤷♂️
This issue has been marked as stale. If there is no further activity it will be closed.
Following line prevents debugging on iOS devices in a not secure context with
allow media capture on insecure sites
-option enabled in debugger:https://github.com/gruhn/vue-qrcode-reader/blob/35f718f6dd3f1926e25501af80984fdd4d8b7f28/src/misc/camera.js#L74