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

This commit is contained in:
Elaine Lyons authored and GitHub committed 2026-07-31 00:15:38 +02:00
1 parent 063ed7120a
commit 162e774294
2 files changed
+2 -8

No files matched your search

+2
View File
@@ -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",
{
-8
View File
@@ -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,