Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for immersive-ar on Android and Quick Look AR on Apple iOS #2546

Open
1 of 2 tasks
ROBYER1 opened this issue Feb 28, 2025 · 0 comments
Open
1 of 2 tasks

Support for immersive-ar on Android and Quick Look AR on Apple iOS #2546

ROBYER1 opened this issue Feb 28, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@ROBYER1
Copy link

ROBYER1 commented Feb 28, 2025

Is there an existing feature request for this?

  • I have searched the existing feature request

Operating System

Android, iOS

Pain

I have been using Needle Engine to run 3d websites over the cache size limit of iOS/Android offline within inappwebview which works incredibly well. Recently I wanted to try out adding augmented reality AR support within flutter inappwebview via WebXR on Android and Apple Quick Look. Further below I have attached a test zip of a simple website with a model in it that can be viewed in WebXR on Android and Apple Quick Look on iOS.

The problem is that on android when the website is embedded in an app, I get a warning that immersive-ar is not supported by the browser. On iOS, the Quick Look USDZ gets exported but the webview prevents it from being shared to Apple Quick Look and instead in the same webview, the USDZ file is printed as text.

I also had to add https support to the app to run the localhost url as https to get around warnings of webxr not working with normal http.

Suggested solution

Would it be possible to add immersive-ar support to the inappwebview browser on android and on iOS is there anything that is preventing a normal browser callback to send the USDZ file to Apple Quick Look?

I must stress that the attached zip website works fine in Chrome on android and Safari on iOS when running on a local server off a laptop/mac on the same network or when hosted on a server online. This issue is exclusive to inappwebview.

Useful resources

website.zip

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@ROBYER1 ROBYER1 added the enhancement New feature or request label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant