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
Hi All,
I would like to have access to configurations in barcodescanner. I thought it was a barcodescanner problem (as you can see in the open issue here)
In summary :
I tried to change ionic-native to include options
static scan(options?: { preferFrontCamera?: boolean; showFlipCameraButton?: boolean; prompt?: string; formats?: string; orientation?: string; }): Promise<any>;
In my TS I declared barcodescanner
BarcodeScanner.scan({"preferFrontCamera" : true}).then((barcodeData) => { // ... }, (err) => { // ... });
Then in my console when debugging on android phone I've got this error:
BarcodeScanner.scan failure: success callback parameter must be a function
Anyone could help on this ?
The text was updated successfully, but these errors were encountered:
4fdcbb5
Successfully merging a pull request may close this issue.
Hi All,
I would like to have access to configurations in barcodescanner.
I thought it was a barcodescanner problem (as you can see in the open issue here)
In summary :
I tried to change ionic-native to include options
In my TS I declared barcodescanner
Then in my console when debugging on android phone I've got this error:
BarcodeScanner.scan failure: success callback parameter must be a function
Anyone could help on this ?
The text was updated successfully, but these errors were encountered: