phonegap / phonegap-plugin-barcodescanner

cross-platform BarcodeScanner for Cordova / PhoneGap
MIT License
1.27k stars 1.42k forks source link

Scanning of vertical barcodes not working on Android in portrait mode #877

Open thoechtl opened 4 years ago

thoechtl commented 4 years ago

Expected Behaviour

It should be possible to scan "vertical" barcodes on Android like on iOS while in portrait mode.

13BF39DF-957A-46A0-AD51-1F80843B3F62

Actual Behaviour

You have to switch to landscape mode to scan vertical barcodes on Android. This is not optimal when you have to scan many barcodes with different orientation.

Steps to Reproduce

Try to scan a vertical barcode with Android, testing should be possible with the screenshot attached.

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

Android 8, ...

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

LG Nexus 5X

Cordova CLI version and cordova platform version

Capacitor 2.1, but should also apply to Cordova

Plugin version

8.1.0