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

QR scan: camera loses orientation when rotating device #13

Open
Stadicus opened this issue Jun 10, 2018 · 2 comments
Open

QR scan: camera loses orientation when rotating device #13

Stadicus opened this issue Jun 10, 2018 · 2 comments

Comments

@Stadicus
Copy link

  • 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

@neogeno
Copy link
Owner

neogeno commented Jun 12, 2018

Please confirm which build you are using. Your text above says you are using build number 10, which is a very old build?

@Stadicus
Copy link
Author

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.

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