-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Barcode.allowRotation = false; not working. #90
Comments
on iOS it is remove and scans in every direction. |
Why was it removed? I do not want the camera to rotate in my app. How can I achieve this without Barcode.allowRotation? |
as far as I understood that parameter it was only used for allowing scanning in both directions, not locking the phone. For android you can change it via xml |
Look at my new PR to prevent the rotation of your scanner. It will stay in the same orientation as the calling window. |
@jwogan5 Very cool. I'm really excited for this addition. Thank you! |
Barcode.allowRotation = false; does not work. Tried it on example app.js too.
Using v2.0.3
The text was updated successfully, but these errors were encountered: