{"id":13630220,"url":"https://github.com/moaazsidat/react-native-qrcode-scanner","last_synced_at":"2025-09-29T00:32:36.470Z","repository":{"id":38360120,"uuid":"66314657","full_name":"moaazsidat/react-native-qrcode-scanner","owner":"moaazsidat","description":"A QR code scanner component for React Native.","archived":true,"fork":false,"pushed_at":"2023-05-12T11:16:38.000Z","size":476,"stargazers_count":2035,"open_issues_count":123,"forks_count":521,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-09-11T00:28:43.252Z","etag":null,"topics":["barcode","camera","qrcode","qrcode-scanner","react-native"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moaazsidat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-08-22T23:07:17.000Z","updated_at":"2025-09-06T12:49:27.000Z","dependencies_parsed_at":"2023-02-14T12:17:06.716Z","dependency_job_id":null,"html_url":"https://github.com/moaazsidat/react-native-qrcode-scanner","commit_stats":{"total_commits":248,"total_committers":72,"mean_commits":"3.4444444444444446","dds":0.5362903225806452,"last_synced_commit":"7b2fa82111ee1af66e40dd3d69dd7b11f440e859"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/moaazsidat/react-native-qrcode-scanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moaazsidat%2Freact-native-qrcode-scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moaazsidat%2Freact-native-qrcode-scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moaazsidat%2Freact-native-qrcode-scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moaazsidat%2Freact-native-qrcode-scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moaazsidat","download_url":"https://codeload.github.com/moaazsidat/react-native-qrcode-scanner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moaazsidat%2Freact-native-qrcode-scanner/sbom","scorecard":{"id":655176,"data":{"date":"2025-08-11","repo":{"name":"github.com/moaazsidat/react-native-qrcode-scanner","commit":"7b2fa82111ee1af66e40dd3d69dd7b11f440e859"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":4,"reason":"Found 10/22 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/moaazsidat/react-native-qrcode-scanner/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/moaazsidat/react-native-qrcode-scanner/release.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"38 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-rq8g-5pc5-wrhr","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-44pw-h2cw-w3vq","Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-4g88-fppr-53pp","Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-662x-fhqg-9p8v","Warn: Project is vulnerable to: GHSA-394c-5j6w-4xmx","Warn: Project is vulnerable to: GHSA-78cj-fxph-m83p","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T14:27:49.905Z","repository_id":38360120,"created_at":"2025-08-21T14:27:49.905Z","updated_at":"2025-08-21T14:27:49.905Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274589482,"owners_count":25312971,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","camera","qrcode","qrcode-scanner","react-native"],"created_at":"2024-08-01T22:01:34.526Z","updated_at":"2025-09-29T00:32:36.145Z","avatar_url":"https://github.com/moaazsidat.png","language":"JavaScript","funding_links":["https://opencollective.com/react-native-qrcode-scanner"],"categories":["JavaScript","Libraries"],"sub_categories":["React Native"],"readme":"# react-native-qrcode-scanner\n\nThis library was originally written as a plug and play QRCode scanner for React Native without a ton of setup. Since then, the ecosystem has evolved quite a bit, resulting in newer libraries requiring less setup and reducing the need for this project to exist. As such this library has been archived. \n\nThe recommendation of most developers that were previously using this library is to consider using [react-native-vision-camera](https://github.com/mrousavy/react-native-vision-camera) with its plugin [vision-camera-code-scanner](https://github.com/rodgomesc/vision-camera-code-scanner)\n\n## Overview\n\n[![npm version](https://badge.fury.io/js/react-native-qrcode-scanner.svg)](https://badge.fury.io/js/react-native-qrcode-scanner) [![Backers on Open Collective](https://opencollective.com/react-native-qrcode-scanner/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/react-native-qrcode-scanner/sponsors/badge.svg)](#sponsors)\n\nA QR code scanner component for React Native built on top of [react-native-camera by Lochlan Wansbrough](https://github.com/lwansbrough/react-native-camera)\n\nPlease note, this will also function as a generic barcode scanner by the virtue of the above module supporting barcode scanning, however, this module was initially built as a QR code scanner.\n\nThis module was originally written because the author couldn't find a module that could be simply plugged into a project without requiring too much setup.\n\nLooking for active contributors. See [Contribution guide](https://github.com/moaazsidat/react-native-qrcode-scanner/blob/master/CONTRIBUTION.md) for more details.\n\n_**Please note**: Most of the support on debugging new issues, especially with Android, relies on the open source community. The project is on the look out for active contributors who want to maintain this library more rigorously._\n\n## Getting started\n\n### Requirements\n\n#### iOS 10\n\nWith iOS 10 and higher you need to add the \"Privacy - Camera Usage Description\" key to the info.plist of your project. This should be found in 'your_project/ios/your_project/Info.plist'. Add the following code:\n\n```\n\u003ckey\u003eNSCameraUsageDescription\u003c/key\u003e\n\u003cstring\u003eYour message to user when the camera is accessed for the first time\u003c/string\u003e\n\n\u003c!-- Include this only if you are planning to use the camera roll --\u003e\n\u003ckey\u003eNSPhotoLibraryUsageDescription\u003c/key\u003e\n\u003cstring\u003eYour message to user when the photo library is accessed for the first time\u003c/string\u003e\n\n\u003c!-- Include this only if you are planning to use the microphone for video recording --\u003e\n\u003ckey\u003eNSMicrophoneUsageDescription\u003c/key\u003e\n\u003cstring\u003eYour message to user when the microsphone is accessed for the first time\u003c/string\u003e\n```\n\n#### Android 7\n\nWith Android 7 and higher you need to add the \"Vibration\" permission to your AndroidManifest.xml of your project. This should be found in your `android/app/src/main/AndroidManifest.xml` Add the following:\n\n```\n\u003cuses-permission android:name=\"android.permission.VIBRATE\"/\u003e\n```\nYou need to add the \"missingDimensionStrategy\" config for the 'react-native-camera' setting  to 'general', this should be found in your `android/app/build.gradle` add the following:\n```\nandroid {\n  ...\n  defaultConfig {\n    ...\n    missingDimensionStrategy 'react-native-camera', 'general' \u003c-- insert this line\n  }\n}\n```\n\n#### react-native-camera\n\n[react-native-camera](https://github.com/lwansbrough/react-native-camera) is a dependency for this package that you'll need to add to your project. To install, run the following commands:\n\n1. `npm install react-native-camera --save`\n2. `react-native link react-native-camera`\n\n#### New Version/Migration\n\nIf using an older version of this module with RCTCamera you will need to follow the docs [here](https://github.com/react-native-community/react-native-camera/blob/master/docs/migration.md) to move from the old RCTCamera to the new RNCamera. You will then need to install it as above.\n\n**Versions of this library \u003e 0.0.30 will not support react-native-camera versions less than 1.0.0.**\n\n### To install and start using react-native-qrcode-scanner:\n\n1. `npm install react-native-qrcode-scanner --save`\n2. `react-native link react-native-qrcode-scanner`\n\n#### react-native-permissions\n\nYou will also need to install react-native-permissions to handle camera related permissions\n\n1. `npm install react-native-permissions --save`\n2. `react-native link react-native-permissions`\n\nFor iOS, as part of the [react-native-permissions setup](https://github.com/react-native-community/react-native-permissions#setup) you will need to add the following code to your `Podfile`\n\n```\npermissions_path = '../node_modules/react-native-permissions/ios'\npod 'Permission-Camera', :path =\u003e \"#{permissions_path}/Camera\"\n```\n\nYou may also need to reset your simulator data after adding those permissions `Device -\u003e Erase All Content and Settings...`\n\n## Usage\n\nTo use react-native-qrcode-scanner, `import` the `react-native-qrcode-scanner` module and use the `\u003cQRCodeScanner /\u003e` tag. More usage examples can be seen under the `examples/` folder.\n\nHere is an example of basic usage:\n\n```js\n'use strict';\n\nimport React, { Component } from 'react';\n\nimport {\n  AppRegistry,\n  StyleSheet,\n  Text,\n  TouchableOpacity,\n  Linking\n} from 'react-native';\n\nimport QRCodeScanner from 'react-native-qrcode-scanner';\nimport { RNCamera } from 'react-native-camera';\n\nclass ScanScreen extends Component {\n  onSuccess = e =\u003e {\n    Linking.openURL(e.data).catch(err =\u003e\n      console.error('An error occured', err)\n    );\n  };\n\n  render() {\n    return (\n      \u003cQRCodeScanner\n        onRead={this.onSuccess}\n        flashMode={RNCamera.Constants.FlashMode.torch}\n        topContent={\n          \u003cText style={styles.centerText}\u003e\n            Go to{' '}\n            \u003cText style={styles.textBold}\u003ewikipedia.org/wiki/QR_code\u003c/Text\u003e on\n            your computer and scan the QR code.\n          \u003c/Text\u003e\n        }\n        bottomContent={\n          \u003cTouchableOpacity style={styles.buttonTouchable}\u003e\n            \u003cText style={styles.buttonText}\u003eOK. Got it!\u003c/Text\u003e\n          \u003c/TouchableOpacity\u003e\n        }\n      /\u003e\n    );\n  }\n}\n\nconst styles = StyleSheet.create({\n  centerText: {\n    flex: 1,\n    fontSize: 18,\n    padding: 32,\n    color: '#777'\n  },\n  textBold: {\n    fontWeight: '500',\n    color: '#000'\n  },\n  buttonText: {\n    fontSize: 21,\n    color: 'rgb(0,122,255)'\n  },\n  buttonTouchable: {\n    padding: 16\n  }\n});\n\nAppRegistry.registerComponent('default', () =\u003e ScanScreen);\n```\n\nScreenshot of the above:\n\n![screenshot 2017-05-02 15 06 33](https://cloud.githubusercontent.com/assets/5963656/25634528/fae4290a-2f48-11e7-899d-4c91ea079678.png)\n\nPlease open an issue if something doesn't work or is not clear enough.\n\n## Methods\n\n#### `reactivate()`\n\nCall this method to programmatically enabling scanning again. Use this by attaching a `ref` like so `\u003cQRCodeScanner ref={(node) =\u003e { this.scanner = node }}\u003e` and calling `this.scanner.reactivate()`\n\n## Props\n\n#### `onRead` (required)\n\npropType: `func.isRequired`\ndefault: `(e) =\u003e (console.log('QR code scanned!', e))`\n\nWill call this specified method when a QR code or a barcode is detected in the camera's view passing in the event emitted upon reading the code.\n\n#### `fadeIn`\n\npropType: `bool`\ndefault: `true`\n\nWhen set to `true` this ensures that the camera view fades in after the initial load up instead of being rendered immediately.\nSet this to false to prevent the animated fade in of the camera view.\n\n#### `reactivate`\n\npropType: `bool`\ndefault: `false`\n\nWhen set to `false`, when a QR code is scanned, the `QRCodeScanner` will not scan another code until it is re-rendered.\nWhen set to `true` this will reactivate the scanning ability of the component.\n\n#### `reactivateTimeout`\n\npropType: `number`\ndefault: `0`\n\nUse this to configure how long it should take (in milliseconds) before the `QRCodeScanner` should reactivate.\n\n\n#### `cameraTimeout`\npropType: `number`\ndefault: `0`\n\nUse this to configure how long it should take (in milliseconds) before the `QRCodeScanner` should be displayed. After that the camera will be inactive and press the view to reactivate it.\nThe `0` default means it's always on.\n\n#### `cameraTimeoutView`\n\npropType: `element`\n\nPass an RN element/component to show it when the camera is inactive for `cameraTimeout` (another prop) milliseconds. If the `cameraTimeout` is 0 or not specified, this prop will never be used.\n\n#### `flashMode`\n\npropType: `RNCamera.Constants.FlashMode`\ndefault: `RNCamera.Constants.FlashMode.auto`\n\n**Flash modes**\n\nFYI: [react-native-camera/flashMode](https://github.com/react-native-community/react-native-camera/blob/master/docs/RNCamera.md#flashmode)\n\n- `RNCamera.Constants.FlashMode.off` turns it off.\n- `RNCamera.Constants.FlashMode.on` means camera will use flash in all photos taken.\n- `RNCamera.Constants.FlashMode.auto` leaves your phone to decide when to use flash when taking photos, based on the lightning conditions that the camera observes.\n- `RNCamera.Constants.FlashMode.torch` turns on torch mode, meaning the flash light will be turned on all the time (even before taking photo) just like a flashlight.\n\n\n#### `topContent`\n\npropType: `oneOfType([ PropTypes.element, PropTypes.string, ])`\n\nUse this to render any additional content at the top of the camera view.\n\n#### `bottomContent`\n\npropType: `oneOfType([ PropTypes.element, PropTypes.string, ])`\n\nUse this to render any additional content at the bottom of the camera view.\n\n#### `containerStyle`\n\npropType: `any`\n\nUse this to pass styling for the outermost container. Useful for adding margin/padding to account for navigation bar.\n\n#### `cameraStyle`\n\npropType: `any`\n\nUse this to pass or overwrite styling for the camera window rendered.\n\n#### `cameraContainerStyle`\n\npropType: `any`\n\nUse this to pass or overwrite styling for the camera container (view) window rendered.\n\n#### `topViewStyle`\n\npropType: `any`\n\nUse this to pass or overwrite styling for the `\u003cView\u003e` that contains the `topContent` prop.\n\n#### `bottomViewStyle`\n\npropType: `any`\n\nUse this to pass or overwrite styling for the `\u003cView\u003e` that contains the `bottomContent` prop.\n\n#### `showMarker`\n\npropType: `boolean`\ndefault: `false`\n\nUse this to show marker on the camera scanning window.\n\n#### `customMarker`\n\npropType: `element`\n\nPass a RN element/component to use it as a custom marker.\n\n#### `markerStyle`\n\npropType: `any`\n\nUse this to add custom styling to the default marker.\n\n#### `notAuthorizedView`\n\npropType: `element`\n\nPass a RN element/component to use it when no permissions given to the camera (iOS only).\n\n#### `cameraType`\n\npropType: `oneOf(['front', 'back'])`\ndefault: `'back'`\n\nUse this to control which camera to use for scanning QR codes, defaults to rear camera.\n\n#### `checkAndroid6Permissions`\n\npropType: `bool`\ndefault: `false`\n\nUse this to enable permission checking on Android 6\n\n#### `permissionDialogTitle`\n\npropType: `string`\ndefault: `'Info'`\n\nUse this to set permission dialog title (Android only).\n\n#### `permissionDialogMessage`\n\npropType: `string`\ndefault: `'Need camera permission'`\n\nUse this to set permission dialog message (Android only).\n\n#### `buttonPositive`\n\npropType: `string`\ndefault: `'OK'`\n\nUse this to set permission dialog button text (Android only).\n\n#### `cameraProps`\n\npropType: `object`\n\nProperties to be passed to the `Camera` component.\n\n\u003c!--## Contriubting--\u003e\n\u003c!--See [CONTRIBUTING.md](CONTRIBUTING.md)--\u003e\n\n## Contributors\n\nThis project exists thanks to all the people who contribute. We're immensely gratetful to everyone who has taken the time to submit pull requests, spent time debugging or filing issues.\n\n\u003ca href=\"https://github.com/moaazsidat/react-native-qrcode-scanner/graphs/contributors\"\u003e\u003cimg src=\"https://opencollective.com/react-native-qrcode-scanner/contributors.svg?width=890\u0026button=false\" /\u003e\u003c/a\u003e\n\n## Backers \u0026 Sponsors\n\nMost of the core contributors maintain this library, add new features, and review PRs in their free time. If you're using react-native-qrcode-scanner in a commercial app, or have found it to be valuable, [please considering backing or sponsoring the project on OpenCollective](https://opencollective.com/react-native-qrcode-scanner). Please note that you do not need to give any amount of money in order to use this library.\n\nThis is how the donations will be used:\n\n- Allow the core contributors to work on react-native-qrcode-scanner\n- Thank contributors if they invested a large amount of time in contributing\n- Setup a contributor bounty program to encourage participation\n- Fees for money handling\n\nThank you to all our backers \u0026 sponsors! 🙏\n\n[[Become a backer](https://opencollective.com/react-native-qrcode-scanner#backer)] [[Become a sponsor](https://opencollective.com/react-native-qrcode-scanner#sponsor)]\n\n\u003ca href=\"https://opencollective.com/react-native-qrcode-scanner#backers\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/react-native-qrcode-scanner/backers.svg?width=890\"\u003e\u003c/a\u003e\n\nSupport this project by becoming a sponsor. Your logo will show up here with a link to your website.\n\n\u003ca href=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/0/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/0/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/1/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/1/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/2/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/2/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/3/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/3/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/4/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/4/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/5/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/5/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/6/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/6/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/7/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/7/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/8/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/8/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/9/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/react-native-qrcode-scanner/sponsor/9/avatar.svg\"\u003e\u003c/a\u003e\n\n## License\n\nSee [LICENSE.md](LICENSE.md)\n\n## Thanks\n\nThanks to [Lochlan Wansbrough](https://github.com/lwansbrough) for the [react-native-camera module](https://github.com/lwansbrough/react-native-camera) which provided me with an awesome example of how to set up this module.\n\nThis QR code scanner was inspired by the QR code scanner within [Whatsapp](https://www.whatsapp.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoaazsidat%2Freact-native-qrcode-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoaazsidat%2Freact-native-qrcode-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoaazsidat%2Freact-native-qrcode-scanner/lists"}