Unzip the binary file (wikitude-phonegap-samples-master.zip)
Open the console and change to the directory where you unzipped the binary
In the console run the CreateSampleApp.sh script. Use the -d flag to specify where the Sample App should be created. The-ios and -android flags control which platform should be compiled after creating the app.
This may take a while (more than one minute) without any update message in the command line, depending on how fast the plugin is cloned from GitHub and downloaded (more than 30MB)
The script might run for some minutes without feedback as it is downloading more than 30MB from GitHub. It will finish with the following success message:
$ *** DONE - SUCCESS ***
Open the project in Xcode (iOS) or Eclipse (Android) and run it on your device.
Done
A
Agha Usman
said
over 8 years ago
Dear All,
I am trying to run Sample app on phonegap. But keep getting the following error
E/Web Console( 930): Uncaught TypeError: undefined is not a function at file:///android_asset/www/js/imageontarget.js:18
It came on line no 18 which is as follows
this.tracker = new AR.ClientTracker("assets/magazine.wtc", {
Agha Usman