0

I'm using react-native-vision-camera to build a QR-Code-Scanner for my app. I followed this guide by dynamsoft: https://www.dynamsoft.com/codepool/react-native-qr-code-scanner-vision-camera.html

In the beginning everything worked fine but now I'm always getting an Exception when reading QR-Codes with my camera. Even with the provided example project in the post it's not working properly anymore.

The detected result I get always has asterisks in it like this: [Attention(exceptionCode:-20111)] *ttp*//**ca*h*st*9*02/*entalobje*ts*book**98420*d*6b**-4***-9e***6*d796*0c*55

I already tried reinstalling the library and everything but I can't get it to work.

Tim Langner
  • 357
  • 3
  • 16
  • 1
    This is exactly the issue I have been trying to resolve. For me this issue pops up only in ios build. Followed the exact same guide, examples, etc. Please do share the solution if you are able to find any. – Rahul Thampi Aug 29 '22 at 13:56
  • @RahulThampi will do! – Tim Langner Aug 29 '22 at 14:09
  • Hey @Tim Langner, this seems like a License expiry issue from `DynamsoftBarcodeReader` [Error List](https://www.dynamsoft.com/license-server/docs/common/errorlist.html?ver=latest) – Rahul Thampi Aug 29 '22 at 18:01
  • Hi @RahulThampi thanks for letting me know! I'll look into your answer in more detail tomorrow and let you know if it helps me. Thank you! – Tim Langner Aug 29 '22 at 20:25

1 Answers1

3

vision-camera-dynamsoft-barcode-reader has an internal dependency on DynamsoftBarcodeReader SDK and it needs an active license, which I found out in their other examples. In all their examples, public license are used which has an expiration date.

Due to this reason, I made a switch to vision-camera-code-scanner. This was already suggested in Community Plugin List of VisionCamera.

Hope this helps!

Rahul Thampi
  • 98
  • 1
  • 6