Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(mobile): restore Android microphone permission (#610)
Kmnyc89df50ebb03
diff --git a/apps/mobile/app.json b/apps/mobile/app.jsonindex 283c9192cc..ee048a7f45 100644--- a/apps/mobile/app.json+++ b/apps/mobile/app.json@@ -125,7 +125,7 @@{"photosPermission": "Cindy needs photo library access to attach images to remote sessions.","cameraPermission": "Cindy needs camera access to attach photos to remote sessions.",- "microphonePermission": false+ "microphonePermission": "Cindy needs microphone access for voice input in remote sessions."}],[diff --git a/apps/mobile/src/__tests__/nativeAppConfig.test.ts b/apps/mobile/src/__tests__/nativeAppConfig.test.tsindex a6fe56c214..619ea4aa18 100644--- a/apps/mobile/src/__tests__/nativeAppConfig.test.ts+++ b/apps/mobile/src/__tests__/nativeAppConfig.test.ts@@ -401,6 +401,10 @@ describe('mobile native app config', () => {const audioPlugin = appJson.expo.plugins.find((plugin: unknown) => Array.isArray(plugin) && plugin[0] === 'expo-audio',);+ const imagePickerPlugin = appJson.expo.plugins.find(+ (plugin: unknown) =>+ Array.isArray(plugin) && plugin[0] === 'expo-image-picker',+ );expect(audioPlugin).toEqual(['expo-audio',@@ -411,6 +415,13 @@ describe('mobile native app config', () => {enableBackgroundRecording: false,},]);+ expect(imagePickerPlugin).toEqual([+ 'expo-image-picker',+ expect.objectContaining({+ microphonePermission:+ 'Cindy needs microphone access for voice input in remote sessions.',+ }),+ ]);const foregroundOnlyPluginIndex = appJson.expo.plugins.indexOf('./plugins/with-foreground-only-audio',);