is there any solution or a fix to load the world from the content-folder?
We have to load ARWorld from the content-folder, because the offline-mode of our app is essential in our case.
Cheers
N
Nicola Radacher
said
over 8 years ago
Hi,
We're investigating this and plan to release a fix with our next SDK release end of July.
Greetings
Nicola
P
Pascal.wasem
said
about 9 years ago
Hi there,
I am building a phonegap application using the phonegap-wiktude-plugin.
The app enables user to download all the availble ar content to their device (offline mode).
Under iOS I get an error loading that offline content:
var worldUrl = 'file:///var/mobile/Containers/Data/Application/<UUID>/Library/NoCloud/content/index.html'; // obtained via fileEntry.toURL() (using org.apache.cordova.file plugin), I also tried toInternalURL() > cdvfile://...
wikitudePlugin.loadArchitectWorld(worldUrl);
wikitudePlugin.worldFailedLaunching() > Unable to determine what the url to load should be: file:///var/mobile/Containers/Data/Application/<UUID>/Library/NoCloud/content/index.html
From this related post I learned that the phonegap-wiktude-plugin does not handle cdvfile:// urls and only accepts paths relative to the www-folder!?
The problem is that with iOS8+ the applicationDirectory and the dataDirectory got separated:
Pascal.wasem