Allow OS notifications

This commit is contained in:
2026-02-23 22:19:23 +08:00
parent 98355c3707
commit cc6fda0e79
11 changed files with 398 additions and 4 deletions
+11
View File
@@ -13,6 +13,9 @@ android {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
// required by flutter_local_notifications and other libraries using
// Java 8+ APIs at runtime
isCoreLibraryDesugaringEnabled = true
}
kotlinOptions {
@@ -37,6 +40,14 @@ android {
signingConfig = signingConfigs.getByName("debug")
}
}
// allow desugaring of Java 8+ library APIs
}
// dependencies section for additional compile-only libraries
dependencies {
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4")
}
flutter {