Last active
June 23, 2017 20:12
-
-
Save matthieu-D/fd065d1960dcfe4a15c75926c4a5ced6 to your computer and use it in GitHub Desktop.
check deviceSupported
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.isDeviceSupported(this.onDeviceSupported, this.onDeviceNotSupported, this.requiredFeatures); | |
}); | |
} | |
onDeviceSupported () { | |
console.log('device supported'); | |
} | |
onDeviceNotSupported () { | |
console.log('device not supported'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment