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

fix motion events detection for iOS 13.4, which are broken #42

Closed
wants to merge 1 commit into from

Conversation

ivnnv
Copy link
Contributor

@ivnnv ivnnv commented May 5, 2020

This will fix immersive-web/webxr-polyfill and basically any app out there which uses that webxr-polyfill (including the webxr-examples when apply the one another pre-grant permissions condition on iOS).
This fix is needed because devicemotion is broken in Safari for iOS 13.4, (as it was on Chrome m65).
So this PR adds the double condition to the actual isWithoutDeviceMotion variable.

@jwjordan
Copy link

I'd love to put in a vote for this, as this is a key component in getting aframe cardboard mode working again in iOS 13.4 (aframevr/aframe#4554)

@jsantell
Copy link
Contributor

Is this fixed in Safari for versions after 13_4, if there are any? I don't have iOS devices to test, but I'll get this in

@jsantell
Copy link
Contributor

Landed in de9678d in 1.0.19

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

Successfully merging this pull request may close these issues.

iOS 13 adds permission API for device motion
3 participants