Apr 23, 2024
Exploring VisionOS Apps with React Native
Explore how to develop immersive VisionOS applications using React Native, with a guide on prerequisites, codebase setup, and integration steps.
Author


Book a call
Table of Contents
Prerequisites for Developing on VisionOS
- Download the latest Xcode: Ensure you have the latest version of Xcode installed on your machine, with a minimum version of 15.2.
- Ensure you have proper development environment for React Native set up. Follow the guide here for the same.
- Install VisionOS simulator runtime.
- Install the latest version of CMake.
Setting Up the Codebase
YourApp with the desired name for your project.YourApp/visionos within your project directory, and run the following commands to install pods specifically for the VisionOS target:YourApp/visionos/YourApp.xcworkspace in Xcode and run it through Xcode as well.
Now you can edit your code as in any React Native apps, and your app changes will reflect immediately.
Examples and Experiments
To test this, we experimented with an animated component originally built for a mobile app using Expo. Since it already utilized react-native-reanimated and react-native-gesture-handler as existing dependencies, it functioned as expected on VisionOS without any issues.

And most pf the JS dependencies or libraries should also work. We did try out a state management library which worked the same as in any React Native app.
Integrate into Existing React Native Apps
visionos folder from the codebase to your destination project, your existing React Native app.3. Add the required dependencies to your React Native app to support VisionOS:
4. Modify metro.config.js to include custom resolver .This resolver rewrites imports from react-native -> @callstack/react-native-visionos when bundling the app for that platform.
Now, you can run your app in VisionOS using the steps mentioned above to the run the VisionOS app and it should work.
Summing Up
Go ahead, experiment and delve into the functionalities of React Native for visionOS to create immersive experiences of your own. It is an exciting new technology that promises a lot. However, keep in mind that it is still in its early stages and may have some issues.
Subscribe to Our Newsletter
Subscribe to RSS
Press & Media Hub RSS FeedRelated Articles.
More from the engineering frontline.
Dive deep into our research and insights on design, development, and the impact of various trends to businesses.

Jun 27, 2026
Building a Resilient Hybrid-Cloud Network with WireGuard HA, Route-Based Failover, and Deep Observability

Jun 19, 2026
We Built a 114-Second AWS-to-Azure Failover. Here’s What We Learned

Jun 17, 2026
Google I/O 2026 Mobile Playbook: AI Studio, Android CLI, and Antigravity for App Development

Jun 12, 2026
Cloud-Native and Cloud-Agnostic Are Not Ideologies; They Are Business-Stage Decisions

Jun 8, 2026
Geeklego: The Open-Source Design System Built to Work With AI

Jun 3, 2026
