Skip to content

Configuration

Enable crash reporting

KindlySDK.enableCrashReporting = true

Sentry is bundled with the SDK and used automatically for crash reporting when enabled.

Enable verbose logging (useful for debugging)

KindlySDK.verboseLogging = true

Chat State

Check if the chat UI is currently displayed

let isDisplayed = KindlySDK.isChatDisplayed

Notification Handling

Get the notification delegate for handling push notifications

UNUserNotificationCenter.current().delegate = KindlySDK.notificationDelegate

Attachments

Allow form attachments from camera

KindlySDK.config.allowCameraAccess = true

Allow form attachments from photo library

KindlySDK.config.allowPhotoLibraryAccess = true