> For the complete documentation index, see [llms.txt](https://sdk.zello.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.zello.com/core-concepts/permissions.md).

# Permissions

<figure><img src="/files/XRD2ozcPEGg0hD04YUL3" alt=""><figcaption></figcaption></figure>

### Android <a href="#android" id="android"></a>

The Android SDK includes its own `AndroidManifest.xml` file that will merge with your application’s manifest. Accordingly, all required permissions will be automatically included.

For clarity and transparency, below you’ll find a list of the permissions that are required and their use case:

```
    // Networking
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    
    // Voice messages
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    
    // Background work
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
    
    // Working with bluetooth accessories
    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
    <uses-permission
		android:name="android.permission.BLUETOOTH_SCAN"
		android:usesPermissionFlags="neverForLocation"
		tools:targetApi="s" />
        
    // Android 14+ foreground service types
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
	
    // Used for location messages, as well as our geotracking "Map" feature available through the Zello Work console.
    // Additionally, used for Bluetooth scanning
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
	
    // Vibrating the phone when a message is received
    <uses-permission android:name="android.permission.VIBRATE" />
	
    // Android 7 permissions to store history. Not needed if your app targets Android 8+
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
	
    <uses-feature
        android:name="android.hardware.microphone"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.wifi"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.bluetooth"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.bluetooth_le"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.location"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.location.gps"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.location.network"
        android:required="false" />
```

You will need to request these permissions (audio, post notifications, location, bluetooth) wherever it makes sense for your application, but before you use these Zello SDK features.

Although the SDK does not include the permission `ACCESS_BACKGROUND_LOCATION` by default, you may choose to add it to your manifest. It must be granted for location services to work in cases where your app is signing into the SDK while running in the background.

### iOS <a href="#ios" id="ios"></a>

The iOS SDK uses the following permissions:

1. Notifications
2. Microphone
   1. Sending audio messages
3. Bluetooth
   1. Connecting to bluetooth accessories
4. Location
   1. Location messages, as well as our geotracking "Map" feature available through the Zello Work console.

After the **notifications** permission has been granted, call the `Zello.registerForRemoteNotifications(deviceToken:)` function.

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sdk.zello.com/core-concepts/permissions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
