callstack / react-native-visionos

A framework for building native visionOS applications using React
https://callstack.github.io/react-native-visionos-docs/
MIT License
1.02k stars 30 forks source link

Mark `InputAccessoryView` as unavailable on this platform #8

Closed okwasniewski closed 1 year ago

okwasniewski commented 1 year ago

Description

inputAccessoryView is not supported on VisionOS. Method setCustomInputAccessoryViewWithNativeID is hidden behind #if statement we should add an appropriate warning message that this API is not supported. This view is also not attached to the keyboard.

This can be later implemented using the Ornaments API but under a different name.

Edit: this is also unsupported in SwiftUI: CleanShot 2023-10-20 at 11 27 59@2x

CleanShot 2023-10-20 at 11 21 06@2x

TMisiukiewicz commented 1 year ago

i could take a look on this one 👋