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.
@microblink/blinkid-capacitor
Advanced tools
A small and powerful ID card Capacitor plugin for BlinkID SDK
AI-driven ID scanning software for cross-platform apps built with Capacitor. Keep in mind that for full access to all features and functionalities, you’ll be better off using one of our native SDKs (iOS and Android). Not all features of native SDKs are available. However, the wrapper is open source so you can add the features that you need.
Depending on your use case you can choose the recognizer that fits your needs:
Below, you'll find everything you need to add BlinkID in your Capacitor iOS or Android app ⬇️
Package depends on BlinkID SDK and it is required to download and install BlinkID iOS SDK and BlinkID Android SDK. For more information on how to do that, please check our Platform specifics section.
BlinkID plugin is developed with Capacitor version 6.1.1. For help with Capacitor, view official documentation.
BlinkID Capacitor plugin supports iOS 13.0 or newer.
BlinkID Capacitor plugin support Android Android 5.1 (API level 22) or newer.
To get started, first create empty project if needed:
ionic start project_name --capacitor
Install blinkid-capacitor package:
npm install --save @microblink/blinkid-capacitor
Sample app is built with latest Ionic framework and it uses Angular. To try BlinkID plugin, you can generate a minimal sample application. To do so run ./initIonicSampleApp.sh
script.
To run sample application:
iOS
npx cap open ios
from the sample app's root directorySigning & Capabilities
and set your TeamRun
Android
npx cap run android
from the sample app's root directoryImport blinkid-capacitor package
import * as BlinkID from '@microblink/blinkid-capacitor';
Initialize plugin
const plugin = new BlinkID.BlinkIDPlugin();
Perform scanning by calling the method plugin.scanWithCamera()
and pass RecognizerCollection
, OverlaySettings
you wish to use and license keys. To find out more about licensing, click
here.
async scan() {
// Initialize plugin
const plugin = new BlinkID.BlinkIDPlugin();
// Initialize wanted recognizer
const blinkIdMultisideRecognizer = new BlinkID.BlinkIdMultiSideRecognizer();
blinkIdMultisideRecognizer.returnFullDocumentImage = true;
blinkIdMultisideRecognizer.returnFaceImage = true;
// Initialize license
const licenseKeys: BlinkID.License = {
ios: '<your_ios_license>',
android: '<your_android_license>',
showTimeLimitedLicenseKeyWarning: true
};
// Perform scan and gather results
const scanningResults = await plugin.scanWithCamera(
new BlinkID.BlinkIdOverlaySettings(),
new BlinkID.RecognizerCollection([blinkIdMultisideRecognizer]),
licenseKeys
);
}
When scanning is completed, variable scanningResults
will contain a list of non-empty RecognizerResults
from recognizers set in RecognizerCollection
. You can then access each result individually. If the scanning is manually closed, the method will return an empty list.
For more information please refer to our sample files in SampleFiles folder and sample application source code.
All available recognizers can be found inside BlinkID/src/recognizers
.
All available overlays can be found inside BlinkID/src/overlays
.
Plugin implementation is in folder src
, while platform specific implementations are in android
and ios
folders.
To initialize BlinkID framework for use with iOS, after you've added the dependency to @microblink/blinkid-capacitor
to your project, go to NameOfYourProject/ios
and run pod install
.
Our @microblink/blinkid-capacitor
depends on the latest PPBlinkID pod so it will be installed automatically.
BlinkID plugin on Android is ready to use after you've added the dependency.
FAQs
A small and powerful ID card Capacitor plugin for BlinkID SDK
The npm package @microblink/blinkid-capacitor receives a total of 200 weekly downloads. As such, @microblink/blinkid-capacitor popularity was classified as not popular.
We found that @microblink/blinkid-capacitor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.