mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
Plugin installed
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user