feat:更新消息通知功能

This commit is contained in:
2026-06-20 16:11:57 +08:00
parent 5d12377606
commit 5e0864d3ac
16 changed files with 332 additions and 24 deletions

View File

@@ -13,6 +13,9 @@ android {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
// 启用核心库脱糖
isCoreLibraryDesugaringEnabled = true
}
kotlinOptions {
@@ -39,6 +42,11 @@ android {
}
}
dependencies {
// 添加核心库脱糖依赖
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4")
}
flutter {
source = "../.."
}

View File

@@ -39,7 +39,9 @@
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- 通知权限 -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<queries>
<intent>
<action android:name="android.intent.action.PROCESS_TEXT"/>