Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Android: Force landscape orientation? #177

Open
andreszs opened this issue Feb 28, 2016 · 5 comments
Open

Android: Force landscape orientation? #177

andreszs opened this issue Feb 28, 2016 · 5 comments

Comments

@andreszs
Copy link

I want to lock the scanner in landscape orientation because I only need to scan PDF417 codes which are better read in this mode, is there some setting to force this? Thanks...

@vinfo
Copy link

vinfo commented Mar 17, 2016

Hi, I need the similar configuration. But, I need to set on Portraid orientation. I can´t see in the documentation any idea about this configuration.

@prasad8mhatre
Copy link

Same here, how to setup the default orientation of barcode scanner to landscape mode?

EddyVerbruggen added a commit to Telerik-Verified-Plugins/BarcodeScanner that referenced this issue Apr 16, 2016
Image upside down on tablet #20
Android UI doesn't support Portrait and is small #4
Prebuilt Zebra Crossing (xzing) Library #3
Forcing landscape on camera android #17

And also fixes these issues found here (possibly others as well):
Android Nexus 5x upside down images phonegap/phonegap-plugin-barcodescanner#175
Support Aztec for Android and Ios phonegap/phonegap-plugin-barcodescanner#195
Android: Force landscape orientation? phonegap/phonegap-plugin-barcodescanner#177
Android M issues. Due to new intent/permissions phonegap/phonegap-plugin-barcodescanner#167
Problem with Android 6.0.1 phonegap/phonegap-plugin-barcodescanner#139
Is the zxing version used years away from the original zxing lib? phonegap/phonegap-plugin-barcodescanner#124
Updating ZXing Library phonegap/phonegap-plugin-barcodescanner#59
@EddyVerbruggen
Copy link
Collaborator

We need to think about combining our efforts, but before going there: please check out the Telerik fork which now supports an orientation parameter on Android.

@kodatech
Copy link

Hi,
Thanks EddyVerbruggen for your effort. But the plugin doesn't work in phonegap build.

@EddyVerbruggen
Copy link
Collaborator

Have you tried building with gradle? See the readme

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

6 participants