Plugin installed

This commit is contained in:
Max Lynch
2015-11-24 14:37:34 -06:00
parent b9bc5fd8e7
commit ded5bd5444
3 changed files with 45 additions and 12 deletions
+6
View File
@@ -1,5 +1,11 @@
console.log(window.Native);
if(Native.Camera.installed()) {
console.log('Camera installed');
} else {
console.log('Camera not installed');
}
Native.Camera.takePicture().then(function(resp) {
console.log('Got picture');
}, function(err) {