fix(admin-app): enable core library desugaring for flutter_local_notifications
flutter_local_notifications requires coreLibraryDesugaringEnabled = true and the desugaring-api dependency to build on Android. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
89dbdb55b8
commit
4a2e6182be
|
|
@ -47,6 +47,7 @@ android {
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility = JavaVersion.VERSION_17
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
targetCompatibility = JavaVersion.VERSION_17
|
targetCompatibility = JavaVersion.VERSION_17
|
||||||
|
isCoreLibraryDesugaringEnabled = true
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
|
|
@ -95,3 +96,7 @@ android {
|
||||||
flutter {
|
flutter {
|
||||||
source = "../.."
|
source = "../.."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
coreLibraryDesugaring("com.android.tools.build:desugaring-api:2.0.4")
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue