natysoz / expo-images-picker

Multiple Asset Photos Videos selecting package for Expo SDK
MIT License
95 stars 35 forks source link

expo-permissions is deprecated and camera permission is not needed #26

Closed chris-chapin closed 3 years ago

chris-chapin commented 3 years ago

My App Store Connection submission was rejected by Apple because expo-images-picker was asking for camera permissions (with no clear reason why) and I had not specified a custom camera permission string. So I forked the repo and modified the code accordingly. While in the process, Expo also warned me that expo-permissions is deprecated and will soon be removed, so I removed those function calls as well.

chris-chapin commented 3 years ago

Fix "noAssets" sample code. Sample code suggests "noAssets" should be passed in as an object but React FlatList (and VirtualizedList) expects string\component.