{"repo":"WebsiteBeaver/react-native-document-scanner-plugin","free":true,"listed":false,"github":"https://github.com/WebsiteBeaver/react-native-document-scanner-plugin","clone":"git clone https://github.com/WebsiteBeaver/react-native-document-scanner-plugin.git","description":"A React Native document scanner plugin for Android and iOS","language":"Kotlin","stars":457,"topics":["react-native","document-scanner"],"license":"MIT","category":"mobile-apps","readme_excerpt":"React Native Document Scanner This is a React Native plugin that lets you scan documents using Android and iOS. You can use it to create apps that let users scan notes, homework, business cards, receipts, or anything with a rectangular shape. iOS Android -------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------ Install After installing the plugin, you need to follow the steps below iOS 1. iOS requires the following usage description be added and filled out for your app in Info.plist : - NSCameraUsageDescription ( Privacy - Camera Usage Description ) 2. Install pods by running Android Note: You don't need to prompt the user to accept camera permissions for this plugin to work unless you're using another plugin that requires the user to accept camera permissions. See Android Camera Permissions. Examples Basic Example Limit Number of Scans Basic Example Here's what this example looks like with several items Limit Number of Scans You can limit the number of scans. For example if your app lets a user scan a business card you might want them to only capture the front and back. In this case you can set maxNumDocuments to 2. This only works on Android. Documentation scanDocument(...) Interfaces Enums scanDocument(...) Opens the camera, and starts the document scan Param Type ------------- ------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/WebsiteBeaver","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/WebsiteBeaver/react-native-document-scanner-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}