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

Upgrade for ios 14 and more: ask permission for local network access #189

Open
smorel opened this issue Jun 8, 2021 · 4 comments
Open

Comments

@smorel
Copy link

smorel commented Jun 8, 2021

We cannot run WebXR app that runs on a local server as the app do not ask permission for accessing local network.

https://support.apple.com/en-mk/HT211870

@camjackson
Copy link

Is this why I can't load e.g. https://192.168.1.10:3000 using the WebXR viewer app?

I can successfully load that URL in firefox on iOS, but obviously that's just re-skinned safari so I can't load the XR content with that.

I can load other XR sites using the viewer app, it seems to be just local network sites that don't load.

@camjackson
Copy link

Just opened a PR for this but I have no idea if anyone is watching this repo any more. Let's see 🙂

@camjackson
Copy link

This actually seems to work if you just don't make the connection secure. Try it on HTTP instead of HTTPS. As long as it's a local address, webxr seems to run just fine in the newer version of the xr viewer app.

@jaeh
Copy link

jaeh commented Jul 10, 2022

webxr viewer does not support self signed certificates (or only older protocols, idk).
we had this wonderful setup with a local server and api, that was using self-signed certs, webxr viewer was the only browser refusing to connect, safari, firefox, chrome, they all did.
we then hosted the api on our public page instead and paid the cost of the network trip, but for on location video streaming and other latency dependent workloads this is a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants