- Notifications
You must be signed in to change notification settings - Fork29.7k
Description
The image_picker package is really struggling with iOS 14 photos under "Select Photos". There is another issue here >#77281
However, today I noticed that it will also rotate images on iOS 14 90 degrees if they have chosen Select Photos access.
So more information:
When using this package on iOS 14: On first request, when a user is prompted for photo access and chooses "Select Photos" they then get presented with their photo library where they select a photo. BUT - this was the OS selection window for which photos they are granting access to. They will then get another photo selection window to select the photo for this Image_Picker. If they select the photo that they selected from the OS for "Select Photos" access then everything will be fine. However, if they select a different photo, which they are able to do, then it will still work, it will just rotate it 90 degrees for some reason.
Anyways, seems like this wasn't really worked through for this package when iOS added the new photo permission as there is a lot of odd behavior in this path.
EDIT: additional info - Seems to be photos taken with the camera on the device. Screenshots or downloaded images don't seem to rotate, BUT once again if you change the access to All Photos, then the photos aren't rotated.