-
Notifications
You must be signed in to change notification settings - Fork 117
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
Issue while creating EAN 13 barcode #17
Comments
I am facing the same issue with UPC barcode. |
@sukhdeep540 have you tried adding <Barcode value="..." format="EAN13" flat /> |
see bartgryszko/react-native-circular-progress#23, dionysiusmarquis answer on 1 Jun 2016: Add the ART lib, use flat, it will work! |
This is the code that worked:
|
This is still not fixed. |
Is there anyone implemented EAN-13 barcode builder by using this library? |
@emzarichab What error did you get? |
I accomplish to build EAN-13 barcode using this library. This code worked: To fix the ART lib missing on iOS: |
and Android? |
@thaiphamvan What do you do for RN > 60 that is running Expo? |
I have rewrote the library to use svg instead of ART, took me like 5-10 minutes to do so :) It makes internally svg code already. Basically you need two essential things:
PS: Check this pull request: 8927951 |
I solved it with webview. |
export default class BarCode extends React.Component<BarCodeProps, BarCodeState> { |
tried this code but still not showing in EAN13 format |
So basically this library can't render EAN13 without the That's right and have been confirmed by him at: |
After investigating the issue a little bit: I found out where's the problem on the code: react-native-barcode-builder/index.js Line 78 in 8705acf
This assumes that always the If you do not provide the Clearly in this case you can't make |
Every time when i choose the format EAN 13, I got the error "undefined is not an object(evaluating binary.length)"
The text was updated successfully, but these errors were encountered: