Re: [deviceorientation] requestPermission() and event handling clarification (#74)

> The URL https://www.w3.org/TR/orientation-event/#gesture-recognition indicates that shake event tracking is a use case of this API. However, the requestPermission function only stores permission per session, making it impossible to implement an app that tracks shake events as defined in the use case. To enable the tracking of shake events, it is necessary to request permissions every time a new session starts.

Whether or for how long permissions persist between sessions is a user agent decision outside the scope of this specification.

-- 
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/74#issuecomment-1515166450 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 19 April 2023 18:13:54 UTC