AppModule
object AppModule
Application-level Hilt module that provides the ApiConfig consumed by the SDK.
Lives in the :app module (not :sample) because com.android.kotlin.multiplatform.library's compile JAR does not include KSP-generated Java factory classes; moving @Module providers here ensures hiltJavaCompileDebug can find them on the classpath.
Credentials are read from BuildConfig which is populated by the Gradle Secrets plugin from local.properties or CI environment variables.
Functions
Link copied to clipboard
Provides the ApiConfig that the SDK uses to configure the base URL, API user ID, and target environment.
Link copied to clipboard
Provides the SampleConfig used by the sample app's ViewModels to supply API versions, product subscription keys, and other runtime configuration values.