How do i pass parameters while loading the ArchitectView? I need to pass the imagepath url to index.html for image overlay. I tired the following which doesnt work.
this.architectView.load("arviews/ImageOnTarget/index.html?imagePath=http%3A%2F%2Fwww.ikea.com%2Fca%2Fen%2Fimages%2Fproducts%2Fkivik-loveseat-and-chaise-lilac__0252355_PE391172_S4.JPG"); Or
08-06 20:19:13.273 3500-3500/com.wikitude.virtualhome I/chromium? "Uncaught ReferenceError: AR is not defined", source: (1)
A
Andreas Fötschl
said
about 8 years ago
Hi Swentha,
Passing parameters when html is in assets-folder is not supported by Android (compare e.g. stackoverflow) You need to use architectView.callJavaScript() to inject your values or host html on a server to pass params via url.
Swetha RK