fetch App Config
Fetches public app configuration from GET /api/v1/public/config/{appKey}.
Returns app metadata, anonymous permission flags (PublicAppConfig.allowAnonymousFeedback, PublicAppConfig.allowAnonymousVote, etc.), attachment size limits, and the console-configured SDK appearance theme (PublicAppConfig.sdk).
Return
The PublicAppConfig for the configured application.
Throws
on HTTP errors (such as invalid app key).
on network failure or response parsing errors.
Example:
val appConfig = client.fetchAppConfig()
println("App Name: ${appConfig.name}")
println("Theme: ${appConfig.sdk.theme}")Content copied to clipboard