authorgravatar for elaine@lyons.appElaine Lyons <elaine@lyons.app> 2026-07-30 18:15:38-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-07-31 00:15:38+02:00
log162e774294f9e3dda15ca2f8083db019fe398837
tree5886337ccf6b49aaa2675f7f32bf2f12d887700e
parent063ed7120a17de65fcd5bd835b5c7c4e19536037
signature Signed by PGP key B5690EEEBB952194

fix(mobile): remove unnecessary photo library permission (#4929)


2 files changed, 2 insertions(+), 8 deletions(-)

apps/mobile/app.config.ts+2
...@@ -275,10 +275,12 @@ const config: ExpoConfig = {...@@ -275,10 +275,12 @@ const config: ExpoConfig = {
275 "expo-camera",275 "expo-camera",
276 {276 {
277 cameraPermission: "Allow T3 Code to access your camera so you can scan pairing QR codes.",277 cameraPermission: "Allow T3 Code to access your camera so you can scan pairing QR codes.",
278 microphonePermission: false,
278 barcodeScannerEnabled: true,279 barcodeScannerEnabled: true,
279 recordAudioAndroid: false,280 recordAudioAndroid: false,
280 },281 },
281 ],282 ],
283 ["expo-image-picker", { photosPermission: false, microphonePermission: false }],
282 [284 [
283 "expo-splash-screen",285 "expo-splash-screen",
284 {286 {
apps/mobile/src/lib/composerImages.ts-8
...@@ -65,14 +65,6 @@ export async function pickComposerImages(input: { readonly existingCount: number...@@ -65,14 +65,6 @@ export async function pickComposerImages(input: { readonly existingCount: number
65 };65 };
66 }66 }
6767
68 const permission = await imagePicker.requestMediaLibraryPermissionsAsync();
69 if (!permission.granted) {
70 return {
71 images: [],
72 error: "Allow photo library access to attach images.",
73 };
74 }
75
76 const result = await imagePicker.launchImageLibraryAsync({68 const result = await imagePicker.launchImageLibraryAsync({
77 mediaTypes: ["images"],69 mediaTypes: ["images"],
78 allowsMultipleSelection: true,70 allowsMultipleSelection: true,