Is it possible to trigger Scene Viewer from a WebView? #1868
Replies: 7 comments 6 replies
-
@satputerohan this topic veers a little bit outside of my expertise, but my best answer is two parts:
In general, it should be possible to trigger Scene Viewer so long as the actual glTF file you are loading is hosted on a secure origin. |
Beta Was this translation helpful? Give feedback.
-
Hi @cdata, |
Beta Was this translation helpful? Give feedback.
-
Hi @satputerohan @cdata you can do it this way in android java:
|
Beta Was this translation helpful? Give feedback.
-
@PerspectivesLab that looks familiar :) did you borrow it from the Android Chrome source tree? |
Beta Was this translation helpful? Give feedback.
-
ohhhhh dyeah !!! |
Beta Was this translation helpful? Give feedback.
-
@PerspectivesLab Kudos for your earlier workaround suggest here, it helped me figure out a solution to this problem in my Flutter plugin that embeds |
Beta Was this translation helpful? Give feedback.
-
@artob glad to help ! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I am trying to achive a simple demo where I embed a webpage (an html on my webserver with nothing but a model viewer component with dependencies) in my Android and iOS Xamarin app.
I am able to view the model and interact with it, but I am getting no ar-fallback error when I try to take it to Scene Viewer. Is it possible to launch Scene Viewer from inside a Webview from my app?
Beta Was this translation helpful? Give feedback.
All reactions