Kindly SDKConfig
Configuration for the Kindly Chat SDK. Access via ChatKindlySDK.config to modify permissions, theme, and status bar behavior.
Properties
Whether the SDK is allowed to access the device camera for attachments. Defaults to true.
Whether the SDK is allowed to access the photo library for attachments. Defaults to true.
Controls whether the SDK should automatically match the status bar color to the header color. When true (default), the SDK will set the status bar color to match the header if the host app hasn't set a custom status bar color. When false, the SDK will never modify the status bar color.
When true, the SDK will always override the status bar color to match the header, even if the host app has set a custom status bar color. When false (default), the SDK respects the host app's custom status bar color. Note: This only works when autoMatchStatusBarColor is also true.
Functions
Clears any custom theme that has been set and reverts to the default theme.
Sets a custom theme for the chat UI.
Sets a custom theme using individual color parameters. Only specified colors (non-null) will override the default theme.