- From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
- Date: Wed, 10 Feb 2021 12:10:56 +0000
- To: public-device-apis-log@w3.org
> Return "granted" or "denied" if the permission state is set to either value. > Otherwise, return "denied" if there is no user activation. > Call the "request permission to use" algorithm from the Permissions spec in case there is user activation. I assume that people want to be able to call on load to start using the feature immediately if access is granted, and if not decided yet (prompt) be able to prompt given a user activation. That is now I envision this for NFC. If the user was never asked I will show an onboarding screen and let users activate, or not. On future launches, the user expects to be able to load the app, and then immediately start scanning tags without having to do some user interaction with their fingers. For that to be possible, I guess we need to return "prompt" instead of denied... Otherwise sites will try to prompt again, no? Maybe they should, not sure -- GitHub Notification of comment by kenchris Please view or discuss this issue at https://github.com/w3c/screen-wake-lock/pull/303#issuecomment-776664795 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 10 February 2021 12:10:59 UTC