Permission Prompts and Timing
Choose when your app asks for each permission, write the explanation users see first, the denied message, and the option to open the phone's settings.
Overview
Users are far more likely to allow access when they understand why it is needed and are asked at the right moment. For each permission you turn on in Permissions › Device, you control the request.
Request timing
| Option | When the app asks |
|---|---|
| At runtime when feature is accessed (recommended) | The first time your website uses the feature, for example when the user taps a camera upload button. |
| Immediately on app launch | Right after the app opens. Use only when the app cannot work without the permission. |
| Manual bridge request only | Only when your website calls wapp.permissions.request(). Gives you full control over the moment. |
Texts
- User-facing explanation (required by the app stores): shown before the system prompt, so users know why you ask.
- Denied message (optional): shown when access was refused, for example "Access is required to use this feature. Please enable it in Settings."
- Allow user to open system Settings: offers a button to the app's settings page when access was denied.
On iOS, the system prompt itself shows your purpose string; see Permissions overview.
Updates
Timing, explanation, denied message and the settings button are Instant Live Updates. Turning a permission itself on or off needs a new build.
Ask from your website
With Manual bridge request only, or whenever you want to ask at a specific moment:
async function enableScanner() {
if (!window.wapp) return; // not inside the app
const result = await wapp.permissions.request('camera');
if (result.success && result.status === 'granted') {
startScanner();
} else {
showHowToEnableCamera();
}
}Check the current state without asking with wapp.permissions.status('camera'). See the API reference.
Push notifications
The notification permission has its own prompt settings in Integrations › Push notifications › Permission Prompt. See Push notifications overview.
Tips
- Ask in context, right before the feature is used.
- Explain the benefit to the user, not the technical need ("Scan your loyalty card" rather than "Camera access required").