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
Specs of the phone where the plugin is not working on:
One UI-Version: 6.0
Android: 14
Productname: Galaxy A53 5G
Other test devices, where the plugin is working on:
Iphone 11 Pro (IOS 18.0), Ipad Pro 4th generation (IOS 18.0.1), Xiaomi Redmi Note 9 (Android 12), Lenovo P11 (Android 13), Emulated Pixel 8 Fold (Android 14 & 15)
Issue:
We are trying to use this plugin and got it to work on IOS 18 and older android phones and some android 35 simulators, as listed above.
When scanning a qr code with a Samsung galaxy A53 5G, no result is returned. The qr code is not being recognized by the plugin and therefore the camera just stays open. We tried to scan the qr code many times, from different angles, different light conditions, but couldnt get the code to be scanned. With the normal camera app, the qr code is recoginzed instantly.
Code that opens the camera:
openScanner(){if(this.platform.is('capacitor')){CapacitorBarcodeScanner.scanBarcode({hint: CapacitorBarcodeScannerTypeHint.QR_CODE,scanInstructions: TranslatePipe.get("ScanDevice"),scanText: TranslatePipe.get("ScanDevice")}).then(response=>{letresult=response.ScanResult.split(";");if(result.length>1){this.token=result[0];this.deviceID=result[1];setTimeout(()=>{this.claimDevice();},100);}else{//TODO: Show Toast}});
We also tried it with the .ALL typeHint, but got no result either.
We also added android specific configuration:
Project:
Ionic/Angular: 8.3.2
Capacitor: 6.1.2
barcode-scanner: 1.0.1
Test devices:
Specs of the phone where the plugin is not working on:
One UI-Version: 6.0
Android: 14
Productname: Galaxy A53 5G
Other test devices, where the plugin is working on:
Iphone 11 Pro (IOS 18.0), Ipad Pro 4th generation (IOS 18.0.1), Xiaomi Redmi Note 9 (Android 12), Lenovo P11 (Android 13), Emulated Pixel 8 Fold (Android 14 & 15)
Issue:
We are trying to use this plugin and got it to work on IOS 18 and older android phones and some android 35 simulators, as listed above.
When scanning a qr code with a Samsung galaxy A53 5G, no result is returned. The qr code is not being recognized by the plugin and therefore the camera just stays open. We tried to scan the qr code many times, from different angles, different light conditions, but couldnt get the code to be scanned. With the normal camera app, the qr code is recoginzed instantly.
Code that opens the camera:
We also tried it with the .ALL typeHint, but got no result either.
We also added android specific configuration:
and tried both ZXING and mlkit, but with no result either.
Is there a known problem with samsung phones?
The text was updated successfully, but these errors were encountered: