blinkid-react-native
blinkid-react-native copied to clipboard
invalid licenseKey error is not propagated to javascript
The application just crashes with the red screen.
Here is the text of the exception:
Exception 'Your license key is invalid! This license is invalid for version 4.3.
It is only valid for licensee [bundle name], for product ... up to version 4.2...'
was thrown while invoking scanWithCamera on target BlinkIDIos ...
How do I handle this if catch phrase cannot detect this exception? In the sample code, the log is not triggered.
} catch (error) { console.log('OCR ERROR: ', error); }