Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
cordova-plugin-fingerprint-aio-criterion
Advanced tools
Cordova plugin to use fingerprint authentication on Android and iOS
This plugin provides a single and simple interface for accessing fingerprint APIs on both Android 6+ and iOS.
<preference name="UseSwiftLanguageVersion" value="4.0" />
in your config.xmlTutorial about using this plugin with Ionic thanks to Paul Halliday
Install from NPM
cordova plugin add cordova-plugin-fingerprint-aio-criterion --save
If you want to set a FaceID description use:
cordova plugin add cordova-plugin-fingerprint-aio-criterion --variable FACEID_USAGE_DESCRIPTION="Login now...."
Use the release candidate for testing the latest fixes
You can use preview versions with the rc
tag on npm.
cordova plugin add cordova-plugin-fingerprint-aio-criterion@rc
Use this Github repo
Get the latest development version. Not recommended!
cordova plugin add https://github.com/AndrewIl/cordova-plugin-fingerprint-aio-criterion.git
Fingerprint.isAvailable(isAvailableSuccess, isAvailableError);
function isAvailableSuccess(result) {
/*
result depends on device and os.
iPhone X will return 'face' other Android or iOS devices will return 'finger'
*/
alert("Fingerprint available");
}
function isAvailableError(message) {
// 'message' will be an object with an error code and message
console.log(message);
}
Fingerprint.show({
clientId: "Fingerprint-Demo", //Android: Used for encryption. iOS: used for dialogue if no `localizedReason` is given.
clientSecret: "o7aoOMYUbyxaD23oFAnJ" //Necessary for Android encrpytion of keys. Use random secret key.
}, successCallback, errorCallback);
function successCallback(){
alert("Authentication successfull");
}
function errorCallback(err){
alert("Authentication invalid " + err);
}
Optional parameters
true
remove backup option on authentication dialogue for Android. Default: false
.Some code is refactored from their projects and I learned how to make Cordova plugins from their great plugins:
@EddyVerbruggen and @mjwheatley
FAQs
Cordova plugin to use fingerprint authentication on Android and iOS
The npm package cordova-plugin-fingerprint-aio-criterion receives a total of 0 weekly downloads. As such, cordova-plugin-fingerprint-aio-criterion popularity was classified as not popular.
We found that cordova-plugin-fingerprint-aio-criterion demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.