New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RNCamera.Constants.BarCodeType.upce returns undefined #2086

Closed
michalkow opened this Issue Feb 1, 2019 · 2 comments

Comments

Projects
None yet
3 participants
@michalkow
Copy link

michalkow commented Feb 1, 2019

Bug Report

To Do First

  • Did you try latest release?
  • Did you try master?
  • Did you look for existing matching issues?

Related Modules
RNCamera

Platforms
Android
iOS

Versions

  • Android: 26
  • iOS: 12.1
  • react-native-camera: 1.10.0
  • react-native: 0.57.8
  • react: 16.6.3

Description/Current Behaviour
RNCamera.Constants.BarCodeType.upce returns undefined

Expected Behaviour
RNCamera.Constants.BarCodeType.upce returns 'UPC_E'

Steps to Reproduce
console.log(RNCamera.Constants.BarCodeType.upce)

Love react-native-camera? Please consider supporting our collective: 👉 https://opencollective.com/react-native-camera/donate
Want this issue to be resolved faster? Please consider adding a bounty to it https://issuehunt.io/repos/33218414

@SimonErm

This comment has been minimized.

Copy link
Collaborator

SimonErm commented Feb 15, 2019

Just a typo, should be upc_e instead. I am going to do a PR this weekend.

@n1ru4l

This comment has been minimized.

Copy link
Member

n1ru4l commented Feb 15, 2019

🎉 This issue has been resolved in version 1.11.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@n1ru4l n1ru4l added the released label Feb 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment