Show message on iOS to request user to enable devicemotion manually
See original GitHub issueSince iOS 12.2 Safari devicemotion
API comes disabled by default. The user has to enable manually on settings. We could detect iOS and if the API is disabled we can display a message above the enter VR button asking the user to enable.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:15 (9 by maintainers)
Top Results From Across the Web
DeviceMotion and DeviceOrientation in WKWebView iOS 13
But in my app inside I am using WKWebView and When I press Ask Permission Button, It is not showing any alert for...
Read more >Unable to check DeviceOrientationEvent - Apple Developer
Hello there. With iOS12.2+ Apple changed the way to access DeviceOrientation and DeviceMotion in Safari: The user must first do any gesture (click...
Read more >Device motion / orientation events not working in third-party ...
There is no satisfactory workaround for the above issue. Any consenting web application cannot prompt their users to request gyroscope ...
Read more >How to Request Device Motion and Orientation Permission in ...
Learn how to Request Device Motion and Orientation Permission in iOS 13. ... The permissions API is a known user pattern and it...
Read more >AuthSession - Expo Documentation
In order to be able to deep link back into your app, you will need to set a scheme in ... You can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can just one feature detect
devicemotion
? A bit ugly but maybe:Example on how 8th wall deals with the issue: https://github.com/aframevr/aframe/issues/3976#issuecomment-493035158