Sdk Features
data class SdkFeatures(val feedback: Boolean = true, val featureRequests: Boolean = true, val roadmap: Boolean = true, val changelog: Boolean = true)(source)
Feature availability switches configured remotely in the CupThread developer console.
Example:
val features = SdkFeatures(feedback = true, roadmap = false)
if (features.isEnabled(SdkFeature.ROADMAP)) {
// Render roadmap tab
}Content copied to clipboard
Functions
Link copied to clipboard
Checks if the given feature is enabled for this app.