Public App Config
data class PublicAppConfig(val appId: String, val appKey: String, val slug: String, val name: String, val storeUrl: String?, val storeKind: String?, val iconUrl: String?, val allowPublic: Boolean, val allowedPlatforms: List<FeedbackPlatform>, val maxAttachmentBytes: Long, val allowAnonymousRoadmap: Boolean, val allowAnonymousVote: Boolean, val allowAnonymousFeedback: Boolean, val allowAnonymousChangelog: Boolean, val sdk: SdkAppearance = SdkAppearance.defaults)(source)
Public metadata and configuration for an application, fetched from GET /api/v1/public/config/{appKey}.
Contains remote access policies (such as anonymous voting or roadmap visibility), attachment size limits, app store links, and SDK visual styling.
Example:
val config = client.fetchAppConfig()
if (config.allowAnonymousFeedback) {
// Anonymous users can submit feedback without an explicit user session
}
println("Max upload: ${config.maxAttachmentBytes / (1024 * 1024)} MB")Content copied to clipboard
Constructors
Link copied to clipboard
constructor(appId: String, appKey: String, slug: String, name: String, storeUrl: String?, storeKind: String?, iconUrl: String?, allowPublic: Boolean, allowedPlatforms: List<FeedbackPlatform>, maxAttachmentBytes: Long, allowAnonymousRoadmap: Boolean, allowAnonymousVote: Boolean, allowAnonymousFeedback: Boolean, allowAnonymousChangelog: Boolean, sdk: SdkAppearance = SdkAppearance.defaults)
Properties
Link copied to clipboard
Whether changelog release notes can be viewed anonymously.
Link copied to clipboard
Whether feedback submissions can be sent anonymously.
Link copied to clipboard
Whether the roadmap board can be viewed without a valid user token.
Link copied to clipboard
Whether feature requests can be upvoted by anonymous users.
Link copied to clipboard
List of operating system platforms accepted for feedback.
Link copied to clipboard
Whether the application's public portal is globally enabled.
Link copied to clipboard
Maximum allowed upload size per attachment in bytes (e.g., 10485760 for 10MB).
Link copied to clipboard
Remote theme and surface appearance bundle (SdkAppearance).