Rule 7.11, Flows

Ask for permission at the moment of need

DefaultAdapts

Rule. Ask for a device permission when the person selects the feature that needs it, and say why.

Wide screen. On a wide screen, show the request in a popover at the control, and keep the page usable beside it. (Triggers: Fine pointer)

Why. A request at launch has no context, so people refuse. A request at the point of use explains itself.

When not. Ask first when the product cannot run without the permission.

Do. The sheet appears after Scan and says what the camera is for.

Don't. The app asks for 3 permissions at launch, before any feature.

Size pair. The phone asks in a sheet. The window uses a popover.