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.
capacitor-plugin-dynamsoft-barcode-reader
Advanced tools
A capacitor plugin for Dynamsoft Barcode Reader
A capacitor plugin for Dynamsoft Barcode Reader.
npm install capacitor-plugin-dynamsoft-barcode-reader
npx cap sync
For Capacitor 6, use 2.x.
For Capacitor <= 5, use 1.x.
Product | Android | iOS | Web |
---|---|---|---|
Dynamsoft Barcode Reader | 10.4.20 | 10.4.20 | 10.4.20 |
initLicense(...)
initialize()
initRuntimeSettingsFromString(...)
decode(...)
decodeBitmap(...)
setEngineResourcePaths(...)
initLicense(options: { license: string; }) => Promise<{ success?: boolean; message?: string; }>
Param | Type |
---|---|
options | { license: string; } |
Returns: Promise<{ success?: boolean; message?: string; }>
initialize() => Promise<{ success?: boolean; message?: string; }>
Returns: Promise<{ success?: boolean; message?: string; }>
initRuntimeSettingsFromString(options: { template: string; }) => Promise<void>
Param | Type |
---|---|
options | { template: string; } |
decode(options: { source: string | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement; template?: string; }) => Promise<{ results: TextResult[]; }>
source: Android and iOS only support base64 string. path: for Android and iOS. template: pass a template name to specify the template
Param | Type |
---|---|
options | { source: any; template?: string; } |
Returns: Promise<{ results: TextResult[]; }>
decodeBitmap(options: { className?: string; methodName?: string; template?: string; }) => Promise<{ results: TextResult[]; }>
Android and iOS only method which directly read camera frames from capacitor-plugin-camera
Param | Type |
---|---|
options | { className?: string; methodName?: string; template?: string; } |
Returns: Promise<{ results: TextResult[]; }>
setEngineResourcePaths(options: { paths: any; }) => Promise<void>
Web only method to set the engine resource path
Param | Type |
---|---|
options | { paths: any; } |
Prop | Type |
---|---|
barcodeText | string |
barcodeFormat | string |
barcodeBytesBase64 | string |
x1 | number |
y1 | number |
x2 | number |
y2 | number |
x3 | number |
y3 | number |
x4 | number |
y4 | number |
FAQs
A capacitor plugin for Dynamsoft Barcode Reader
We found that capacitor-plugin-dynamsoft-barcode-reader 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.