Last active
June 23, 2017 20:11
-
-
Save matthieu-D/ee16fd543070684168e00670b522e118 to your computer and use it in GitHub Desktop.
Wikitude constructor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
constructor(public platform: Platform) { | |
platform.ready().then(() => { | |
this.wikitudePlugin = cordova.require("com.wikitude.phonegap.WikitudePlugin.WikitudePlugin"); | |
console.log('The wikitude object: ', this.wikitudePlugin); | |
console.log('The wikitude test method: ',this.wikitudePlugin.isDeviceSupported); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment