MohamedRejeb / Calf

Calf is a library that allows you to easily create adaptive UIs and access platform specific APIs with Compose Multiplatform (Adaptive UI, File Picker, WebView, Permissions...).
https://mohamedrejeb.github.io/Calf/
Apache License 2.0
700 stars 30 forks source link

PHPicker crashes on iOS < 15 #56

Open amrfarid140 opened 5 months ago

amrfarid140 commented 5 months ago

createPHPickerViewController calls setter functions on PHPickerConfiguration that is isn't available below iOS 15.

The ones I managed to dig out from Apple's documentation are

Was that intentional or should I submit a PR for a fix?

MohamedRejeb commented 4 months ago

Thanks for reporting this issue. Well, I'm testing with iOS 14 and it's working fine. I think that it's not working for iOS < 14 right? If you have any alternative solution, feel free to submit a PR.