OS permission
Operating-system permissions mediate access to protected capabilities.
Use this when A feature needs camera, location, files, or another protected resource.
without the term
“We need the camera for scanning. If the user says no, the app just breaks or keeps asking. Can you handle the permission properly, including when they change it in settings?”
with the term · How do you ask a model for OS permission?
Implement the permission flow for this action. Test granted, denied, restricted, and changed-in-settings states on the target platform.
What is OS permission?
Camera, location, photos, and notifications each have permission states: not asked, granted, denied, or restricted, and the user can change them in Settings at any time.
Why does OS permission matter when vibe coding?
A generated flow may assume that requesting permission guarantees access.
How do you do OS permission?
Ask in context, explain the feature need, and provide usable denied and restricted states.
What goes wrong with OS permission?
Looping the request when the OS will no longer show another prompt.