Skip to content

Conversation

@ivnnv
Copy link
Contributor

@ivnnv ivnnv commented May 1, 2020

This PR fixes: #18
How? It adds a permissions button to prompt the user to grant motion/orientation device permissions.

perms button

It also updates the polyfill to its latest (unminified) version.
Because we need to add a fix to isChromeWithoutDeviceMotion function, as it needs to return true on iOS, because the devicemotion event bind WONT work for iOS but deviceorientation will with no issues at all.

+ add iOS specific perms requirements + fix event capabilities polyfill check
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.

WebXR wont work on iOS

1 participant