Remove USE_LCK_CONTROL permission from service to fix binding failures caused by Android revoking custom permissions on app reinstall. Add auto-cleanup of dead clients via RemoteCallbackList.onCallbackDied and handle corrupted EncryptedSharedPreferences keyset gracefully. Lower SDK minSdk to 32.
24 lines
452 B
Kotlin
24 lines
452 B
Kotlin
plugins {
|
|
alias(libs.plugins.android.library)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.omixlab.lckcontrol.sdk"
|
|
compileSdk = 36
|
|
|
|
defaultConfig {
|
|
minSdk = 32
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":shared"))
|
|
implementation(libs.androidx.core.ktx)
|
|
implementation(libs.kotlinx.coroutines.android)
|
|
}
|