---
title: Configuration
slug: sdk/ios-sdk-config
createdAt: 2026-11-04T11:40:27.175Z
---

## Crash Reporting

Crash reporting is **enabled by default**: the SDK reports its own errors to Kindly so we can find and fix them. It does not include or require the Sentry SDK, so it works alongside your app's own Sentry setup, whatever version you use, and its reports never reach your Sentry project.

To disable it:

```swift
KindlySDK.enableCrashReporting = false
```

## Verbose Logging

Verbose logging is disabled by default. To enable it (useful for debugging):

```swift
KindlySDK.verboseLogging = true
```

## Chat State

Check if the chat UI is currently displayed

```swift
let isDisplayed = KindlySDK.isChatDisplayed
```

## Notification Handling

Get the notification delegate for handling push notifications

```swift
UNUserNotificationCenter.current().delegate = KindlySDK.notificationDelegate
```

## Attachments

Allow form attachments from camera

```swift
KindlySDK.config.allowCameraAccess = true
```

Allow form attachments from photo library

```swift
KindlySDK.config.allowPhotoLibraryAccess = true
```
