From e75777fedc8a6e9509bc88529ec8e451f84791cf Mon Sep 17 00:00:00 2001 From: tanlongsheng <252620078@qq.com> Date: Mon, 19 May 2025 12:33:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/modules/splash/controllers/splash_controller.dart | 1 - local_plugins/agent_service/android/build.gradle.kts | 2 +- .../kotlin/com/yunqiinnovation/agent_service/AgentService.kt | 3 +-- pubspec.yaml | 4 ++-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/modules/splash/controllers/splash_controller.dart b/lib/modules/splash/controllers/splash_controller.dart index 80a6bc9db..e53f146dc 100644 --- a/lib/modules/splash/controllers/splash_controller.dart +++ b/lib/modules/splash/controllers/splash_controller.dart @@ -8,7 +8,6 @@ import '../../../data/models/user_Info.dart'; import '../../../routes/app_routes.dart'; import '../../../core/themes/theme_service.dart'; import '../../../data/services/network/api.dart'; -import 'package:amap_service/amap_service.dart'; class SplashController extends GetxController { final GetStorage _storage = GetStorage(); diff --git a/local_plugins/agent_service/android/build.gradle.kts b/local_plugins/agent_service/android/build.gradle.kts index 2a67d0ba0..79cb9fcde 100644 --- a/local_plugins/agent_service/android/build.gradle.kts +++ b/local_plugins/agent_service/android/build.gradle.kts @@ -47,6 +47,6 @@ dependencies { add("compileOnly", project(":chat_storage")) add("compileOnly", project(":ble_service")) add("compileOnly", project(":music_service")) - add("compileOnly", project(":amap_service")) + // add("compileOnly", project(":amap_service")) add("compileOnly", project(":speech")) } \ No newline at end of file diff --git a/local_plugins/agent_service/android/src/main/kotlin/com/yunqiinnovation/agent_service/AgentService.kt b/local_plugins/agent_service/android/src/main/kotlin/com/yunqiinnovation/agent_service/AgentService.kt index bda9b148b..a3ef740d6 100644 --- a/local_plugins/agent_service/android/src/main/kotlin/com/yunqiinnovation/agent_service/AgentService.kt +++ b/local_plugins/agent_service/android/src/main/kotlin/com/yunqiinnovation/agent_service/AgentService.kt @@ -7,7 +7,6 @@ import com.yunqiinnovation.azure_speech.AzureAsrHelper import com.yunqiinnovation.open_ai_service.OpenAIService import com.yunqiinnovation.chat_storage.ChatStorageHelper import com.yunqiinnovation.music_service.MusicServiceStarter -import com.yunqiinnovation.amap_service.NavigationServiceStarter import android.util.Log import io.flutter.plugin.common.MethodChannel import kotlinx.coroutines.* @@ -1191,7 +1190,7 @@ object AgentService : CoroutineScope { // 如果 playlist 中有有效的歌曲,开始播放 if (!start.isNullOrEmpty() && !end.isNullOrEmpty()) { Log.i(TAG, "启动导航服务 ${start} ${end}") - NavigationServiceStarter.startServiceWithCommand(context, command = "start", startpos = start, endpos = end) + // NavigationServiceStarter.startServiceWithCommand(context, command = "start", startpos = start, endpos = end) } else { Log.i(TAG, "启动导航服务失败") } diff --git a/pubspec.yaml b/pubspec.yaml index 8bf534a4e..7a8bbb5c2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -65,8 +65,8 @@ dependencies: dio: ^5.8.0+1 sqflite: ^2.4.2 path: ^1.9.1 -# azure_speech: -# path: local_plugins/azure_speech + azure_speech: + path: local_plugins/azure_speech open_ai_service: path: local_plugins/open_ai_service chat_storage: