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

chore: add warning when using `InputAccessoryView` #24

Closed TMisiukiewicz closed 1 year ago

TMisiukiewicz commented 1 year ago

Summary:

Closing #8 Since InputAccessoryView is not supported on VisionOS, this change adds a warning message about the component being unavailable on the platform.

Changelog:

[VISIONOS] [ADDED] - warning about unavailable InputAccessoryView

Test Plan:

  1. Open InputAccessoryView in RNTester
  2. Verify warn is displayed in the app and in the Metro logs image
Screenshot 2023-10-28 at 11 38 48
TMisiukiewicz commented 1 year ago

@matthargett thanks for your comments, everything is fixed now. Also rebased branch with the current main