Thanks for updating this issue, it's great to see the progress here. I was wondering it it's possible to get some minor points clarified related to the proposed specification PR #68
Based on the spec, the user interface would look something like:
1. A bespoke dialog to approve motion and orientation permissions to view in AR with an 'Ok, got it' button (explicit action), clicking this button fires two promises that result in two prompts:
2a. Prompt for device motion for origin
2b. Prompt for device orientation for origin
3. Then start.
Is there a mechanism to check if permission is granted prior to (1)? It may be confusing to see 'Permission is required, please allow' followed by no prompts (immediately return 'granted').
Are implementations allowed to merge (2a) and (2b) into a single prompt (2)? If so, adding something to this effect ("Implementations may choose to resolve simultaneous permissions promises with a single user prompt") could help clarify this.
Any clarification on these points would be greatly appreciated.
--
GitHub Notification of comment by nbutko
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/57#issuecomment-472619743 using your GitHub account