shango-lightning-wallet
shango-lightning-wallet copied to clipboard
QR scan: camera loses orientation when rotating device
- OS (Android/iOS) iOS
- Version of OS 11.3.1
- Device Make and Model iPad
- Shango Version 1.07 (10)
- Device ID (Look in Settings-About Shango) 8783434E-A0A1-4D06-A639-FF29B7A384E1
- LND version lnd v0.4.2-beta
I run the app on my iPad (2017), so this might be a specifc issue with this device.
When scanning a QR code and bringing up the camera, the orientation is fine. When rotating the device clock-wise, the camera shows the image rotated counterclock-wise (so in total rotated 180° on the device, e.g. the display shows the reality wrong 90° counterclock-wise). When rotating the device back to the original orientation, the image stays wrongly rotated 90° ccw.
Expected Behavior
The camera to scan the QR code should always show the image as seen in reality, even when the device is rotated.
Current Behavior
The image is rotated too much and does not change back when the device is held as when originally opening the camera screen.
See this video for clarification. Sorry for the shaky quality, it is reeeeally annoying to aim the camera at something when it is effectively mirrored.
https://vimeo.com/274385649
Please confirm which build you are using. Your text above says you are using build number 10, which is a very old build?
I used build 14, I think.
Now, updated to build 16, the error still persists as the camera image is rotated 90° into the wrong direction. Device is rotated clock-wise, images counterclock-wise. Hard to explain, I attached two new videos for clarity.
- Portrait: https://vimeo.com/274761232
- Landscape: https://vimeo.com/274761833