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

ViroViewAR rotation everytime we re-enter AR #40

Closed
wkl-coder opened this issue Mar 9, 2018 · 8 comments
Closed

ViroViewAR rotation everytime we re-enter AR #40

wkl-coder opened this issue Mar 9, 2018 · 8 comments

Comments

@wkl-coder
Copy link

@wkl-coder wkl-coder commented Mar 9, 2018

What happens when the camera occasionally turns sideways and then goes back to the vertical?

@dthian
Copy link
Member

@dthian dthian commented Mar 9, 2018

Hey @544531645, this is probably happening when you tilt/rotate your android device far enough, such that the activity orientation switches between landscape and portrait. With Android, you should be able to lock this behavior into portrait or landscape mode.

@wkl-coder
Copy link
Author

@wkl-coder wkl-coder commented Mar 12, 2018

I use demo ,aleardy set screenOrientation,="portrait", but it also happend

@wkl-coder
Copy link
Author

@wkl-coder wkl-coder commented Mar 12, 2018

phone : google pixel XL

@wkl-coder
Copy link
Author

@wkl-coder wkl-coder commented Mar 12, 2018

I find when go to background and back to app always happend

@dthian
Copy link
Member

@dthian dthian commented Mar 12, 2018

Hi @544531645, I've attempted to reproduce the issue with the enforced screenOrientation=portrait mode flag, and have attached a video gif here. In it you can see the activity momentarily rotate from portrait to landscape upon returning into the activity - is this the bug you are seeing?

ezgif-4-1dacb2cc44

This appears to be a bug on the ViroCore platform, I've filed a bug so that we may be able to patch it. This issue will be updated once the fix has been pushed into release.

@wkl-coder
Copy link
Author

@wkl-coder wkl-coder commented Mar 13, 2018

yes ,This is my bug.

@wkl-coder
Copy link
Author

@wkl-coder wkl-coder commented Mar 16, 2018

This problem occurs when I suddenly pick up my phone from the table.

@dthian dthian changed the title hello world demo ViroViewAR rotation everytime we re-enter AR Mar 19, 2018
@dam00n
Copy link
Collaborator

@dam00n dam00n commented Mar 30, 2018

This issue has been fixed in the latest update, ViroCore 1.5. Release notes and upgrade instructions here -> https://virocore.viromedia.com/docs/releases

Let us know if you are still having issues after upgrading.

@dam00n dam00n closed this Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants