We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var fieldByFieldElement = new BlinkInputReactNative.FieldByFieldElement( 'Regex', new BlinkInputReactNative.RegexParser("[0-9]"), ' Text', 'Scan text' ); var fieldByFieldCollection = new BlinkInputReactNative.FieldByFieldCollection( [fieldByFieldElement] ); const fieldByFieldResult = await BlinkInputReactNative.BlinkInput.scanWithFieldByField( fieldByFieldCollection, licenseKey );
getting error : error [ReferenceError: Property 'BaseOcrEngineOptions' doesn't exist]
The text was updated successfully, but these errors were encountered:
Hi @NithyaBaji1997
Can you please change the 'regexParser.js' file in the following path: .../node_modules/blinkinput-react-native/parsers/regexParser.js
There, you need to import "BaseOcrEngineOptions" so it looks like this:
import { Parser, ParserResult } from '../parser' import { Date, BaseOcrEngineOptions, } from '../types'
Let me know if this helped.
Sorry, something went wrong.
No branches or pull requests
var fieldByFieldElement = new BlinkInputReactNative.FieldByFieldElement(
'Regex',
new BlinkInputReactNative.RegexParser("[0-9]"),
' Text',
'Scan text'
);
var fieldByFieldCollection = new BlinkInputReactNative.FieldByFieldCollection(
[fieldByFieldElement]
);
const fieldByFieldResult = await BlinkInputReactNative.BlinkInput.scanWithFieldByField(
fieldByFieldCollection,
licenseKey
);
getting error : error [ReferenceError: Property 'BaseOcrEngineOptions' doesn't exist]
The text was updated successfully, but these errors were encountered: