lodev09 / react-native-true-sheet

The true native bottom sheet experience 💩
https://sheet.lodev09.com
MIT License
394 stars 12 forks source link

systemMaterialDark is only available in ios 13.0 or newer expo sdk49 #67

Closed bryanltobing closed 1 month ago

bryanltobing commented 1 month ago

i got this error when building ios app with expo sdk49 and true sheet v0.12.3

image

i already set my minimum deployment target to 13 and even tried above version, but still got the same error,

any idea why this is happen?

repo to reproduce:

https://github.com/bryanltobing/expo49-truesheet-error

steps:

seems like the issue doesn't appear in expo 50 and above. but i need this to work in expo 49 since we are still unable to upgrade at the moment

lodev09 commented 1 month ago

The library follows minimum IOS version set by RN. https://github.com/lodev09/react-native-true-sheet/blob/643f4e8f39aabfe1403de74042b25bdb392f18ce/TrueSheet.podspec#L14

I guess I'll have set it explicitly to IOS 13 :/. However, I would suggest you upgrade to expo 50 soon :)