{"id":15022174,"url":"https://github.com/blinkcard/blinkcard-capacitor","last_synced_at":"2025-04-12T06:16:21.549Z","repository":{"id":39800859,"uuid":"358284095","full_name":"blinkcard/blinkcard-capacitor","owner":"blinkcard","description":"AI-driven credit card scanning for cross-platform apps built with Capacitor.","archived":false,"fork":false,"pushed_at":"2024-10-24T09:39:32.000Z","size":351,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-12T06:16:09.866Z","etag":null,"topics":["add-card","android","capacitor","card","credit-card","cross-platform","ionic","ios","mechine-learning","new-payment-method","plugin","scanner","scanning","sdk"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/blinkcard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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-04-15T14:15:16.000Z","updated_at":"2025-02-06T12:36:45.000Z","dependencies_parsed_at":"2024-04-10T12:25:06.016Z","dependency_job_id":"be1a101e-a567-4474-abd6-bb66d5acd537","html_url":"https://github.com/blinkcard/blinkcard-capacitor","commit_stats":{"total_commits":40,"total_committers":10,"mean_commits":4.0,"dds":0.7,"last_synced_commit":"ed20825c478b2b4c960454c7e0455a4414866bb8"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blinkcard%2Fblinkcard-capacitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blinkcard%2Fblinkcard-capacitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blinkcard%2Fblinkcard-capacitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blinkcard%2Fblinkcard-capacitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blinkcard","download_url":"https://codeload.github.com/blinkcard/blinkcard-capacitor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525139,"owners_count":21118620,"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":["add-card","android","capacitor","card","credit-card","cross-platform","ionic","ios","mechine-learning","new-payment-method","plugin","scanner","scanning","sdk"],"created_at":"2024-09-24T19:57:33.975Z","updated_at":"2025-04-12T06:16:21.513Z","avatar_url":"https://github.com/blinkcard.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BlinkCard SDK Capacitor plugin\n\nAI-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](https://github.com/BlinkCard/blinkcard-ios)\nand [Android](https://github.com/BlinkCard/blinkcard-android)). Not all features of native SDKs are available. However, the wrapper is open source so you can add the features that you need.\n\nBelow, you'll find everything you need to add BlinkCard in your Capacitor iOS or Android app ⬇️\n\n## Minimum software requirements\n\nPackage depends on [BlinkCard SDK](https://microblink.com/products/blinkcard) and it is required to download and install [BlinkCard iOS SDK](https://github.com/BlinkCard/blinkcard-ios) and [BlinkCard Android SDK](https://github.com/BlinkCard/blinkcard-android). For more information on how to do that, please check our [Platform specifics](#platform-specifics) section.\n\n### Capacitor\n\nBlinkCard plugin is developed with Capacitor version 5.7.0.\nFor help with Capacitor, view official [documentation](https://capacitorjs.com/docs).\n\n### iOS\n\nBlinkCard Capacitor plugin supports iOS 12.0 or newer.\n\n### Android\n\nBlinkCard Capacitor plugin support Android Android 5.0 (API level 21) or newer.\n\n## Getting Started\n\nTo get started, first create empty project if needed:\n\n```shell\nionic start project_name --capacitor\n```\n\nInstall blinkcard-capacitor package:\n\n```shell\nnpm install --save @microblink/blinkcard-capacitor\n```\n\n### Quick start with sample app\n\nSample app is built with latest [Ionic framework](https://ionicframework.com) and it uses [Angular](https://angular.io). To try BlinkCard plugin, you can generate a minimal sample application. To do so run `./initIonicSampleApp.sh` script.\n\nTo run sample application:\n\n* iOS\n\t* Open the app in Xcode by running ```npx cap open ios``` from the sample app's root directory\n\t* Open info.plist and add corresponding permissions to the app\n\t\t* Privacy - Camera Usage Description: To Take Photos and Video\n\t* Open `Signing \u0026 Capabilities` and set your Team\n\t* Press `Run`\n\n* Android\n\t* Run the app by executing ```npx cap run android``` from the sample app's root directory\n\n### Plugin usage\n\n1. Import blinkcard-capacitor package\n\n\t```typescript\n\timport * as BlinkCard from '@microblink/blinkcard-capacitor';\n\t```\n\n2. Initialize plugin\n\n\t```typescript\n\tconst plugin = new BlinkCard.BlinkCardPlugin();\n\t```\n\t\n3. 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\n [here](#licensing).\n \n\t ```typescript\n\tasync scan() {\n\t\t \t\n\t \t// Initialize plugin\n\t\tconst plugin = new BlinkCard.BlinkCardPlugin();\n\t\t\n\t\t// Initialize wanted recognizer\n    \tconst blinkCardRecognizer = new BlinkCard.BlinkCardRecognizer();\n    \tblinkCardRecognizer.returnFullDocumentImage = true\n\t\n\t\t// Initialize license \n\t\tconst licenseKeys: BlinkCard.License = {\n\t  \t\tios: '\u003cyour_ios_license\u003e',\n\t  \t\tandroid: '\u003cyour_android_license\u003e',\n\t  \t\tshowTimeLimitedLicenseKeyWarning: true\n\t\t};\n\t\t\n\t\t// Perform scan and gather results\n\t\tconst scanningResults = await plugin.scanWithCamera(\n      \t\tnew BlinkCard.BlinkCardOverlaySettings(),\n      \t\tnew BlinkCard.RecognizerCollection([blinkCardRecognizer])\n\t\t\tlicenseKeys\n\t\t);\n  \t}\n\t ```\n\t\n4. 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.\n\nFor more information please refer to our sample files in [SampleFiles folder](https://github.com/BlinkCard/blinkcard-capacitor/tree/master/SampleFiles) and  sample application source code.\n\n### Available API\n\nAll available recognizers can be found inside `BlinkCard/src/recognizers`.\n\nAll available overlays can be found inside `BlinkCard/src/overlays`.\n\n### Platform specifics\n\nPlugin implementation is in folder `src`, while platform specific implementations are in `android` and `ios` folders.\n\n#### iOS\n\nTo 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`.\nOur `@microblink/blinkcard-capacitor` depends on the latest [MBBlinkCard pod](https://cocoapods.org/pods/MBBlinkCard) so it will be installed automatically.\n\n#### Android\n\nBlinkCard plugin on Android is ready to use after you've added the dependency.\n\n## Licensing\n\n- A valid license key is required to initialize scanning. You can request a **free trial license key**, after you register, at [Microblink Developer Hub](https://account.microblink.com/signin)\n- Get information about pricing and licensing of [BlinkCard](https://microblink.com/blinkcard)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblinkcard%2Fblinkcard-capacitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblinkcard%2Fblinkcard-capacitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblinkcard%2Fblinkcard-capacitor/lists"}