So if I understand correctly, it would look like: navigation.permissions.request({ name: “gyroscope” }); // For DeviceOrientationEvents navigation.permissions.request({ name: “accelerometer” }); // For DeviceMotionEvents This does not look bad actually. -- GitHub Notification of comment by cdumez Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/57#issuecomment-447128094 using your GitHub accountReceived on Thursday, 13 December 2018 21:32:25 UTC
This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:56 UTC