You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
Version
Dev mode.......... capacitor
Pkg quasar........ v1.15.0
Pkg @quasar/app... v2.1.14
Debugging......... enabled
Running mode...... IDE (manual)
Desktop (please complete the following information):
OS: windows
Browser chrome
Smartphone (please complete the following information):
Device: samsung galaxy s10
OS: 10.0
Browser
Version [e.g. 22]
Additional context
Hello.. Thank you for making a great program.
There are some strange things, so I ask you a question.
I am using the quasar framework.
My source is
methods: {
async checkPermission() {
const { BarcodeScanner } = Plugins;
const status = await BarcodeScanner.checkPermission({ force: true });
if (status.granted) {
// 권한이 부여 된 사용자
return true;
}
return false;
},
async startScan() {
try {
const { BarcodeScanner } = Plugins;
const status = await this.checkPermission();
await BarcodeScanner.hideBackground();
const result = await BarcodeScanner.startScan();
if (result.hasContent) {
alert(result.content);
}
} catch (error) {
alert(error);
console.error(error);
}
}
When I run the scan... nothing happens.
It seems that hideBackground is not doing anything.
However, when the barcode is scanned... the barcode is output as an alert.
It works fine, but I can't see the scan screen.
Is there any other way I can try?
The text was updated successfully, but these errors were encountered:
There was an image on my page.
I set the image to none and it works fine.
Thank you..
The zxing module seems to be slow to recognize code 128..
Trying to apply another module. mlkit
Version
Dev mode.......... capacitor
Pkg quasar........ v1.15.0
Pkg @quasar/app... v2.1.14
Debugging......... enabled
Running mode...... IDE (manual)
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Hello.. Thank you for making a great program.
There are some strange things, so I ask you a question.
I am using the quasar framework.
My source is
methods: {
async checkPermission() {
const { BarcodeScanner } = Plugins;
const status = await BarcodeScanner.checkPermission({ force: true });
When I run the scan... nothing happens.
It seems that hideBackground is not doing anything.
However, when the barcode is scanned... the barcode is output as an alert.
It works fine, but I can't see the scan screen.
Is there any other way I can try?
The text was updated successfully, but these errors were encountered: