Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

[Android] PDF417 cannot be read when barcode is parallel to the phone screen #599

Closed
bosung90 opened this issue Feb 14, 2017 · 6 comments
Closed

Comments

@bosung90
Copy link

bosung90 commented Feb 14, 2017

Steps to reproduce

  1. react-native init AppName
  2. npm install react-native-camera@https://github.com/lwansbrough/react-native-camera.git --save
  3. react-native link react-native-camera
  4. Add onBarCodeRead and barCodeTypes to Camera as props
onBarCodeRead={(data) => {
                alert(data.data)
              }}
              barCodeTypes={['pdf417']}

Expected behaviour

PDF417 should be read successfully regardless of rather phone is parallel or perpendicular to the barcode

Actual behaviour

PDF417 barcode is only successfully read when the barcode is perpendicular to the phone.

Environment

  • Node.js version: 7.5.0
  • React Native version: 0.41.2
  • React Native platform + platform version: Android 6.0.1

react-native-camera

Version: master 65f7903

in iOS reading barcode in any direction works fine

@bosung90 bosung90 changed the title PDF417 cannot be read when it is parallel to phone screen [Android] PDF417 cannot be read when barcode is parallel to the phone screen Feb 15, 2017
@semiautomatix
Copy link

semiautomatix commented Feb 23, 2017

I'm having a similar problem where the barcode isn't being read in landscape view - only portrait. I have to turn the device 90 degrees.

@lmichailian
Copy link

Any thoughts about this issue ?

@augusto-altman
Copy link

Facing the same issue here, any news on this?

@SimonErm
Copy link
Collaborator

Does this issue still occure with RNCamera?

@syadykin
Copy link
Collaborator

This might fix this issue: #1994

@sibelius
Copy link
Collaborator

test on master

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants