---
title: Configuration
slug: j5Bp-configuration
docTags: 
createdAt: 2026-09-14T23:41:45.366Z
---

## Crash Reporting

Crash reporting via Sentry is **enabled by default**. Sentry is bundled with the SDK and used automatically.

To disable crash reporting:

```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
```
