Giter Site home page Giter Site logo

react-native-barcode-scanner-universal's People

Contributors

cpunion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-native-barcode-scanner-universal's Issues

Close on BarCodeRead

Hi,

Im trying to open an alert when I scan a code, but the scanner keeps running, making various alerts

heres what I have..

<View style={{backgroundColor:'white',flex:1, justifyContent: 'center'}}>
    <View style={{width: window.width, height: window.height, alignItems: 'center'}}>
        <BarcodeScanner
              onBarCodeRead={(code) asd(code}
              style={styles.camera}>
              {scanArea}
         </BarcodeScanner>
    </View>
</View>

function asd(c) {

  console.log('asdsadsa');
  if (Platform.OS === 'ios') {
    AlertIOS.alert(
     'Scan Complete',
     c.data,
    );
  }
}

any fix? thanks

app crashes in ios version 9.3.2

barcode scanner is crashes in ios version:9.3.2 using react-native version:0.25.1 and react-native-barcode-scanner-universal version:1.0.5 may i know that what is the problem

Camera not opening up

Tested your example project on RN 0.29 on genymotion and physical device.. but on both I only see a red rectangle along the view... camera is not opening up
screenshot 2016-07-11 11 36 56

iOS 10 kills the module

"Seems you're trying to access 'ReactNative.createClass' from the 'react-native' package. ...

getting error when run in android

hai when i try to run android devices in terminal it shows some error like this
screen shot 2016-04-20 at 11 55 18 am
even i installed react-native-camera
can you please give me suggestions that hoe to solve it
please respond for it

Help: cropping the view on android w/o compressing the view

Title pretty much says it all.. I do this:

<View style={{backgroundColor:'white',flex:1, justifyContent: 'center'}}>
            <View style={{width: window.width, height: 400}}>
              <BarcodeScanner
                onBarCodeRead={(code) => console.log(code)}
                style={styles.container}>
              </BarcodeScanner>
            </View>
          </View>

But the camera is compressed, which I obviously dont want.

thanks for help

android 7.0 above the full screen will become blurred

android 7.0 above the full screen will become blurred ,but android 6 following full screen no problem
The code is as follows:

let scanArea = null
    if (Platform.OS === 'ios') {
      scanArea = (
        <View style={styles.rectangleContainer}>
          <View style={styles.rectangle} />
        </View>
      )
    }

<BarcodeScanner
          onBarCodeRead={(code) => this.onBarCodeRead(code)}
          style={styles.camera}
          torchMode={this.state.torchMode}
          cameraType={this.state.cameraType}
          defaultOnFocusComponent={true}
          showViewFinder={false}
          viewFinderDrawLaser={false}
          viewFinderShowLoadingIndicator={false}
          >
          {scanArea}
   </BarcodeScanner>

camera: {
    flex: 1,
    backgroundColor:'rgba(0, 0, 0, 0.3)'
  },

扫描界面

到扫描界面后只出现个框,没有调用到摄像头。也不报错

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.