You can init a new project with React Native visionOS, install the library as usual (and apply the one-line change in this PR) and all APIs should be working.
All the APIs used here are already supported in visionOS, so it's just a matter of adding the platform to the podspec for it to get installed.
All the tests still pass. No actual change in C or JS files.
Summary
Closes #1062
This PR adds support for React Native visionOS, the new out-of-tree platform.
Test Plan
You can init a new project with React Native visionOS, install the library as usual (and apply the one-line change in this PR) and all APIs should be working.
All the APIs used here are already supported in visionOS, so it's just a matter of adding the platform to the podspec for it to get installed.
All the tests still pass. No actual change in C or JS files.