instascan icon indicating copy to clipboard operation
instascan copied to clipboard

Uncaught (in promise) error on all browsers

Open AL-Kateb opened this issue 6 years ago • 8 comments

Hello, I am trying to implement this library but I am getting this error:

Uncaught (in promise) TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.

What could be the reason?

AL-Kateb avatar Jan 02 '19 13:01 AL-Kateb

If you check the other issues you will see this is a known problem. However I cant seem to find a "fixed" minified version of the js file? All the threads I have read through, when I try their examples I still get the same

sdraper69 avatar Jan 04 '19 12:01 sdraper69

This package was working for me up until this week. Now I'm seeing this same Failed to execute 'createObjectURL' error. I don't know what changed.

ryanhightower avatar Jan 04 '19 17:01 ryanhightower

This appears to be duplicate of Issue #197.

Chrome 71 update removed createObjectURL, the app breakes. npm install git+https://github.com/schmich/instascan.git#master should work while waiting for the next release

ryanhightower avatar Jan 04 '19 17:01 ryanhightower

Here is a build of the latest source that fixes the issue. Verified on my environments

instascan.min.zip

shivaRamdeen avatar Jan 13 '19 20:01 shivaRamdeen

Minified & hosted on Cloudflare:

https://rawcdn.githack.com/tobiasmuehl/instascan/4224451c49a701c04de7d0de5ef356dc1f701a93/bin/instascan.min.js

tobiasmuehl avatar Jan 20 '19 08:01 tobiasmuehl

it works great, thanks! :)

Jhosafat avatar Jan 24 '20 16:01 Jhosafat

Aqui está uma compilação da fonte mais recente que corrige o problema. Verificado em meus ambientes

instascan.min.zip

Muito obrigada esta funcionando perfeitamente ^^

dudhavix avatar Jan 28 '20 01:01 dudhavix

He fixit https://github.com/JoseCDB/instascan/tree/ios-rear-camera

guidomgs avatar May 08 '20 01:05 guidomgs