Ask for the Camera When There Is Something to Photograph
A permission prompt makes more sense beside a useful action. Explain the purpose, handle refusal, and provide a fallback that fits the task.

Start with the action
If a mobile app lets someone attach a delivery photo, ask for camera access when they choose that action. A prompt on the opening screen gives no context and may be refused before the person understands the benefit. Explain what the image will be used for and whether it leaves the device. Keep that explanation consistent with the actual upload and retention behavior, including any third-party processing involved.
Refusal is a supported path
People can decline access accidentally or deliberately. Keep the rest of the app usable where possible and offer a suitable alternative, such as selecting an existing image or completing the record without a photo when the workflow allows it. Avoid repeatedly showing the same request after refusal. If system settings are required to change the decision, explain that route clearly without claiming the app can grant permission itself.
Permission can change later
A user may revoke access between sessions or while the app is in the background. Check current availability when the feature is used, and handle interruptions without losing the surrounding form. Test the camera being unavailable, another app using the hardware, and a capture cancelled halfway through. A single successful test after a clean installation covers only one of the states the application will encounter in ordinary use.
Keep the captured image intentional
Show a preview and let the person retake or remove the image before submission. Consider whether metadata such as location is necessary and handle it accordingly. Explain whether a photo was only captured, saved locally, or successfully uploaded; those are different outcomes. Test poor connectivity and app restarts so a reassuring thumbnail does not hide the fact that the server never received the image needed to finish the record.


