From b80247517b1ea810688e8b3da99e3b8ac4c1b9cc Mon Sep 17 00:00:00 2001 From: lxm <1274844347@qq.com> Date: Thu, 3 Apr 2025 12:27:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8B=B9=E6=9E=9CInfo.plist=E5=92=8C=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=E5=8C=96=E5=AD=97=E7=AC=A6=E4=B8=B2=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=BB=A5=E7=BB=9F=E4=B8=80=E6=9D=83=E9=99=90=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Runner/Info.plist | 12 ++++++------ ios/Runner/en.lproj/InfoPlist.strings | 4 ++++ ios/Runner/zh.lproj/InfoPlist.strings | 3 +++ 3 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 ios/Runner/en.lproj/InfoPlist.strings create mode 100644 ios/Runner/zh.lproj/InfoPlist.strings diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index ed9c2eece..c3d7855f7 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -40,8 +40,8 @@ DeepSound CFBundleExecutable $(EXECUTABLE_NAME) -NSUserTrackingUsageDescription - This application needs to access your tracking data in order to offer better personalized services and advertisements + NSUserTrackingUsageDescription + UserTrackingUsageDescription CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion @@ -59,13 +59,13 @@ LSRequiresIPhoneOS NSBluetoothAlwaysUsageDescription - Bluetooth permission is required to connect and manage audio devices + BluetoothUsageDescription NSBluetoothPeripheralUsageDescription - Bluetooth permission is required to connect and manage audio devices + BluetoothUsageDescription NSMicrophoneUsageDescription - Microphone permission is required for voice recognition + MicrophoneUsageDescription NSSpeechRecognitionUsageDescription - Speech recognition permission is required to provide voice interaction services + SpeechRecognitionUsageDescription UIApplicationSupportsIndirectInputEvents UIBackgroundModes diff --git a/ios/Runner/en.lproj/InfoPlist.strings b/ios/Runner/en.lproj/InfoPlist.strings new file mode 100644 index 000000000..256a5bcb0 --- /dev/null +++ b/ios/Runner/en.lproj/InfoPlist.strings @@ -0,0 +1,4 @@ +"BluetoothUsageDescription" = "Bluetooth permission is required to connect and manage audio devices"; +"MicrophoneUsageDescription" = "Microphone permission is required for voice recognition"; +"SpeechRecognitionUsageDescription" = "Speech recognition permission is required to provide voice interaction services"; +"UserTrackingUsageDescription" = "This application needs to access your tracking data in order to offer better personalized services and advertisements"; \ No newline at end of file diff --git a/ios/Runner/zh.lproj/InfoPlist.strings b/ios/Runner/zh.lproj/InfoPlist.strings new file mode 100644 index 000000000..d78689105 --- /dev/null +++ b/ios/Runner/zh.lproj/InfoPlist.strings @@ -0,0 +1,3 @@ +"BluetoothUsageDescription" = "需要蓝牙权限来连接和管理音频设备"; +"MicrophoneUsageDescription" = "需要麦克风权限来进行语音识别"; +"SpeechRecognitionUsageDescription" = "需要语音识别权限来提供语音交互服务"; \ No newline at end of file