-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camera/Scanner Screen Auto Rotates #259
Comments
Are you using Android or iOS? |
Was testing on an Android LG G3. |
How did you managed to get auto rotate? I installed today the plugin and need scanner to auto rotate but it doesn't :) using on ios 8.1 edit: ok I enabled autorotate inside the plugin so now its half working. d |
@davorpeic how did you enable it? |
+1 |
Hey @gkorland I opened plugin file and enabled shouldAutorotate in here https://github.com/wildabeast/BarcodeScanner/blob/master/src/ios/CDVBarcodeScanner.mm#L991 you can change this in plugin folder, so your each build have corrected version. I also needed for my plugin to start in landscape so I replaced all Portrait defined params (like in lines from 996-1005) to say Landscape or LandscapeRight, it worked, but it was starting always in oposite orientation, I guess best solution would be to define starting orientation according to Status bar position (but I'm not that into objective-c to be able to fix it.) At the end, this plugin needs some serious maintenance, and it was to buggy for my needs, and as I need only to scan QR codes, I installed this plugin https://github.com/tjwoon/csZBar (just for the ios for the moment) and it's working as a charm. gl, |
Turning off found plain text wildabeast#259 Remove Result Prompt wildabeast#234 Custom Result Messages wildabeast#219
I updated our BarcodeScanner plugin today and discovered that the camera/scanner now auto rotates its orientation. This is a game breaker for situations when you can't rotate the barcode to conform to the camera's orientation. Think of a car door where the VIN barcode is vertical... You can't rip off the door and rotate it...
If this is not an issue, does anyone know of a parameter or setting that can be used to lock in the current orientation or specify one?
Thanks
The text was updated successfully, but these errors were encountered: