0.0.10 • Published 7 years ago

cordova-plugin-feature v0.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

Cordova plugin to check what hardware features does an android device support. For personal use. May contain bugs.

Platforms : 1. Android

Functions: 1. supportsAutofocus(success, error) : Checks if the device supports autofocus returns : 1. "true" 2. "does not have auto focus" 3. "cannot get camera instance" 4. "does not have camera"

*Always returns success if no errors occurs internally

Usage(Ionic2):

declare var cordova; ... ...

if (platform.is('android')) { var featurePlugin = cordova.plugins'cordova-plugin-feature'; featurePlugin.supportsAutofocus((success) => { // success is a String }, (err) => {

});

}

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago