Open askerpro opened 7 years ago
Scanning in landscape and in portrait mods
Working only in landscape mode: In portrait mode I have stretched preview image
orientation: "portrait"
just set orientation to "portrait"
Android 7.1
Mi 4c
cordova --version 6.5.0 cordova platforms
android 6.1.2 (on 5.1.1 the same issue) browser 4.1.0
3.0.0 cordova plugin version | grep phonegap-plugin-barcodescanner
[console.log] Received Event: deviceready [console.log] Plugin available [console.log] We got a barcode Result: Format:
I too can confirm we are having this issue reading the barcode format EAN128 in portrait mode. We are now forcing the scanner into the landscape mode.
Expected Behaviour
Scanning in landscape and in portrait mods
Actual Behaviour
Working only in landscape mode: In portrait mode I have stretched preview image
Reproduce Scenario (including but not limited to)
orientation: "portrait"
Steps to Reproduce
just set orientation to "portrait"
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 7.1
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Mi 4c
Cordova CLI version and cordova platform version
android 6.1.2 (on 5.1.1 the same issue) browser 4.1.0
Plugin version
3.0.0 cordova plugin version | grep phonegap-plugin-barcodescanner
Sample Code that illustrates the problem
Logs taken while reproducing problem
[console.log] Received Event: deviceready [console.log] Plugin available [console.log] We got a barcode Result: Format: