Skip to content

FrakSdkVersion

object FrakSdkVersion

Version of this SDK build, sent on every request. @JvmStatic val rather than const val: a const is inlined into the merchant’s bytecode and would report their compile-time version.

NameSummary
CURRENTval CURRENT: String
Keep in step with frak.sdk.version in gradle.properties; the build checks it.
HEADER_NAMEval HEADER_NAME: String
Wire plumbing for HttpClient; not merchant API.
HEADER_VALUEval HEADER_VALUE: String
What HEADER_NAME carries. Platform-prefixed: the version alone is identical on both SDKs, so a fleet of frozen binaries is otherwise indistinguishable on the wire.
QUERY_PARAMETER_NAMEval QUERY_PARAMETER_NAME: String
Wire plumbing for :frak-sdk-ui’s page URLs; not merchant API.