rive-app / rive-ios

iOS runtime for Rive
MIT License
468 stars 53 forks source link

Question about minimum deployment target #253

Open matinzd opened 1 year ago

matinzd commented 1 year ago

Can you explain why the minimum deployment target for iOS is set to 14 and point me to the relevant code that requires this minimum version? This can be a big deal breaker for many apps at this point especially those who want to support old users as much as possible.

iqbalmineraltown commented 1 year ago

I saw that the minimum target is changed since 2.0.1, but I am also unable to conclude the reason behind this

mjtalbot commented 1 year ago

Hi @matinzd & @iqbalmineraltown, thank you for raising questions about the iOS target:

the minimum deployment target was bumped to 14 to support native webP images without bundling in webP binaries. Beyond that we use api > 13 to support SwiftUI. Though we might be able to make a few of the SwiftUI constructs optional based on the api version used, and leave the base RiveView exposed for lower api versions.