thegrizzlylabs / geniusscan-sdk-demo

Demo apps for Genius Scan SDK
30 stars 38 forks source link

[React Native] iOS - Booting Doc Scanning From Landscape Causes Camera Orientation To Be Stuck #90

Closed andrew-nguyen-mcs closed 1 month ago

andrew-nguyen-mcs commented 1 month ago

Whenever we boot from landscape, the camera will be stuck in portrait mode even though the device is in landscape. It doesn't behave the same on android as the take picture button and cancel button will just stay anchored to one spot. Instead the take picture button and the cancel button will rotate.

iOS (holding the tablet in landscape and the buttons are at the bottom) image When rotating to portrait, the camera will stay stuck in this orientation ^

thomas4Bitcraft commented 2 weeks ago

@andrew-nguyen-mcs did you manage to start the camera on Android in landscape mode?

guillaume-tgl commented 1 week ago

@andrew-nguyen-mcs did you manage to start the camera on Android in landscape mode?

The camera screen in the ScanFlow module (and in the ReactNative plugin) is restricted to portrait on Android. Feel free to create another issue if you need the camera to be displayed in landscape mode.