{"repo":"Expensify/react-native-qrcode-svg","free":true,"listed":false,"github":"https://github.com/Expensify/react-native-qrcode-svg","clone":"git clone https://github.com/Expensify/react-native-qrcode-svg.git","description":"A QR Code generator for React Native based on react-native-svg and node-qrcode.","language":"JavaScript","stars":1173,"topics":["svg","react-native","qrcode","node-qrcode"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-qrcode-svg A QR Code generator for React Native based on react-native-svg and javascript-qrcode. Discussion: https://discord.gg/RvFM97v Features Easily render QR code images Optionally embed a logotype Android iOS - - Installation Install dependency packages Or If you are using React Native 0.60.+ go to the folder your-project/ios and run pod install , and you're done. If not, use one of the following method to link. Link with react-native link If you are using React Native <= 0.59.X , link the native project: Examples Props Name Default Description ---------------- ------------ -------------- size 100 Size of rendered image in pixels value 'this is a QR code' String Value of the QR code. Can also accept an array of segments as defined in Manual mode. Ex. [{ data: 'ABCDEFG', mode: 'alphanumeric' }, { data: '0123456', mode: 'numeric' }, { data: [253,254,255], mode: 'byte' }] color 'black' Color of the QR code backgroundColor 'white' Color of the background enableLinearGradient false enables or disables linear gradient linearGradient ['rgb(255,0,0)','rgb(0,255,255)'] array of 2 rgb colors used to create the linear gradient gradientDirection [170,0,0,0] the direction of the linear gradient logo null Image source object. Ex. {uri: 'base64string'} or {require('pathToImage')} logoSize 20% of size Size of the imprinted logo. Bigger logo = less error correction in QR code logoBackgroundColor backgroundColor The logo gets a filled quadratic background with this color. Use","default_branch":null,"files":null,"tree":[],"storefront":"/r/Expensify","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Expensify/react-native-qrcode-svg/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."}