Cordova plugin for device feature detection.
-
camera
- Detects if a camera is available
cordova plugin add com.syonet.mobile.featuredetection
cordova.plugins.featureDetection.<feature name>(function ( result ) {
console.log( result );
}, function ( err ) {
console.log( err );
});
- Android
MIT