Feedback Client Config
data class FeedbackClientConfig(val baseUrl: String, val appKey: String, val defaultPlatform: FeedbackPlatform = FeedbackPlatform.current)(source)
Immutable configuration for FeedbackClient.
Contains server connectivity settings, your app's public API credentials from the CupThread developer console, and default device metadata defaults.
Example:
val config = FeedbackClientConfig(
baseUrl = "https://api.cupthread.com",
appKey = "app_live_sampleAppKey123",
defaultPlatform = FeedbackPlatform.ANDROID
)
val client = FeedbackClient(config)Content copied to clipboard
Constructors
Link copied to clipboard
constructor(baseUrl: String, appKey: String, defaultPlatform: FeedbackPlatform = FeedbackPlatform.current)
Properties
Link copied to clipboard
Default platform reported on feedback drafts when none is explicitly provided; defaults to FeedbackPlatform.current (FeedbackPlatform.ANDROID).