Reputation: 21
I have an Ionic 4 cordova project which I want to integrate the MicroBlink BlinkID Plugin to scan PDF417 barcodes. I installed the BlinkID Plugin following instructions from the Ionic website and added the snippet to scan barcodes. However I get an error on the line where we call the BarcodeRecognizer function.
const barcodeRecognizer = new this.blinkId.BarcodeRecognizer();
barcodeRecognizer.scanPdf417 = true;
The error from XCode console is; WARN: Native: tried calling BlinkId.BarcodeRecognizer, but the BlinkId plugin is not installed. WARN: Install the BlinkId plugin: 'ionic cordova plugin add blinkid-cordova’
Can anyone please assist.
Upvotes: 2
Views: 184
Reputation: 196
The public version of BlinkID (which can be found on GitHub), does not contain the BarcodeRecognizer.
The official GitHub page to BlinkID Cordova: https://github.com/BlinkID/blinkid-cordova
However, there is a version of BlinkID that contains all of the recognizers, including the BarcodeRecognizer.
In order to acquire it, you will need to contact the support team at [email protected] and they will enabled you the right for the Custom SDK with all of the recognizers.
Hope this helps. Milan
Upvotes: 2