---
title: Configuration
slug: BZdw-configuration
docTags: 
createdAt: 2026-09-14T23:58:02.576Z
---

## Crash Reporting

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

To disable crash reporting:

```kotlin
KindlySDK.enableCrashReporting = false
```

## Verbose Logging

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

```kotlin
KindlySDK.verboseLogging = true
```

## Attachments

Allow attachments from camera

```kotlin
KindlySDK.config.allowCameraAccess = true
```

Allow attachments from photo library

```kotlin
KindlySDK.config.allowPhotoLibraryAccess = true
```

## Status Bar Color Matching

Control how the SDK handles the device's status bar color to match the chat interface.

### Auto-match Status Bar Color

Automatically match the status bar color to the SDK header color (enabled by default):

```kotlin
KindlySDK.config.autoMatchStatusBarColor = true
```

When enabled, the SDK will:

- Detect if the host app is using a system default status bar color
- If yes, update the status bar to match the SDK header color
- If the host app has a custom status bar color, respect it and leave it unchanged

### Force Override Status Bar Color

Force the SDK to always override the status bar color, regardless of the host app's settings:

```kotlin
KindlySDK.config.forceOverrideStatusBarColor = true
```

When enabled, the SDK will always set the status bar color to match the header, even if the host app has a custom color.

**Note:** This setting only takes effect when `autoMatchStatusBarColor` is also enabled.

### Usage Examples

**Default behavior (respectful mode):**

```kotlin
KindlySDK.config.autoMatchStatusBarColor = true
KindlySDK.config.forceOverrideStatusBarColor = false  // default
```

**Always override host app's status bar:**

```kotlin
KindlySDK.config.autoMatchStatusBarColor = true
KindlySDK.config.forceOverrideStatusBarColor = true
```

**Disable status bar color matching:**

```kotlin
KindlySDK.config.autoMatchStatusBarColor = false
```
