ti.barcode icon indicating copy to clipboard operation
ti.barcode copied to clipboard

Orientation Change Detection

Open eventryco opened this issue 4 years ago • 1 comments

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

eventryco avatar Jul 22 '20 01:07 eventryco

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.

newportsolutionsgroup avatar Mar 12 '21 16:03 newportsolutionsgroup