Skip to content

Commit 86793bd

Browse files
committed
fix(example): add iOS Expo Media Library permissions to prevent crash
1 parent 332c0c8 commit 86793bd

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

example/app.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@
2929
"favicon": "./assets/favicon.png",
3030
"bundler": "metro"
3131
},
32-
"plugins": ["expo-router"]
32+
"plugins": [
33+
"expo-router",
34+
[
35+
"expo-media-library",
36+
{
37+
"photosPermission": "Allow $(PRODUCT_NAME) to access your photos.",
38+
"savePhotosPermission": "Allow $(PRODUCT_NAME) to save photos."
39+
}
40+
]
41+
]
3342
}
3443
}

0 commit comments

Comments
 (0)