Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
fix(mobile): remove unnecessary photo library permission (#4929)
Elaine Lyons162e774294f9
diff --git a/apps/mobile/app.config.ts b/apps/mobile/app.config.tsindex 92b8268c0..0147bb71a 100644--- a/apps/mobile/app.config.ts+++ b/apps/mobile/app.config.ts@@ -275,10 +275,12 @@ const config: ExpoConfig = {"expo-camera",{cameraPermission: "Allow T3 Code to access your camera so you can scan pairing QR codes.",+ microphonePermission: false,barcodeScannerEnabled: true,recordAudioAndroid: false,},],+ ["expo-image-picker", { photosPermission: false, microphonePermission: false }],["expo-splash-screen",{diff --git a/apps/mobile/src/lib/composerImages.ts b/apps/mobile/src/lib/composerImages.tsindex 5c79b5b5e..f559545c0 100644--- a/apps/mobile/src/lib/composerImages.ts+++ b/apps/mobile/src/lib/composerImages.ts@@ -65,14 +65,6 @@ export async function pickComposerImages(input: { readonly existingCount: number};}- const permission = await imagePicker.requestMediaLibraryPermissionsAsync();- if (!permission.granted) {- return {- images: [],- error: "Allow photo library access to attach images.",- };- }-const result = await imagePicker.launchImageLibraryAsync({mediaTypes: ["images"],allowsMultipleSelection: true,