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
544531645 opened this issue Mar 9, 2018 · 8 comments

Comments

Projects
None yet
3 participants
@544531645
Copy link

commented Mar 9, 2018

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

@dthian

This comment has been minimized.

Copy link
Contributor

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.

@544531645

This comment has been minimized.

Copy link
Author

commented Mar 12, 2018

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

@544531645

This comment has been minimized.

Copy link
Author

commented Mar 12, 2018

phone : google pixel XL

@544531645

This comment has been minimized.

Copy link
Author

commented Mar 12, 2018

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

@dthian

This comment has been minimized.

Copy link
Contributor

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.

@544531645

This comment has been minimized.

Copy link
Author

commented Mar 13, 2018

yes ,This is my bug.

@544531645

This comment has been minimized.

Copy link
Author

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

This comment has been minimized.

Copy link
Contributor

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
You can’t perform that action at this time.