The epsilon-licensing module provides management for mobile SDK licensing via the CALM API. It handles license validation and configuration for Sportradar SDKs.
Do not place real production credentials directly into source code or documentation examples.
The primary class used to validate licenses. It requires a CalmApiConfig.
Validation example
val calmApi = CalmApi(
config = CalmApiConfig(
baseUrl = "https://licensing.sportradar.com",
apiKey = "your_api_key",
appIdentifier = "your_app_identifier",
appKey = "your_app_key",
),
networking = networking // An instance of the Networking module with which the requests will be made
)
val result = calmApi.validateLicense()Configuration for the licensing client, including the base URL and optional networking settings.
Add the dependency to your commonMain:
dependencies {
implementation("ag.sportradar.mobile.epsilon:epsilon-licensing:<version>")
}This module depends on epsilon-networking and exports it, meaning its APIs will be available to you when you include licensing.