{"id":13801036,"url":"https://github.com/tony-xlh/capacitor-plugin-dynamsoft-barcode-reader","last_synced_at":"2025-04-23T20:32:05.340Z","repository":{"id":46877545,"uuid":"427246630","full_name":"tony-xlh/capacitor-plugin-dynamsoft-barcode-reader","owner":"tony-xlh","description":"capacitor-plugin-dynamsoft-barcode-reader","archived":false,"fork":false,"pushed_at":"2025-02-19T07:15:39.000Z","size":1163,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T18:48:26.000Z","etag":null,"topics":["barcode","capacitor","ionic","qrcode","typescript"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tony-xlh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-12T05:46:31.000Z","updated_at":"2025-02-19T07:15:42.000Z","dependencies_parsed_at":"2024-11-07T02:26:41.609Z","dependency_job_id":"53822ba4-c6b2-4cac-b6f4-e30bd3be25e4","html_url":"https://github.com/tony-xlh/capacitor-plugin-dynamsoft-barcode-reader","commit_stats":{"total_commits":195,"total_committers":1,"mean_commits":195.0,"dds":0.0,"last_synced_commit":"82534861cc9747a4801620a0038eedb119e51156"},"previous_names":["xulihang/capacitor-plugin-dynamsoft-barcode-reader"],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-xlh%2Fcapacitor-plugin-dynamsoft-barcode-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-xlh%2Fcapacitor-plugin-dynamsoft-barcode-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-xlh%2Fcapacitor-plugin-dynamsoft-barcode-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-xlh%2Fcapacitor-plugin-dynamsoft-barcode-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tony-xlh","download_url":"https://codeload.github.com/tony-xlh/capacitor-plugin-dynamsoft-barcode-reader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249590033,"owners_count":21296146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["barcode","capacitor","ionic","qrcode","typescript"],"created_at":"2024-08-04T00:01:18.859Z","updated_at":"2025-04-23T20:32:05.334Z","avatar_url":"https://github.com/tony-xlh.png","language":"Java","funding_links":[],"categories":["Other plugins"],"sub_categories":[],"readme":"# capacitor-plugin-dynamsoft-barcode-reader\n\n![version](https://img.shields.io/npm/v/capacitor-plugin-dynamsoft-barcode-reader.svg)\n\nA capacitor plugin for [Dynamsoft Barcode Reader](https://www.dynamsoft.com/barcode-reader/overview/).\n\n## Install\n\n```bash\nnpm install capacitor-plugin-dynamsoft-barcode-reader\nnpx cap sync\n```\n\n## Supported Platforms\n\n* Android\n* iOS\n* Web\n\n## Capacitor Versions\n\nFor Capacitor 7, use 3.x.\n\nFor Capacitor 6, use 2.x.\n\nFor Capacitor \u003c= 5, use 1.x.\n\n## SDK Versions Used for Different Platforms\n\n| Product      | Android |    iOS | Web |\n| ----------- | ----------- | -----------  | -------  |\n| Dynamsoft Barcode Reader    | 10.4.20       | 10.4.20     | 10.4.20     |\n\n## Supported Barcode Symbologies\n\n* Code 11\n* Code 39\n* Code 93\n* Code 128\n* Codabar\n* EAN-2\n* EAN-5\n* EAN-8\n* EAN-13\n* UPC-A\n* UPC-E\n* UPC-2\n* UPC-5\n* Interleaved 2 of 5 (ITF)\n* Industrial 2 of 5 (Code 2 of 5 Industry, Standard 2 of 5, Code 2 of 5)\n* ITF-14 \n* QRCode\n* DataMatrix\n* PDF417\n* GS1 DataBar\n* Maxicode\n* Micro PDF417\n* Micro QR\n* PatchCode\n* GS1 Composite\n* Postal Code\n* Dot Code\n* Pharmacode\n\n## Demos\n\n* [Ionic React](https://github.com/xulihang/Ionic-React-QR-Code-Scanner)\n* [Quasar + Vue 2](https://github.com/tony-xlh/Quasar-QR-Code-Scanner)\n* [Ionic + Vue 3](https://github.com/tony-xlh/Ionic-Vue-QR-Code-Scanner)\n* [Vanilla JS](https://github.com/xulihang/capacitor-qr-code-scanner)\n\n## API\n\n\u003cdocgen-index\u003e\n\n* [`initLicense(...)`](#initlicense)\n* [`initialize()`](#initialize)\n* [`initRuntimeSettingsFromString(...)`](#initruntimesettingsfromstring)\n* [`decode(...)`](#decode)\n* [`decodeBitmap(...)`](#decodebitmap)\n* [`setEngineResourcePaths(...)`](#setengineresourcepaths)\n* [Interfaces](#interfaces)\n\n\u003c/docgen-index\u003e\n\n\u003cdocgen-api\u003e\n\u003c!--Update the source file JSDoc comments and rerun docgen to update the docs below--\u003e\n\n### initLicense(...)\n\n```typescript\ninitLicense(options: { license: string; }) =\u003e Promise\u003c{ success?: boolean; message?: string; }\u003e\n```\n\n| Param         | Type                              |\n| ------------- | --------------------------------- |\n| **`options`** | \u003ccode\u003e{ license: string; }\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ success?: boolean; message?: string; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### initialize()\n\n```typescript\ninitialize() =\u003e Promise\u003c{ success?: boolean; message?: string; }\u003e\n```\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ success?: boolean; message?: string; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### initRuntimeSettingsFromString(...)\n\n```typescript\ninitRuntimeSettingsFromString(options: { template: string; }) =\u003e Promise\u003cvoid\u003e\n```\n\n| Param         | Type                               |\n| ------------- | ---------------------------------- |\n| **`options`** | \u003ccode\u003e{ template: string; }\u003c/code\u003e |\n\n--------------------\n\n\n### decode(...)\n\n```typescript\ndecode(options: { source: string | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement; template?: string; }) =\u003e Promise\u003c{ results: TextResult[]; }\u003e\n```\n\nsource: Android and iOS only support base64 string.\npath: for Android and iOS.\ntemplate: pass a template name to specify the template\n\n| Param         | Type                                             |\n| ------------- | ------------------------------------------------ |\n| **`options`** | \u003ccode\u003e{ source: any; template?: string; }\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ results: TextResult[]; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### decodeBitmap(...)\n\n```typescript\ndecodeBitmap(options: { className?: string; methodName?: string; template?: string; }) =\u003e Promise\u003c{ results: TextResult[]; }\u003e\n```\n\nAndroid and iOS only method which directly read camera frames from capacitor-plugin-camera\n\n| Param         | Type                                                                         |\n| ------------- | ---------------------------------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ className?: string; methodName?: string; template?: string; }\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ results: TextResult[]; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### setEngineResourcePaths(...)\n\n```typescript\nsetEngineResourcePaths(options: { paths: any; }) =\u003e Promise\u003cvoid\u003e\n```\n\nWeb only method to set the engine resource path\n\n| Param         | Type                         |\n| ------------- | ---------------------------- |\n| **`options`** | \u003ccode\u003e{ paths: any; }\u003c/code\u003e |\n\n--------------------\n\n\n### Interfaces\n\n\n#### TextResult\n\n| Prop                     | Type                |\n| ------------------------ | ------------------- |\n| **`barcodeText`**        | \u003ccode\u003estring\u003c/code\u003e |\n| **`barcodeFormat`**      | \u003ccode\u003estring\u003c/code\u003e |\n| **`barcodeBytesBase64`** | \u003ccode\u003estring\u003c/code\u003e |\n| **`x1`**                 | \u003ccode\u003enumber\u003c/code\u003e |\n| **`y1`**                 | \u003ccode\u003enumber\u003c/code\u003e |\n| **`x2`**                 | \u003ccode\u003enumber\u003c/code\u003e |\n| **`y2`**                 | \u003ccode\u003enumber\u003c/code\u003e |\n| **`x3`**                 | \u003ccode\u003enumber\u003c/code\u003e |\n| **`y3`**                 | \u003ccode\u003enumber\u003c/code\u003e |\n| **`x4`**                 | \u003ccode\u003enumber\u003c/code\u003e |\n| **`y4`**                 | \u003ccode\u003enumber\u003c/code\u003e |\n\n\u003c/docgen-api\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftony-xlh%2Fcapacitor-plugin-dynamsoft-barcode-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftony-xlh%2Fcapacitor-plugin-dynamsoft-barcode-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftony-xlh%2Fcapacitor-plugin-dynamsoft-barcode-reader/lists"}