{"analyzedAt":"2022-07-11T01:10:40.330Z","collected":{"metadata":{"name":"blinkinput-react-native","scope":"unscoped","version":"4.3.0","description":"A small and powerful scanning library. Powered by Microblink (www.microblink.com).","keywords":["scan","id","scanner","identity","ID","passport","licence","sdk","ocr","USDL","PDF417","MRZ","MRTD","barcode","DL","card","document","microblink","react-native","blinkinput","ID","ios","android"],"date":"2020-05-27T11:24:16.451Z","author":{"name":"Microblink"},"publisher":{"username":"matvidako_micro","email":"matej.vidakovic@microblink.com"},"maintainers":[{"username":"matvidako_micro","email":"matej.vidakovic@microblink.com"}],"repository":{"type":"git","url":"git+https://github.com/BlinkInput/blinkinput-react-native.git"},"links":{"npm":"https://www.npmjs.com/package/blinkinput-react-native"},"license":"MIT","releases":[{"from":"2022-06-11T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":0},{"from":"2022-04-12T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":1},{"from":"2022-01-12T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":1},{"from":"2021-07-11T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":1},{"from":"2020-07-11T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":1}],"readme":"# BlinkInput SDK wrapper for React Native\n\nThis repository contains example wrapper for BlinkInput native SDK for [Android](https://github.com/BlinkInput/blinkinput-android) and [iOS](https://github.com/BlinkInput/blinkinput-ios). For 100% of features and maximum control, consider using native SDK.\n\n\n### Licensing\n\n- [Generate](https://microblink.com/login?url=/customer/generatedemolicence) a **free demo license key** to start using the SDK in your app (registration required)\n\n- Get information about pricing and licensing of [BlinkInput](https://microblink.com/blinkinput)\n\n## React Native Version\n\nBlinkInput React Native was built and tested with [React Native v0.61.5](https://github.com/facebook/react-native/releases/tag/v0.61.5)\n\n## Installation\n\nFirst generate an empty project if needed:\n\n```shell\nreact-native init --version=\"0.61.5\" NameOfYourProject\n```\n\nAdd the **blinkinput-react-native** module to your project:\n\n```shell\ncd <path_to_your_project>\nnpm i --save blinkinput-react-native\n```\n\n## Linking\n\n### iOS\n\nLink module with your project: \n\n```shell\nreact-native link blinkinput-react-native\n```\n\n[CocoaPods](http://cocoapods.org) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like BlinkInput in your projects.\n\n- If you wish to use version v1.4.0 or above, you need to install [Git Large File Storage](https://git-lfs.github.com) by running these comamnds:\n\n```shell\nbrew install git-lfs\ngit lfs install\n```\n\n- **Be sure to restart your console after installing Git LFS**\n\n#### Installing pods\n\nFrom [react-native 0.60](https://facebook.github.io/react-native/blog/2019/07/03/version-60#cocoapods-by-default) CocoaPods are now part of React Native's iOS project.\n\nGo to `NameOfYourProject/ios` folder and install Pods\n\n```shell\npod install\n```\n\nOur `blinkinput-react-native` depends on latest `PPBlinkOCR` pod so it will be installed automatically.\n\n**To run iOS application, open NameOfYourProject.xcworkspace, set Your team for every Target in General settings and add Privacy - Camera Usage Description key to Your info.plist file and press run**\n\n### Android\n\nAdd microblink maven repository to project level build.gradle:\n\n```\nallprojects {\n  repositories {\n    // don't forget to add maven and jcenter\n    mavenLocal()\n    jcenter()\n    \n    // ... other repositories your project needs\n    \n    maven { url \"http://maven.microblink.com\" }\n  }\n}\n```\n\n## Demo\n\nThis repository contains **initReactNativeDemoApp.sh** script that will create React Native project and download all of its dependencies. You can run this script with following command: \n```shell\n./initReactNativeDemoApp.sh\n```\n\n## Usage\n\nTo use the module you call it in your index.android.js or index.ios.js file like in the [example app](demoApp/index.js). Available recognizers and API documentation is available in [JS API files](BlinkInput).\n\n## FAQ\n\n**Can I create a custom UI overlay?**\n\nYes you can, but you will have to implement it natively for android and ios, you can see native implementation guides [here(Android)](https://github.com/BlinkInput/blinkinput-android#recognizerRunnerView) and [here(ios)](https://github.com/BlinkInput/blinkinput-ios#recognizerRunnerViewController).\n\n## Known react-native problems:\n\n### Android build exception - missing `ReactSwipeRefreshLayout`\n\n**java.lang.NoClassDefFoundError: com.facebook.react.views.swiperefresh.ReactSwipeRefreshLayout**\n\nAdd the following line to dependencies section in android/app/build.gradle:\n\n`implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-alpha02'`"},"npm":{"downloads":[{"from":"2022-07-10T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":0},{"from":"2022-07-04T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":3},{"from":"2022-06-11T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":48},{"from":"2022-04-12T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":116},{"from":"2022-01-12T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":251},{"from":"2021-07-11T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":1099}],"starsCount":0},"github":{"starsCount":1,"forksCount":1,"subscribersCount":10,"issues":{"count":5,"openCount":1,"distribution":{"3600":4,"10800":0,"32400":0,"97200":0,"291600":0,"874800":0,"2624400":0,"7873200":0,"23619600":0,"70858800":1,"212576400":0},"isDisabled":false},"contributors":[{"username":"Cerovec","commitsCount":2},{"username":"matvidako","commitsCount":8},{"username":"juraskrlec","commitsCount":14}],"commits":[{"from":"2022-07-04T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":0},{"from":"2022-06-11T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":0},{"from":"2022-04-12T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":0},{"from":"2022-01-12T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":0},{"from":"2021-07-11T00:00:00.000Z","to":"2022-07-11T00:00:00.000Z","count":0}]},"source":{"files":{"readmeSize":0,"testsSize":0,"hasChangelog":true}}},"evaluation":{"quality":{"carefulness":0.41000000000000003,"tests":0,"health":1,"branding":0},"popularity":{"communityInterest":15,"downloadsCount":38.666666666666664,"downloadsAcceleration":-0.7568683409436834,"dependentsCount":0},"maintenance":{"releasesFrequency":0.28664383561643836,"commitsFrequency":0,"openIssues":1,"issuesDistribution":0.18012626262626275}},"score":{"final":0.2138254664007066,"detail":{"quality":0.4378770290145486,"popularity":0.04235753188983489,"maintenance":0.19324920438542803}}}