Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@microblink/blinkcard-capacitor
Advanced tools
AI-driven credit card scanning for cross-platform apps built with Capacitor.
AI-driven Credit Card 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.
Below, you'll find everything you need to add BlinkCard in your Capacitor iOS or Android app ⬇️
Package depends on BlinkCard SDK and it is required to download and install BlinkCard iOS SDK and BlinkCard Android SDK. For more information on how to do that, please check our Platform specifics section.
BlinkCard plugin is developed with Capacitor version 3.2.0. For help with Capacitor, view official documentation.
BlinkCard Capacitor plugin supports iOS 12.0 or newer.
BlinkCard Capacitor plugin support Android Android 5.0 (API level 21) or newer.
To get started, first create empty project if needed:
ionic start project_name --capacitor
Install blinkcard-capacitor package:
npm install --save @microblink/blinkcard-capacitor
Sample app is built with latest Ionic framework and it uses Angular. To try BlinkCard 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 blinkcard-capacitor package
import * as BlinkCard from '@microblink/blinkcard-capacitor';
Initialize plugin
const plugin = new BlinkCard.BlinkCardPlugin();
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 BlinkCard.BlinkCardPlugin();
// Initialize wanted recognizer
const blinkCardRecognizer = new BlinkCard.BlinkCardRecognizer();
blinkCardRecognizer.returnFullDocumentImage = true
// Initialize license
const licenseKeys: BlinkCard.License = {
ios: '<your_ios_license>',
android: '<your_android_license>',
showTimeLimitedLicenseKeyWarning: true
};
// Perform scan and gather results
const scanningResults = await plugin.scanWithCamera(
new BlinkCard.BlinkCardOverlaySettings(),
new BlinkCard.RecognizerCollection([blinkCardRecognizer])
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 BlinkCard/src/recognizers
.
All available overlays can be found inside BlinkCard/src/overlays
.
Plugin implementation is in folder src
, while platform specific implementations are in android
and ios
folders.
To initialize BlinkCard framework for use with iOS, after you've added the dependency to @microblink/blinkcard-capacitor
to your project, go to NameOfYourProject/ios
and run pod install
.
Our @microblink/blinkcard-capacitor
depends on the latest MBBlinkCard pod so it will be installed automatically.
BlinkCard plugin on Android is ready to use after you've added the dependency.
FAQs
AI-driven credit card scanning for cross-platform apps built with Capacitor.
The npm package @microblink/blinkcard-capacitor receives a total of 38 weekly downloads. As such, @microblink/blinkcard-capacitor popularity was classified as not popular.
We found that @microblink/blinkcard-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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.