I had a working ImagePicker giving the user the media gallery or camera up until this week when i updated my iphone 8 to iOS 14.5.0, and also 14.5.1.
The problem is related to Expo’s Modal component, because I have one open (full screen) which is giving the user the buttons for opening the media library or camera. I have another screen without the modal, and the ImagePicker works as expected. Additionally, I don’t have any problems with this combination (Modal + ImagePicker) under Android, it works as expected as well.
With the Modal visible, ImagePicker.requestMediaLibraryPermissionsAsync() returns a completely good looking MediaLibraryPermissionResponse that is this:
Hey @kurtak, we’re aware of this issue and will be tracking it on Github here. Also, there is a proposed workaround from someone from the community that is likely worth exploring until we can resolve this issue.
Hi Expo Team,
This is really a big bug for our users. They aren’t able to post pics now. Please please fix this asap. Sincerely request the team for a fix.
is there an issue on Issues · expo/expo · GitHub for this? this pr fixes a known ios 14.5.0 imagepicker bug, this requires that you update expo go to the latest version and do a new build of your standalone app. it was deployed about two weeks ago.