oblador / react-native-keychain

:key: Keychain Access for React Native
MIT License
3.12k stars 515 forks source link

fix: unrecognized platform name visionOS #631

Closed thiagobrez closed 3 months ago

thiagobrez commented 3 months ago

Fixes #624

Remove @available(visionOS 1, *), which is only available on Xcode 15 and above. Use obj-c preprocessor directives instead.

This was following the same approach as iOS in the lines below @available(iOS 11, *). iOS needs this because FaceID is only available on iOS 11 and above. VisionOS does not need it because visionOS 1 already has OpticID since launch.

Tested on Xcode 14.3.1 and 15.2.

androideveloper commented 3 months ago

fyi @oblador new release is needed for this 🙏

jspizziri commented 2 months ago

@oblador is there anyone who can release this project other than you?