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.

-- 
GitHub Notification of comment by stepancar
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/74#issuecomment-1514344471 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 08:33:21 UTC