Open pjain8889 opened 2 years ago
Hi @pjain8889,
I'm not able to reproduce this issue.
Browser caching of the resources shouldn't be a problem if you're using exact links, e.g. loadSettings.engineLocation = "https://unpkg.com/@microblink/blinkid-in-browser-sdk@5.11.4/resources/";
instead of loadSettings.engineLocation = "https://unpkg.com/@microblink/blinkid-in-browser-sdk/resources/";
. But that looks good, based on the code you provided.
Can you make sure that you're using the same version of the JavaScript SDK and WebAssembly engine?
Also, in which way are you importing/including the JavaScript SDK files?
Sincerely, Vjekoslav
I noticed the In-browser SDK version upgraded to 5.13.0 but not sure from today I am facing an issue in the older version(5.11.4) also. While loading the WASM file in the browser, it is cached and giving an error when uploading an image for extraction.
It is cached instead of loading:![image](https://user-images.githubusercontent.com/67706842/135271729-34b81cc7-8b63-40a9-a1e2-b4a474ed4f9e.png)
Error during upload a image:![image](https://user-images.githubusercontent.com/67706842/135271838-ef2d39d9-b94a-41a5-abda-b8712f82cafc.png)
This is the code I am using : loadSettings.engineLocation = "https://unpkg.com/@microblink/blinkid-in-browser-sdk@5.11.4/resources/"; loadSettings.wasmType = BlinkIDSDK.WasmType.Basic;
Let me know what I am missing here or the issue is from the version. Please let me know as soon as possible.
Thanks, Prashant