Learn once, write anywhere:
Build visionOS apps with React.
This is an independent fork of react-native aimed at exploring the possibilities of making React Native fully compatible with visionOS. While Apple has designed visionOS to work with SwiftUI, React Native currently only utilizes UIKit as the native iOS framework for rendering user interfaces.
This project draws inspiration from the awesome work done by software-mansion-labs/react-native-swiftui.
Please note that this project is still a work in progress and is not yet ready for production use.
There are a few things that need to be addressed before this is ready for use:
- CocoaPods releases support for visionOS (CocoaPods/CocoaPods#11961)
- Update the React Native template to support visionOS
- Add visionOS support to the following pods:
- libevent
- SocketRocket
- fmt
- OCMock
We welcome contributions to the project! Whether you want to report a bug, propose new features, or submit code changes, your input is highly appreciated.
react-native-visionos, including modifications to the original Facebook source code, and all newly contributed code is provided under the MIT License. Portions of the react-native-visionos derived from React Native are copyright Facebook.