exyte / MediaPicker

Customizable media picker written with SwiftUI
MIT License
334 stars 42 forks source link

Images selected from library are not showing up in iOS 15 #13

Closed zykyan closed 1 year ago

zykyan commented 1 year ago

Getting this error when images are selected from Gallery. Only in iOS 15 working fine in iOS 16.

[ImageManager] Media resource request failed to return valid data or url with error: Error Domain=PHPhotosErrorDomain Code=3164 "(null)"

f3dm76 commented 1 year ago

Hey @zykyan, maybe you are trying to select icloud photo from simulator and it's been a while since you entered your password? If not, please provide more details about your issue

matthewweldon commented 1 year ago

I'm also getting this error.

Real device, iCloud photo. Recent photos (non iCloud) load without issue.

Using a very slightly modified version of the mediaCell and mediaCellviewModel.

matthewweldon commented 1 year ago

after initial investigation it seems like getURL() is failing

f3dm76 commented 1 year ago

Hey guys, thank you for letting me know. I raised deployment target to ios16. Have a nice day!

matthew-ely commented 10 months ago

Is there any plan to support getURL() for iCloud photos on iOS 15?

f3dm76 commented 10 months ago

Hey @matthew-ely, unfortunately I don't think so, no. But you are most welcome to commit a PR supporting ios 15, have a great day!

matthew-ely commented 10 months ago

Is there an easy way to exclude iCloud photos from the Media Picker then?