-
Notifications
You must be signed in to change notification settings - Fork 145
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
Use @noble/hashes #1188
Use @noble/hashes #1188
Conversation
Sorry about the late reply, I'm afk. Will try it out within the next week and let you know. |
The shims won’t do the trick at all. The issue is that it cannot polyfill stuff like 1n + 2n. In this case it is also a 3rd party that introduces it, so cannot use the Google polyfill. But anyway, let‘s see. I think iOS has support, but android with JSC is always lagging. So the current approach here is to detect if |
@Tbaut https://blog.logrocket.com/whats-new-in-react-native-0-65/ - it lists |
Following the approach with fallbacks when |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This requires BigInt ... so we are slightly held hostage by older versions of RN.
@Tbaut Do you know the state of
BigInt
support on RN? i.e. do these work in iOs/Android?Trying to figure out what to do with this, i.e.
I have been searching and it seem that iOs is probably less problematic than Android (which may be on a very old version of JSC). Then again, the info I could find has been very scarce.