Search code examples
androidandroid-studiokotlinwebviewaugmented-reality

Android app with WebView of AR ( Augmented Reality ) Website Android Studio + kotlin


I have android application which contains a webview of one website with AR facility.

But I am facing an issue that normal webview of android doesn't allow to open AR mode and tried to open with intent then it will redirect to google sceneform link.

I want to add button in AR mode with website. That button can take screenshot of AR mode.

I have taken all the permissions. camera, AR. Installed all of the plugins correctly still can't get succeed.


Solution

  • Please Consider that which technology is your webAR experience using ?! maybe it is webXR. and as you understood, webXR is not supported in android web view ! so if you really want to see AR in webview, you may reconsider which webAR you are using ( try AR.js or mind-AR or 8thWall(paid) or etc. ) But Consider that webXR is almost fully supported by chrome browser on android. so if you open that website on chrome browser, it may run without any problems. If you still have questions, please don't hesitate to ask!