ok, I tried both ways. I took out just "cordova.file.applicationDirectory + " and it didn't work. if you take al the lines 83-87 it crashes
Since our Cordova example app update 3.3.0, we use the Cordova File plugin to determine the full path of examples. We do this so that developer see how to use the Cordova File plugin in combination with the Wikitude Cordova plugin to get accurate paths when launching Architect World from e.g. the document directory.
The Wikitude Cordova example app generation script should download and install the Cordova file plugin automatically.
Does both of you see the Cordova file plugin installed?
I just replied to someone else and figured that this might be interesting for you as well.
Are you using the PhoneGap Android/iOS application to run the Wikitude SDK? This one might not be updated with the latest Wikitude Cordova plugin, meaning that it might miss some functionality that is required.
So the best way to test it would be to create your own cordova/phonegap application on the command line and open/run it with Xcode/Android Studio.
Hi, I not sure I understood what you did. Did you delete lines 83-87?