News for hackers. Stuff that matters.

Show HN: NativeVision, helping React Native devs to build XR apps for any device

https://github.com/NativeVision/viro

Hello everyone,

We've discovered an open source library named Viro that hadn't been updated in over two years. We've revitalized the library, enabling the creation of XR apps on the latest iOS and Android platforms. Our goal is to transform NativeVision into a versatile library that can be used across various XR devices, including Apple Vision Pro and Meta Quest.

Our aim is to make it easy for React developers to start working on XR projects using React Native or Expo, much like how they would for iOS or Android apps.

If you have any feedback please share as it helps a lot!

( 26 comments | 19 points | on HN )
Re:Show HN: NativeVision, helping React Native devs to build... by kristianp on Thursday January 25, 2024 @08:13PM (#39137756)
What's the difference between XR and AR? It's the first time I've seen XR used.
Re:Show HN: NativeVision, helping React Native devs to build... by nwienert on Thursday January 25, 2024 @08:35PM (#39137921)
Many will say otherwise but the most accurate answer is that it’s short for “Xtreme Reality” - for example, if you look at a car, it will add flames to the side. Look at your dad - bleached blonde tips. Stuff like that.
Re:Show HN: NativeVision, helping React Native devs to build... by mellosouls on Thursday January 25, 2024 @09:35PM (#39138323)
That's not the most accurate answer, though perhaps it has some usage in that sense; it's not what it means in the context here.
Re:Show HN: NativeVision, helping React Native devs to build... by dangrover on Friday January 26, 2024 @03:28AM (#39140125)
Also, other characters in XR have predilection to say stuff like "You can't make it spicy enough for me!" and “Holy moly, Stromboli!”
Re:Show HN: NativeVision, helping React Native devs to build... by refulgentis on Thursday January 25, 2024 @08:25PM (#39137834)
It means VR and AR in one device (i.e. reality can be completely occluded if desired)
Re:Show HN: NativeVision, helping React Native devs to build... by cjcassar on Thursday January 25, 2024 @08:37PM (#39137933)
Yes thank you for clarifying, this is what we mean!
Re:Show HN: NativeVision, helping React Native devs to build... by mellosouls on Thursday January 25, 2024 @09:32PM (#39138303)
XR is short for the umbrella term "eXtended Reality", though I suspect (without proof) the latter started as a backronym, with the X perhaps originally meaning the traditional placeholder "whatever" for "Augmented", "Virtual", "Mixed" etc, which "Extended Reality" encompasses.

Eg.

https://en.wikipedia.org/wiki/Extended_reality

Re:Show HN: NativeVision, helping React Native devs to build... by cjcassar on Friday January 26, 2024 @12:05AM (#39139140)
Yes, exactly the above. Except it doesn’t replace Spatial computing conveniently
Re:Show HN: NativeVision, helping React Native devs to build... by bilalq on Thursday January 25, 2024 @07:56PM (#39137632)
Always exciting to see abandoned OSS projects get new life breathed into them. One of the biggest issues around React Native's ecosystem is how quickly some libs get abandoned. Props to you all for reviving this.
Re:Show HN: NativeVision, helping React Native devs to build... by cjcassar on Thursday January 25, 2024 @08:37PM (#39137927)
Agreed! The goal here is to make it easier for react native engineers to build on any XR (AR or VR) device. Even the new ones being released.
Re:Show HN: NativeVision, helping React Native devs to build... by pzo on Friday January 26, 2024 @07:50AM (#39142054)
there is as well BabylonReactNative -> I think it's developed by microsoft?. But only iOS and Android but looks well supported and maintained.

https://github.com/BabylonJS/BabylonReactNative

https://github.com/BabylonJS/BabylonNative

Re:Show HN: NativeVision, helping React Native devs to build... by doublerebel on Thursday January 25, 2024 @08:41PM (#39137964)
Great to see more open cross-platform efforts to help with reactive development in XR. When I started building for Hololens (2016), I had to architect such a thing nearly from scratch.

How does this compare to existing efforts? such as:

- Babylon React Native (supported by Microsoft)

- VisionOS support being added to React Native (supported by Callstack)

Re:Show HN: NativeVision, helping React Native devs to build... by cjcassar on Thursday January 25, 2024 @08:53PM (#39138043)
Both very good projects

The overarching goal for us is to foster a comprehensive ecosystem around the NativeVision framework. This would not only simplify the development process for non-gaming XR projects but also enhance the scalability and adaptability of these applications. The idea is akin to how Vercel supports Next.js, offering various tools and integrations to streamline development and deployment processes.

Re:Show HN: NativeVision, helping React Native devs to build... by jimmySixDOF on Friday January 26, 2024 @12:27PM (#39145187)
React-Three-Fiber is quite popular too and has an active development community more around 3D less XR but not impossible and people are working on it. Triplex is an R3F editor I have not looked at lately but was adding features last time I did. Good luck with this I think everything Immersive Web is going to just get more important as the optics we have access to keep getting better faster stronger cheaper !
Re:Show HN: NativeVision, helping React Native devs to build... by cjcassar on Friday January 26, 2024 @12:35PM (#39145293)
Thanks and agreed!
Re:Show HN: NativeVision, helping React Native devs to build... by cwbuilds on Thursday January 25, 2024 @08:44PM (#39137983)
This is awesome. Any plans to add Apple Vision Pro?
Re:Show HN: NativeVision, helping React Native devs to build... by cjcassar on Thursday January 25, 2024 @08:50PM (#39138027)
Yes, this is on our roadmap for release by early March! After which we will add openXR support for the other major devices.
Re:Show HN: NativeVision, helping React Native devs to build... by ilaksh on Thursday January 25, 2024 @09:33PM (#39138307)
Nice. But I thought Apple Vision Pro was not an XR device but instead "spatial computing". /s
Re:Show HN: NativeVision, helping React Native devs to build... by cjcassar on Thursday January 25, 2024 @10:50PM (#39138751)
Their marketing team wants us to call it this. Let’s just pretend SP is under the XR umbrella ;)
Re:Show HN: NativeVision, helping React Native devs to build... by bmikaili on Friday January 26, 2024 @09:58AM (#39143328)
Did ViroReact get revived? I really wanted to use it because Unity‘s dev experience sucks hard, but last I checked it was abandoned.
Re:Show HN: NativeVision, helping React Native devs to build... by cjcassar on Friday January 26, 2024 @10:07AM (#39143444)
Yes! We’re reviving it and pushing forward with building an ecosystem of tools around it.
Re:Show HN: NativeVision, helping React Native devs to build... by bmikaili on Saturday January 27, 2024 @03:13AM (#39153666)
Is that going to be open source? Would love to contribute, was thinking myself that this is a niche that desperately needs to be filled.
Re:Show HN: NativeVision, helping React Native devs to build... by cjcassar on Sunday January 28, 2024 @02:56PM (#39169222)
Yes it is open source! Check out our full github on the link about to explore some of the other tools we're building
Re:Show HN: NativeVision, helping React Native devs to build... by galuggus on Friday January 26, 2024 @03:50PM (#39148112)
Great work!

Will this work in Expo without ejecting?

Re:Show HN: NativeVision, helping React Native devs to build... by cjcassar on Friday January 26, 2024 @05:17PM (#39149431)
We have an Expo starter kit that isn't perfect but does work. Let me know if you experience any ejecting: https://github.com/NativeVision/expo-viro-starter-kit
Re:Show HN: NativeVision, helping React Native devs to build... by cjcassar on Monday January 29, 2024 @01:55PM (#39180685)
If anyone wants to DM about how we can improve , please email me here: [email protected]