Byron / open-rs

Open a path or URL with the system-defined program
http://byron.github.io/open-rs
MIT License
319 stars 49 forks source link

feat: Added visionOS support for Apple Vision Pro #99

Closed eugenehp closed 5 months ago

eugenehp commented 5 months ago

This PR addresses the comments with target_os specifics.

Tested it with Tier 3 target.

Byron commented 5 months ago

Thanks a lot! It's funny to think about this crate opening things in 3D ;).

Do you think it's common to just go with ios for visionos support? Is there some rationale?

eugenehp commented 5 months ago

visionOS has simulation for iOS apps out of the box. However it's flat, and not dimensional. This crate will enable opening of AR models (USDZ, STL, GLTF) and regular URL links, and so on, including deep links.

If a dev hasn't done much with 3D (Unity, Swift, WebXR, WebGL, etc.) then it's probably easier just to use simulated iOS version, and not to worry about it.