The epsilon-core module provides the fundamental building blocks for the Epsilon SDK, including KMP wrappers for Context, binary data handling, and pagination.
android.content.Context).ByteArray) and conversions.Safe access to platform-specific context.
Helpers for list pagination logic.
Wrappers and helpers for raw data handling.
Provides a CommonContext type that abstracts away android.content.Context on Android and provides a placeholder for other platforms, allowing you to pass context through shared logic safely.
Includes the PagingAccumulator class to help manage state and logic for list pagination in a platform-independent way. It allows you to accumulate pages of data and serves them as a single list.
Provides extensions and wrappers for ByteArray (via CommonByteArray) to simplify common operations when working with raw data, especially when interoperating with platform-specific types.
Add the dependency to your commonMain:
dependencies {
implementation("ag.sportradar.mobile.epsilon:epsilon-core:<version>")
}