WalletConnect / web3modal-react-native

Web3Modal React-Native SDK
https://web3modal.com
Apache License 2.0
44 stars 14 forks source link

[bug]: Promise.allSettled and Promise.any is undefined #83

Closed nikitapilgrim closed 8 months ago

nikitapilgrim commented 8 months ago

Description

seems to be a hermes problem, but I think it's worth mentioning in the documentation

Web3Modal SDK version

1.0.0-alpha.13

Output of npx react-native info

System: OS: macOS 14.1 CPU: (8) arm64 Apple M1 Memory: 792.44 MB / 16.00 GB Shell: version: 3.6.1 path: /opt/homebrew/bin/fish Binaries: Node: version: 18.17.1 path: ~/.volta/tools/image/node/18.17.1/bin/node Yarn: version: 4.0.0-rc.48 path: ~/.volta/tools/image/yarn/4.0.0-rc.48/bin/yarn npm: version: 9.6.7 path: ~/.volta/tools/image/node/18.17.1/bin/npm Watchman: Not Found Managers: CocoaPods: version: 1.14.2 path: /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms:

Expo Version (if applies)

49.0.16

Steps to reproduce

*

Snack, code example, screenshot, or link to a repository

*

ignaciosantise commented 8 months ago

@nikitapilgrim could you share a public repository or a code sandbox with the reproducible issue?

nikitapilgrim commented 8 months ago

@nikitapilgrim could you share a public repository or a code sandbox with the reproducible issue?

https://github.com/WalletConnect/web3modal-react-native/tree/V1/apps/native have you tried running it with hermes?

ignaciosantise commented 8 months ago

@nikitapilgrim hermes is turned on by default in that project, and i didn't have the issue. Can you provide a public repo with the reproducible issue?

nikitapilgrim commented 8 months ago

I get it, the Sentry library patches the Promise global

MSohailMemon commented 6 months ago

@nikitapilgrim if Sentry library is patching then what could be the solution for this?