dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.96k stars 1.7k forks source link

Feature Request: WebView Support for Android Meta Quest in .NET MAUI #21242

Open tauheedul opened 5 months ago

tauheedul commented 5 months ago

Suggestion: Integration of Meta Quest WebView Support within .NET MAUI for Android

Description

This feature request proposes extending .NET MAUI's capabilities for Android applications targeting Meta Quest devices. While .NET MAUI currently utilizes the native Android WebView, it lacks optimizations for VR environments.

Proposed approaches for integrating Meta Quest WebView support:

Current Limitations:

Benefits:

Considerations:

Public API Changes

Intended Use-Case

Introduce WebView functionality in .NET MAUI for apps aimed at Meta Quest on Android, considering Meta Quest's specific system requirements and the existing WebView's limitations.

It can be implemented by a customized WebView optimized for VR, or a headless mode to launch an external browser for basic web access, enhancing .NET MAUI's VR capabilities on Meta Quest.

This includes optimizing performance, ensuring security, and possibly partnering with Meta or other VR platforms for a seamless WebView integration, expanding the development possibilities within the .NET MAUI framework.

By implementing a WebView solution tailored for Meta Quest in .NET MAUI, developers can create more versatile and feature-rich VR applications.

jfversluis commented 5 months ago

Hey @tauheedul thank you for this great write-up! This is definitely a good feature request with some good amount of detail.

I'll add it to the backlog, but I have to be honest and manage expectations... I think at this point this is not a priority to us. If you (or someone) would want to open a PR adding this which is a small change and does not regress the Android WebView on non-VR platforms, we might consider taking it. But I don't think we will be working on this anytime soon from our side.

Thanks!

tauheedul commented 3 months ago

There will be a limited edition of an Xbox branded VR headset on Meta Quest's Android Horizon OS. This feature would be particularly useful on these.

Source