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
Hi All, I'm trying to generate keys, but I got error Property 'TextDecoder' doesn't exists.
Property 'TextDecoder' doesn't exists
The code is:
const keys = await RSA.generate(4096);
The text was updated successfully, but these errors were encountered:
I'm currently with the same problem with react native 0.75.4 and old achitecture
Sorry, something went wrong.
this happens only with the version 2.5.0, I tried with 2.4.4 and it works
I've worked around this by explicitly installing the "text-encoding" polyfill.
import 'text-encoding' in the file where you're using RSA and you're good to go.
import 'text-encoding'
The problem will also go away if you update expo to SDK 52, as this will use the latest Hermes engine which fixed this (assuming you're using expo).
No branches or pull requests
Hi All,
I'm trying to generate keys, but I got error
Property 'TextDecoder' doesn't exists
.The code is:
The text was updated successfully, but these errors were encountered: