We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
function ByteData (data) { this.mode = Mode.BYTE if (typeof (data) === 'string') { this.data = new TextEncoder().encode(data) } else { this.data = new Uint8Array(data) } }
This js code can't work in react-native hermes engine. data = encodeUtf8(data) work great.
data = encodeUtf8(data)
The text was updated successfully, but these errors were encountered:
This is my fix pull request. #371
Sorry, something went wrong.
Hermes supports TextEncoder since RN0.74 facebook/hermes#948 (comment)
TextEncoder
Yes, but RN0.74 boost in April 22, 2024.So many react native app will get error when use node-qrcode.
No branches or pull requests
This js code can't work in react-native hermes engine.
data = encodeUtf8(data)
work great.The text was updated successfully, but these errors were encountered: