-
Notifications
You must be signed in to change notification settings - Fork 70
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
Chrome 5.0 deviceorientation event handling has changed #22
Comments
I'm running into the same issue I think. Safari on iPhone behaves fine but with chrome (both Android and iOS), north aligns with the orientation of the device when the page is loaded. |
I'm on chrome mobile ver 54.0.x and I can't seem to reproduce the issue. I still get absolute data from chrome on android. |
Has any progress been made on this? Is there a branch (or other library) where this has been fixed? |
I have made a fix on my branch. World positioning on android chrome is fixed as a result. |
Just confirmed that MrBlenny's branch fixes the currently-broken compass behavior in Chrome. Can that get turned into a pull request and integrated? |
See: https://developers.google.com/web/updates/2016/03/device-orientation-changes?hl=en
The deviceorientation event in Chrome has changed from 'world' (absolute coordinates) to 'game' (relative coordinates) matching Safari.
DeviceOrientation.js likely needs to be updated. Two options:
It seems that the changes were rolled out a week ago (2016-04-25):
https://en.wikipedia.org/wiki/Google_Chrome_release_history
The text was updated successfully, but these errors were encountered: