Start a new topic

Wikitude plugin with Phonegap Build

Hello,

I'm trying to make simple example working in my app's environment but can't make it work.


I can't find examples of an entire buildable project, that would help a lot.


I'm using Phonegap Build for cloud builds for iOS and Android.


Into my html file I've added :

 <script src="https://www.wikitude.com/libs/architect.js"></script>

 <script type="text/javascript" src="libs/ade.js"></script>


(created libs.ade.js from https://github.com/Wikitude/wikitude-sdk-samples/blob/master/ade.js)


Into config.xml I've added :

    <plugin name="com.wikitude.phonegap.WikitudePlugin" spec="https://github.com/Wikitude/wikitude-cordova-plugin" />

    <platform name="android">

        <preference name="android-minSdkVersion" value="15" />

    </platform>


I've created source based on 

https://github.com/Wikitude/wikitude-sdk-samples/blob/master/01_ImageRecognition_1_ImageOnTarget/js/imageontarget.js


I couldn't find a way to enter trial licence because the plugin being loaded by Phonegap Cloud Build...


I'm getting errors 

AR is not defined...


What am I doing wrong?


Thanks

1 Comment

Hello Tem,

Please refer to the documentation section here.

Thanks
Eva

 

Login or Signup to post a comment