tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
82.48k stars 2.48k forks source link

[feat] add visionOS support #9969

Open eugenehp opened 4 months ago

eugenehp commented 4 months ago

Describe the problem

Add support for Apple Vision Pro

Describe the solution you'd like

same as iOS

Alternatives considered

Working on better support in Tao

Additional context

Current PRs submitted:

eugenehp commented 4 months ago

objc is least likely to merge the PR, so what would be a good course of action here? patch or put a objc2 under Tauri?

FabianLars commented 4 months ago

objc is least likely to merge the PR, so what would be a good course of action here? patch or put a objc2 under Tauri?

@pewsheen is working on porting wry to objc2 already but it's a lot of work.

eugenehp commented 4 months ago

Nice! There's also objc2 by @madsmtm but it doesn't have full API parity with the original objc as far as I know.

So for the time being, what would be the appropriate way to patch this in Tauri (Wry and Tao) @FabianLars

FabianLars commented 4 months ago

tbh I'd probably wait and see if we can get wry ported in time, especially considering that we're still waiting for other projects than objc. Devs that want to use it earlier can use cargo's patch feature to overwrite the crates.io version with your forks.

eugenehp commented 4 months ago

Sounds good. That's what we're using right now – patches. Thinking maybe to put some temporary crates on crates.io to make things easier later, if no news on merging/porting main repos.

madsmtm commented 4 months ago

Linking the issue in Wry for tracking the migration to objc2: https://github.com/tauri-apps/wry/issues/1239

Nice! There's also objc2 by @madsmtm but it doesn't have full API parity with the original objc as far as I know.

Could you expand on what it's missing compared to objc? It's originally a fork of that project, so it should have full feature-parity (and more, ofc ;) ).

eugenehp commented 4 months ago

Oh, perfect, I missed that one. Commented there, in case I can help speed things up.