Skip to main content
Device Permissions2 min read

Device Permissions Overview

Every device permission you can turn on in a WebAppStudio app, what each one is for, how users are asked, and why you should enable only what you use.

Overview

Device permissions let your website use the phone's hardware and data inside the app: the camera for uploads, location for store finders, Face ID for sign-in and so on. Every permission is off by default and optional. Turn on only what your website actually uses: app stores reject apps that ask for access they do not need.

Open Permissions › Device.

Available permissions

Native Device Permissions

PermissionPlatformsUsed for
CameraiOS, AndroidTaking photos, recording video, scanning codes
MicrophoneiOS, AndroidVoice input, voice notes, audio recording
Photo LibraryiOS, AndroidPicking and uploading images and media
ContactsiOS, AndroidReading phone contacts
CalendariOS, AndroidCreating events and reminders
BluetoothiOS, AndroidNearby Bluetooth devices and beacons
Motion & AccelerometeriOSMotion and step data
Biometric AuthenticationiOS, AndroidFace ID, Touch ID and fingerprint
File & Storage AccessAndroidSaving downloads on Android 9 and older (newer versions need no permission)

Other capabilities

SettingUsed forDetails
Location ServicesLocation in your websiteLocation services
App Tracking TransparencyTracking across other companies' apps (iOS)App Tracking Transparency
WebRTC Camera / MicrophoneVideo and audio calls in your websiteCamera, microphone and photos
Background Audio PlaybackAudio that keeps playing when the app is in the backgroundOther device permissions
Downloads DirectoryWhere Android saves downloaded filesOther device permissions
NotificationsPush notificationsSet up in Push notifications

How users are asked

For each permission you control when the app asks, the explanation users see first, the message when access is denied, and whether to offer a button to the phone's settings. See Permission prompts and timing.

iOS purpose strings

Apple requires an accurate explanation (a purpose string) for every capability an iOS app uses. WebAppStudio prefills them to meet App Store and Google Play standards. Review and adjust them in Permissions › Device › iOS Permission Purpose Strings. Vague texts are a common reason for App Store rejection.

Turn a permission on

  1. Open Permissions › Device.
  2. Turn on the permissions your website uses, per platform.
  3. Review the explanations, the optional denied message and the iOS purpose strings.
  4. Save, then start a new build.
Note

Device permissions and purpose strings are part of the app file, so they take effect in your next build. Prompt timing and texts, and Website access rules, are Instant Live Updates.

What happens when a permission is off

The app does not ask for it, and website features that need it get a denied result. Turning a permission off also takes effect in the next build.

Using permissions from your website

Most permissions work through standard web APIs (file inputs, getUserMedia, navigator.geolocation). You can also ask at the right moment with the bridge: await wapp.permissions.request('camera'). See the JavaScript Bridge API reference.

Next steps