From 44f91a2ea4ba41671e818be2d486bf93d766472c Mon Sep 17 00:00:00 2001 From: Edison Jwa Date: Mon, 8 Jun 2026 22:53:53 +0900 Subject: [PATCH] build(android): configure local notifications --- apps/chanora_flutter/android/app/build.gradle.kts | 2 ++ .../src/main/res/drawable/ic_chanora_notification.xml | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 apps/chanora_flutter/android/app/src/main/res/drawable/ic_chanora_notification.xml diff --git a/apps/chanora_flutter/android/app/build.gradle.kts b/apps/chanora_flutter/android/app/build.gradle.kts index 5f0fb16..1e1cb9d 100644 --- a/apps/chanora_flutter/android/app/build.gradle.kts +++ b/apps/chanora_flutter/android/app/build.gradle.kts @@ -59,6 +59,7 @@ android { ndkVersion = flutter.ndkVersion compileOptions { + isCoreLibraryDesugaringEnabled = true sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } @@ -198,6 +199,7 @@ android { // armeabi-v7a, x86_64, x86. AGP merges these into the APK/AAB. dependencies { implementation("com.microsoft.onnxruntime:onnxruntime-android:1.26.0") + coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4") } flutter { diff --git a/apps/chanora_flutter/android/app/src/main/res/drawable/ic_chanora_notification.xml b/apps/chanora_flutter/android/app/src/main/res/drawable/ic_chanora_notification.xml new file mode 100644 index 0000000..6735a70 --- /dev/null +++ b/apps/chanora_flutter/android/app/src/main/res/drawable/ic_chanora_notification.xml @@ -0,0 +1,10 @@ + + + +