react-native-scan-barcode
Advanced tools
Comparing version 3.1.5 to 3.1.6
{ | ||
"_from": "react-native-scan-barcode", | ||
"_id": "react-native-scan-barcode@3.1.5", | ||
"_inBundle": false, | ||
"_integrity": "sha1-mc3E6JyqyKxtX9hE+2tyucRIWSg=", | ||
"_location": "/react-native-scan-barcode", | ||
"_phantomChildren": {}, | ||
"_requested": { | ||
"type": "tag", | ||
"registry": true, | ||
"raw": "react-native-scan-barcode", | ||
"name": "react-native-scan-barcode", | ||
"escapedName": "react-native-scan-barcode", | ||
"rawSpec": "", | ||
"saveSpec": null, | ||
"fetchSpec": "latest" | ||
}, | ||
"_requiredBy": [ | ||
"#USER", | ||
"/" | ||
], | ||
"_resolved": "https://registry.npmjs.org/react-native-scan-barcode/-/react-native-scan-barcode-3.1.5.tgz", | ||
"_shasum": "99cdc4e89caac8ac6d5fd844fb6b72b9c4485928", | ||
"_spec": "react-native-scan-barcode", | ||
"_where": "C:\\Users\\Mndco\\Desktop\\sh-app", | ||
"author": { | ||
"name": "Andreas Keller", | ||
"email": "andreas.keller@gmx.ch", | ||
"url": "http://www.andreaskeller.name" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/safaeean/react-native-scan-barcode/issues" | ||
}, | ||
"bundleDependencies": false, | ||
"deprecated": false, | ||
"description": "A barcode scanner component for react native", | ||
"homepage": "https://github.com/safaeean/react-native-scan-barcode#readme", | ||
"keywords": [ | ||
@@ -53,6 +17,6 @@ "react", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/safaeean/react-native-scan-barcode.git" | ||
"type": "git", | ||
"url": "https://github.com/safaeean/react-native-scan-barcode.git" | ||
}, | ||
"version": "3.1.5" | ||
"version": "3.1.6" | ||
} |
@@ -71,5 +71,5 @@ # react-native-scan-barcode | ||
} from 'react-native'; | ||
import scan-barcode from 'react-native-scan-barcode'; | ||
import BarcodeScanner from 'react-native-scan-barcode'; | ||
class scan-barcodeApp extends Component { | ||
class ScanBarcodeApp extends Component { | ||
constructor(props) { | ||
@@ -91,3 +91,3 @@ super(props); | ||
return ( | ||
<scan-barcode | ||
<BarcodeScanner | ||
onBarCodeRead={this.barcodeReceived} | ||
@@ -102,3 +102,3 @@ style={{ flex: 1 }} | ||
AppRegistry.registerComponent('scan-barcodeApp', () => scan-barcodeApp); | ||
AppRegistry.registerComponent('ScanBarcodeApp', () => ScanBarcodeApp); | ||
``` | ||
@@ -172,2 +172,7 @@ | ||
All color values are strings (e.g. '#eee' or 'rgba(0, 0, 0, 0.3)', default: 'white'). `viewFinderHeight` (default: 200), `viewFinderWidth` (default: 200), `viewFinderBorderWidth` (default: 2)and `viewFinderBorderLength` (default: 30) are numbers, `viewFinderShowLoadingIndicator` is either `true` or `false` (default) and shows a ActivityIndicator centered in the viewfinder. | ||
All color values are strings (e.g. '#eee' or 'rgba(0, 0, 0, 0.3)', default: 'white'). `viewFinderHeight` (default: 200), `viewFinderWidth` (default: 200), `viewFinderBorderWidth` (default: 2)and `viewFinderBorderLength` (default: 30) are numbers, `viewFinderShowLoadingIndicator` is either `true` or `false` (default) and shows a ActivityIndicator centered in the viewfinder. | ||
http://yut.ir | ||
http://mndco.ir | ||
http://vistablog.ir |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25798667
1436
175
2
1