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

iOS 13 adds permission API for device motion #137

Open
blairmacintyre opened this issue Jan 24, 2020 · 1 comment
Open

iOS 13 adds permission API for device motion #137

blairmacintyre opened this issue Jan 24, 2020 · 1 comment

Comments

@blairmacintyre
Copy link
Contributor

See the discussion here fartts/superfluity#293

WebXR polyfill is silently printing "No device motion or orientation events will be fired until permission has been requested and granted." to the console, but needs instead to pop up a permission request.

There is no longer a permission setting in Safari's prefs in iOS.

@danrossi
Copy link

You can do this in your app. It needs to capture a user click to ask permission and cannot be done while going fullscreen. The notification is underneath the fullscreen element.

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 a pull request may close this issue.

2 participants