Why doesn't the AR button appear in Chrome on iPhone? #1871
Replies: 10 comments
-
related: #758 ? |
Beta Was this translation helpful? Give feedback.
-
Hey @MilosNikolic I forked your Glitch demo into a CodePen example and added this line: quick-look-browsers="safari chrome" This tells the Does that solve the issue for you? |
Beta Was this translation helpful? Give feedback.
-
@cwervo - Hi Andrés, that did work indeed, icon showed up, but the model is still not loading in AR, this is using both your remixed code and when I add it, which means its essentially not a solution. Thanks for checking it tho! |
Beta Was this translation helpful? Give feedback.
-
@MilosNikolic Do you get an error, a gray object panel showing something like "object cannot be loaded", or just no feedback at all? |
Beta Was this translation helpful? Give feedback.
-
Hi all, due to an inconsistency in how iOS Chrome handles Be advised that until recently, iOS Chrome does not activate Quick Look unless you set the correct An example of opting in looks like this: <model-viewer src="..." ios-src="any.usdz" quick-look-browsers="safari chrome">
</model-viewer> Please also refer to this related issue: #534 |
Beta Was this translation helpful? Give feedback.
-
Also worth mentioning that recent versions of Chrome should behave the same as Safari even if the header is omitted, but for now we are making it opt-in until the inconsistency is really far in the rear-view mirror. |
Beta Was this translation helpful? Give feedback.
-
If there are no further issues, I'm going to re-categorize this issue as a question. |
Beta Was this translation helpful? Give feedback.
-
I have 4 products to choose from, and am able to update the path of my .glb product models with an onClick event that updates the 'src' attribute. But when I try to update the 'ios-src' attribute to view the usdz version of the model in QuickLook on an iPhone 6S, I end up with "Object could not be opened". However, if I link the path of the 'ios-src' to a single usdz directly, the browser tiggers QuickLook and it works. After checking the inspector I find the following warning------------------ *Console.log('ios-src') renders undefined; is this attribute available to modifications at runtime? I really appreciate any advise you have on this issue.. |
Beta Was this translation helpful? Give feedback.
-
@pixelrgb028 It's possible this is the same error as #1286, but for quicklook instead. I think I fixed them both; can you verify if this repros for you on master? |
Beta Was this translation helpful? Give feedback.
-
@pixelrgb028 And just checking since someone else had this trouble; the attribute name is |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I started playing with and I noticed that AR button is not showing in Chrome on iPhone.
Phone i was using is iPhone 6s, with iOS 12.4
Here is the glitch project i used for testing:
https://glitch.com/edit/#!/midnight-friday
Interestingly, it works fine in Safari on iPhone, but not in Chrome.
Live Demo
https://glitch.com/edit/#!/midnight-friday
Browser Affected
OS
Versions
Beta Was this translation helpful? Give feedback.
All reactions