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 = {
275275 "expo-camera",
276276 {
277277 cameraPermission: "Allow T3 Code to access your camera so you can scan pairing QR codes.",
278 microphonePermission: false,
278279 barcodeScannerEnabled: true,
279280 recordAudioAndroid: false,
280281 },
281282 ],
283 ["expo-image-picker", { photosPermission: false, microphonePermission: false }],
282284 [
283285 "expo-splash-screen",
284286 {
apps/mobile/src/lib/composerImages.ts-8
......@@ -65,14 +65,6 @@ export async function pickComposerImages(input: { readonly existingCount: number
6565 };
6666 }
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
7668 const result = await imagePicker.launchImageLibraryAsync({
7769 mediaTypes: ["images"],
7870 allowsMultipleSelection: true,