Kustomer Chat SDKs

The Kustomer Chat SDK is available for Android, iOS, and web

Override Brand id

Overrides the Brand id in the SDK.

Initialize the Chat Android SDK with options to override the Brand id. To learn more see Initialize Chat Android SDK with options.

You can copy the Brand id from the Brands page in Kustomer by going to Settings > Administration > Brands.

To learn more, see Create and manage multiple brands in the Kustomer Help Center.

The Brand id appears next to the brand name.The Brand id appears next to the brand name.

The Brand id appears next to the brand name.

👍

Recommendation: Override the Brand id when you initialize

We recommend that you override the Brand when you initialize with options. If you try to fetch the id later, you may experience issues with chat features.

You can also override the Brand id after you initialize the SDK.

You only need to set the ID once to use the id for the entire active session for the app.

//This is a suspend function                
suspend Kustomer.getInstance().overrideBrand(brandId: String) : KusResult<KusChatSetting>

or

Kustomer.getInstance().overrideBrand(brandId) {
    when (it) {
        is KusResult.Success -> it.data
        is KusResult.Error -> it.exception.localizedMessage
    }
}

Updated 3 months ago


Override Brand id


Overrides the Brand id in the SDK.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.