Hi Pascal, THX for pointing that out! We have a look at it and let you know as soon as we have a fix for that.
Sorry for any circumstances the described behaviour is causing!
Do you know that you can load any resources from a server instead of downloading it onto the device? We do not store them so the SDK would download them every time the application loads, but maybe it's a possible temporary workaround for you.
Best regards
Andreas
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