Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
io-anyline-cordova
Advanced tools
Anyline provides an easy-to-use SDK for applications to enable Optical Character Recognition (OCR) on mobile devices.
This is just a simple setup guide to integrate the anylinesdk-plugin in an existing Cordova project.
For more information about Cordova, how to use plugins, etc. see https://cordova.apache.org/.
cordova plugin add io-anyline-cordova
Or use plugman. E.g. for android:
plugman install --platform android --project platforms/android --plugin io-anyline-cordova
If you'd like to clone the repository you will have to use git-lfs. Use the following commands to install git-lfs.
brew install git-lfs
git lfs install
If you prefer downloading a package, use the provided zip
package on the releases page. Be aware that the github download zip button does not work for projects with git-lfs.
cordova.exec(onResult, onError, "AnylineSDK", scanMode, config);
Example for config from MRZ:
[
"YOUR_LICENSE_KEY",
{
"captureResolution": "1080p",
"cutout": {
"style": "rect",
"maxWidthPercent": "90%",
"maxHeightPercent": "90%",
"alignment": "top_half",
"strokeWidth": 2,
"cornerRadius": 4,
"strokeColor": "FFFFFF",
"outerColor": "000000",
"outerAlpha": 0.3
},
"flash": {
"mode": "manual",
"alignment": "bottom_right"
},
"beepOnResult": true,
"vibrateOnResult": true,
"blinkAnimationOnResult": true,
"cancelOnResult": true
}
]
Checkout our online documentation for more details.
See LICENSE file.
FAQs
The cordova plugin for the Anyline SDK
The npm package io-anyline-cordova receives a total of 91 weekly downloads. As such, io-anyline-cordova popularity was classified as not popular.
We found that io-anyline-cordova 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.