AR Button not responding embed code in Native Apps webview on IOS devices. #2615
Replies: 9 comments
-
I'm not sure it's possible to launch Quick Look from the iOS Instagram or Twitter apps. Has anyone attempted this directly? If it is possible and we're simply screening for the wrong user agent string or something, that would be a simple fix. However, I have no experience with those apps, so any information you can give would be a great help. |
Beta Was this translation helpful? Give feedback.
-
we send message "modelviewer AR link" to each other on these apps. Then we opened. These apps open the link without leaving the app(Webview) On Android devices, everything works fine. AR button works on Twitter webview.. So twitter someway opens the quicklook in their webview but instagram doesn't.. |
Beta Was this translation helpful? Give feedback.
-
Facebook for iOS User-Agent string
Twitter for iOS User-Agent string
Safari for iOS User-Agent string
So twitter's user agent looks like Safari, thats why it works... I dont know @elalish and model viewer team can handle with it |
Beta Was this translation helpful? Give feedback.
-
Hmm, I take it back; we're not narrowing it down by user agent string in this case. I believe this is what's failing, in which case the browser really doesn't support AR, though I don't know why. Old version? If anyone can debug and verify that, it would be great. Or really any kind of repro steps to test the facebook browser. |
Beta Was this translation helpful? Give feedback.
-
Here you go.. @elalish @canberka "EVİNDE GÖRÜNTÜLE" means view in your space..(AR button) Button disappears and comes back when clicked. This is debug; ("Touch down at" is when we clicked button) Path 1: WhatsApp.Video.2021-06-07.at.22.48.17_1.mp4and this is app webview for ios... I hope this helps |
Beta Was this translation helpful? Give feedback.
-
Hmm, maybe it is all about privacy for not open the AR, as same as webxr not opened in wkwebview. |
Beta Was this translation helpful? Give feedback.
-
👍🏻+1 for a solution. :) |
Beta Was this translation helpful? Give feedback.
-
there is no solution for Wkwebview, only works UIWebview with SafariServices @sprengerst which is works on Twitter |
Beta Was this translation helpful? Give feedback.
-
@canberka Thanks for theinfo. Is there any event that is triggered the browser is not capable of launching AR? The "failed" event doesn't seem to be triggered. |
Beta Was this translation helpful? Give feedback.
-
Description
AR Button not responding(not work) embed code in Native Apps for Ios devices.
AR button works in embed code which includes model viewer in Native App webview for Android Devices, but not for IOS.
Topics opened for that but it closed without solution.
My opinion this issue about native app codes.
My observation :
Model viewer ar button works on ios devices in Twitter app
Model viewer ar button not works on ios devices in Instagram app
Model viewer ar button not works on ios devices in Linkedln app
So it should be Native app code issue.
Can I fix this issue with javascript code in modelviewer?
Should we add quicklook library to Native app?
Can you show the true way for me.
Thanks for help
Live Demo
All model viewer demos.
Version
All
Browser Affected
OS
AR
Beta Was this translation helpful? Give feedback.
All reactions