I have Wikitude loading from within Phonegap, and AR.loadARchitectWorld('www/world/hop/index.html') loads an architect view, however it doesn't seem to load the specific world.
There's a console.log('hop index.html'); line within that file that never appears, which is how I've assumed it doesn't seem to locate it properly.
about 4 years ago
Hi, Where is your .html file? Is it in the application bundle root or in a subdirectory? Depending on the location, you have to pass the proper path to the Wikitude SDK. Assuming your world is in a folder reference (blue folder icon in Xcode), then you would have to load the world as following:
The device I'm using is supported, so I was just confused.
over 1 year ago
Hi Lingbo, On which platform are you testing your application (Android, iOS)? What's exactly the content of your 'experience' directory? Did you implement the loadArchitectWorld onError callback to get more detailed information why it could not be loaded?
Our example application does exactly what you want, loading the Architect World from the application bundle, so it should be a good reference for you.
You can also debug your cordova application with Chrome or Safari (depending on your target platform). Maybe this helps as well to find the problem (Maybe finding any syntax issues).