AR viewer on Android mobile not opening #4025
Replies: 13 comments 1 reply
-
Thanks, it does sound like an Android 10 thing, but that ought to work. Can you restrict |
Beta Was this translation helpful? Give feedback.
-
Hello, it seams that the problem has solved itself after updating to the newest 1.12 version! |
Beta Was this translation helpful? Give feedback.
-
Hello everybody, I fear the issue is still not solved. However, after building everything I saw that the AR viewer still does not work on my phone. Then, I connected my phone with debugging mode to my PC and found an interesting information. We use 'webxr scene-viewer quick-look' as arModes. I now tested the following arModes: 'webxr quick-look'; Even in my dev environment my phone does not even print the AR button to place the model in the room. So I think the problem is quite obvious. When starting AR in the build application with following configuration 'webxr scene-viewer quick-look' , my phone does not detect that webxr is not supported. So it does not uses the scene-viewer as fallback. Regards, |
Beta Was this translation helpful? Give feedback.
-
Sounds more like a WebXR bug to me, as we use their API to determine support. @klausw Can you repro? Android 10 is a little old, but we still test there, right? |
Beta Was this translation helpful? Give feedback.
-
@superLeaAtWork One requirement of WebXR is that it's on HTTPS. Might that be the problem? There are also extra permissions needed if this is in an iframe. |
Beta Was this translation helpful? Give feedback.
-
Hello @elalish , |
Beta Was this translation helpful? Give feedback.
-
Android 10 should be OK - I just tried a Samsung Galaxy S8+ running the rather ancient Android 7.0, and the following work for me:
The white chair model on https://www.pfister.ch/de/produkt/2203707/byyu-armlehnstuhl-sergio-3729 works, but appears to be using scene viewer, not WebXR. @superLeaAtWork , would you mind trying the following pages from https://immersive-web.github.io/webxr-samples/ to confirm if WebXR AR mode is working in general? |
Beta Was this translation helpful? Give feedback.
-
Hallo, I tested the following two links on the following two devices and both work fine: Samsung Galaxy S9 SM-G960F Redmi Note 9 Modell M2003J15SG Here again the link where it does not work on both devices: Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hello everybody, I just wanted to ask if there are any news on this topic? Best regards, |
Beta Was this translation helpful? Give feedback.
-
@klausw Can you repro? |
Beta Was this translation helpful? Give feedback.
-
When I try https://demo.diva-portal.com/products?lang=de&channelId=cWuuBtYPF&organizationId=ba334319-e17c-43a4-9fb8-3a67a27be19e&id=0Ap8E-FioL on a Samsung S8, pressing "phone in front of cube" icon appears to enter model-viewer mode, and this shows the expected "Enter AR" button at the bottom right. Pressing that shows the XR permission prompt (on first use), briefly enters AR mode, then shows a black screen with the fullscreen instructions on top. It then immediately returns back to 2D mode. If I'm understanding it right, your issue was that model-viewer's "Enter AR" button was missing due to apparently not detecting There are various errors on the JS console: Attempting to present in AR with WebXR... XHR error. Switching to JSONP. products:1 Access to fetch at 'https://images.diva-portal.com/MESSE21/SPINS/ZIL/DIVA-527771-1/DIVA-527771-1.spin?scale.option=noup&w=3000&info=sirv_spin_info_v1_1400620957' from origin 'https://demo.diva-portal.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status. |
Beta Was this translation helpful? Give feedback.
-
Hello, no the "Enter AR" button appears. Only it tries to open the viewer where I can place the object with my camera in the room and closes it immediately after. Regards Lea |
Beta Was this translation helpful? Give feedback.
-
This issue has gone through a few iterations now; @superLeaAtWork does this problem still repro with v2.0? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everybody,
we integrated the model viewer into our website. The model viewer displays the model correctly but it can be placed in the room using the AR viewer only on MOST devices. It works on all IOS devices as far as we tested and on the most Android devices.
However, when I try it with my phone and one of my colleagues, the AR viewer tries to open, but closes itself immediately. Sometimes I get the notification that Google gets closed several times.
It is strange because when I integrate the model viewer into a simple page it works.
Live Demo
https://glitch.com/edit/#!/model-viewer
Here some links where the AR viewer WORKS on my device:
https://diva3d.diva-portal.com/test3.html
https://diva3d.diva-portal.com/testios.html
https://diva3d.diva-portal.com/test.html
The astronaut works here: https://modelviewer.dev/
On this page all but one viewer do work: https://modelviewer.dev/examples/augmentedreality/index.html
Here some links where the AR viewer DOES NOT WORK on my device:
Its interesting because https://diva3d.diva-portal.com/test3.html uses the same settings and there it works.
Browser Affected
I tested it on Chrome and Firefox:
OS
Android where it's not working:
Samsung Galaxy S9 SM-G960F
Android Version 10
Google Version: 13.14.9.23.arm64
Android where it's not working:
Redmi Note 9 Modell M2003J15SG
Android Version 10 QP1A.190711.020
Google Version: 13.14.9.23.arm64
Android where IT WORKS:
Redmi Note 9 Pro
Android Version 11 RKQ1.200826.002
Is it possible that it does not work correctly on phones with Android version 10?
I hope you can help me with this issue. We already tested a lot and have no idea what we can do next :)
Thanks in advance!
Lea
Beta Was this translation helpful? Give feedback.
All reactions