File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
BarcodeReaderSimpleSample Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ import BarcodeScanner from './BarcodeScanner';
66import { DynamsoftBarcodeReader } from 'dynamsoft-capture-vision-react-native' ;
77
88function HomeScreen ( { navigation} ) {
9- async ( ) => {
9+ ( async ( ) => {
1010 // Initialize the license so that you can use full feature of the Barcode Reader module.
1111 try {
1212 await DynamsoftBarcodeReader . initLicense ( 'DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9' ) ;
1313 } catch ( e ) {
1414 console . log ( e ) ;
1515 }
16- } ;
16+ } ) ( ) ;
1717
1818 return (
1919 < View style = { { flex : 1 , alignItems : 'center' , justifyContent : 'center' } } >
Original file line number Diff line number Diff line change 1212 "dependencies" : {
1313 "@react-navigation/native" : " ^6.0.10" ,
1414 "@react-navigation/native-stack" : " ^6.6.2" ,
15- "dynamsoft-capture-vision-react-native" : " ^1.1.1 " ,
15+ "dynamsoft-capture-vision-react-native" : " ^1.1.2 " ,
1616 "react" : " 17.0.2" ,
1717 "react-native" : " 0.65.0" ,
1818 "react-native-safe-area-context" : " ^4.2.5" ,
You can’t perform that action at this time.
0 commit comments