Related documentation
Permission prompt localization
Localize iOS usage descriptions and customize how permission prompts appear
in each user’s language.
Apple App Tracking Transparency
Request user consent for tracking on iOS 14.5 and later. Required for
attribution and some analytics.
Background audio
Keep audio playing when your app is in the background.
Camera and file uploads
Configure camera and file upload permissions, and control how users capture
or select images and files.
Downloads directory
Configure where downloaded files are stored and how your app accesses them.
Location services
Request when-in-use or always-on location access and configure location
features.
WebRTC audio & video
Enable microphone and camera access for WebRTC features such as voice and
video calls.
Permission prompts
When requesting permissions from your users, they will be asked to provide their consent. Those prompts are native app components with very limited customization.- iOS: iOS allows a customizable usage description for permission prompts, enabling developers to explain how the requested data will be used. You can follow Permission prompt localization to localize the usage description.
- Android: Android permission prompts are served from the system and are translated to the device language. No additional customization is supported.
JavaScript Bridge functions
Permissions status
Users can change the permissions granted to your app through their device settings. You can programmatically check the status of permissions using the Median JavaScript Bridge:response object includes the current state for each requested permission:
- denied: The permission has been denied or revoked; it can be asked for again.
- granted: The permission has been granted.
- undetermined: The permission was never asked (iOS only).
PhotoLibrary(iOS only)AppTrackingTransparency(iOS only)LocationAlwaysLocationWhenInUseMicrophoneContactsCameraNotifications
App settings
Developer DemoTest launching the app settings menu: median.dev/app-settings
- iOS: Control access to information in apps on iPhone
- Android: Change app permissions on your Android phone
Frequently asked questions
Can I request Bluetooth access?
Can I request Bluetooth access?
As of now Bluetooth is an experimental feature not supported by iOS WebKit or Android WebView.You can track browser compatibility in MDN: Web Bluetooth API.We support a range of Bluetooth devices such as payment terminals, printers, and sensor devices through vendor-provided SDKs and custom native plugins that implement the iOS Core Bluetooth and Android Bluetooth functionality.We implemented custom Bluetooth integrations in our iBeacon and Master Lock plugins.