# Privacy manifest files

In SDK source code there is `PrivacyInfo.xcprivacy`, which describes the data the SDK collects and the reasons the required APIs use that data.

You can find more information about privacy manifests on the [Apple Developer Documentation](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files).

## Describing data use in privacy manifests

Record the categories of data that your app or third-party SDK collects about the person using the app, and the reasons it collects the data.

If you [enable]((/docs/sinch-chat/getting-started/ios/configuration-parameters/#disable-some-of-the-features) the option to send voice messages, you **must add** the `NSPrivacyCollectedDataTypeAudioData` data type to your `PrivacyInfo` file.
Likewise, if you [enable]((/docs/sinch-chat/getting-started/ios/configuration-parameters/#disable-some-of-the-features) the Share Location option, you **may need to add** `NSPrivacyCollectedDataTypePreciseLocation` data type to your `PrivacyInfo` file, depending on the scenario.
If you [enable]((/docs/sinch-chat/getting-started/ios/configuration-parameters/#disable-some-of-the-features) the option to send photo or video messages, you **must add** the `NSPrivacyCollectedDataTypePhotosorVideos` data type to your `PrivacyInfo` file.

You can find more information about describing data use in privacy manifests on the [Apple Developer Documentation](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests).

An example of a privacy manifest is given below:

```swift
    <key>NSPrivacyCollectedDataTypes</key>
    <array>
        <dict>
            <key>NSPrivacyCollectedDataType</key>
            <string>NSPrivacyCollectedDataTypeAudioData</string>
            <key>NSPrivacyCollectedDataTypeLinked</key>
            <false/>
            <key>NSPrivacyCollectedDataTypeTracking</key>
            <false/>
            <key>NSPrivacyCollectedDataTypePurposes</key>
            <array>
                <string>User can send voice message to the other user using chat.</string>
            </array>
        </dict>
        <dict>
            <key>NSPrivacyCollectedDataType</key>
            <string>NSPrivacyCollectedDataTypePhotosorVideos</string>
            <key>NSPrivacyCollectedDataTypeLinked</key>
            <false/>
            <key>NSPrivacyCollectedDataTypeTracking</key>
            <false/>
            <key>NSPrivacyCollectedDataTypePurposes</key>
            <array>
                <string>User can send his photos or videos to the other user using chat.</string>
            </array>
        </dict>
        <dict>
            <key>NSPrivacyCollectedDataType</key>
            <string>NSPrivacyCollectedDataTypePreciseLocation</string>
            <key>NSPrivacyCollectedDataTypeLinked</key>
            <false/>
            <key>NSPrivacyCollectedDataTypeTracking</key>
            <false/>
            <key>NSPrivacyCollectedDataTypePurposes</key>
            <array>
                <string>User can send his location to the other using chat.</string>
            </array>
        </dict>
    </array>
```

Now that you have assigned permissions and populated the privacy manifests, you can [show the chat]((/docs/sinch-chat/getting-started/ios/showing-chat/).