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

Possible orientation change race conditions #57

Open
kimberlysiva opened this issue Apr 26, 2017 · 0 comments
Open

Possible orientation change race conditions #57

kimberlysiva opened this issue Apr 26, 2017 · 0 comments

Comments

@kimberlysiva
Copy link
Contributor

Several pieces of the system need to respond to orientation changes:

  • Action Bar needs to show/hide
  • System UI needs to show/hide (e.g. button bar on Android)
  • Vuforia needs to reconfigure camera background and rendering primitives
  • Argon needs to publish the device state

These events are not instantaneous. For example, if we make changes to the System UI visibility on an orientation change event it will be a few hundred milliseconds before the views have the correct new size.

Currently, we handle this issue with a variety of timeouts, e.g. configuring Vuforia 500ms after an orientation event. There are possible race conditions here, we may want to clean up this logic.

Search the project for setTimeout to find the current fixes.

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

1 participant