Closed bluepuma77 closed 2 years ago
Hi Bluepuma, this question has been asked before and I received feedback from Pietro from Italy that he solved that issue.
Maybe this was helpful
https://github.com/facebook/react-native/issues/28492#issuecomment-824698934
It seems like react-native doesn't support the newer ECMA features and BigInt happens to be one of them. I haven't tried to use the lib with react-native but I will try and add some recipes/solutions in the README if I find any.
If you could share your findings, that would also be greatly welcomed. Thanks.
Someone find a solution for implementing with react-native??
Hi Alexduca, see above. The workaround here https://github.com/facebook/react-native/issues/28492#issuecomment-824698934 seemed to fix the issue. Maybe newer versions of React-Native have more recent ECMA-Script support. Eventually this would also fix the issue.
Hello @srutz !
I read all the topic but i didn't understand where i have to change because i didn't have a shim.js
file in my project.
Someone can help me please
I would like to use the eudgc library on mobile with React Native.
When I create a React Native app with eudgc integrated (example code: snack.expo.dev), I receive the error
Can’t find variable: BigInt
when the app is compiled.How to reproduce: I usually just scan the "Run on your device" QR code on the Expo website from within the Android Expo app, then the compilation process is started.
During problem research I found a comment on react-native GitHub:
And core-js states (all the way at the bottom):
Is there a way to get eudgc to run with React Native?