Skip to content
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

Orientation Change Detection #132

Open
eventryco opened this issue Jul 22, 2020 · 1 comment
Open

Orientation Change Detection #132

eventryco opened this issue Jul 22, 2020 · 1 comment

Comments

@eventryco
Copy link

Is it possible to have a callback when the scanner turns from portrait to landscape?

@newportsolutionsgroup
Copy link

I am also experiencing issue in Android. Setting the Ti.Gesture orientationchange event listener does not trigger after barcode capture has been called.
My barcode UI rotates just.
After adding Ti.Gesture.addEventListener('orientationchange', someFunction ) in the window that starts the barcode capture the 'someFunction' is only called before opening and after the barcode/camera is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants