CRITICAL: web3modal.com iOS 15 breaks walletconnect (Metamask)
See original GitHub issueAfter upgrading to iOS 15 (coincidence?) there appears to be some kind of problem between web3modal
and bridge.walletconnect.org
(Metamask)
To reproduce:
- Go to wbe3modal.com
- Click connect
- Select WalletConnect
- Tap Metamask
- Approve Connection
- Browser crashes
The following is from the developer console in Safari
[Log] wallet connect (main.24d3029c.chunk.js, line 2)
[Log] wc:f5a2b5e0-01e3-4db7-981f-75a2b955df89@1?bridge=https%3A%2F%2Fbridge.walletconnect.org&key=d605eb3797f8017ea76222ea4a15d05994d47c682e702e9dacc27ee53ddafc15 (2.e7cb8767.chunk.js, line 2)
[Error] WebSocket connection to 'wss://bridge.walletconnect.org/' failed: The operation couldn’t be completed. (kNWErrorDomainPOSIX error 100 - Protocol error)
In my own reactjs app, I’m seeing this …
Unhandled Rejection (TypeError): undefined is not an object (evaluating '_walletconnect_environment__WEBPACK_IMPORTED_MODULE_0__["getSubtleCrypto"]().importKey')
(anonymous function)
src/lib/browser.ts:44
41 | export async function browserHmacSha256Sign(key, data) {
42 | const subtle = env.getSubtleCrypto();
43 | const cryptoKey = await browserImportKey(key, HMAC_BROWSER);
> 44 | const signature = await subtle.sign({
45 | length: HMAC_LENGTH,
46 | name: HMAC_BROWSER,
47 | }, cryptoKey, data);
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top Results From Across the Web
web3modal.com iOS 15 breaks walletconnect (Metamask) #334
Go to wbe3modal.com; Click connect; Select WalletConnect; Tap Metamask; Approve Connection; Browser crashes. The following is from the developer ...
Read more >Web3Modal
Web3Modal is an elegantly simple yet powerful library that helps you manage your multi-chain wallet ... Connect with MetaMask, Coinbase, and many more....
Read more >Recently Active 'wallet-connect' Questions - Stack Overflow
Purpose: To log in to Web3.0 using metamask in iOS, and to save login sessions to maintain repeated logins. Problem: The current login...
Read more >Celo Tutorials | Celo Documentation
With Web3modal, you can easily support injected providers like (Metamask, Brave Wallet, Dapper, Frame, Gnosis Safe, Tally, Web3 Browsers, etc) and WalletConnect ......
Read more >Ethereum - John Beatty
Rank Score
3 8.6 Steve Randy Waldman @interfluidity
13 8.4 Jeff Coleman | Jeff.eth @technocrypto
23 8.3 Joey Wilcke @JoeyWilcke. Grid Games Co‑Founder
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Have u resolved this ?
Update:
I’ve solved this by using
https
becausegetSubtleCrypto
returnsglobal.crypto.subtle
and in the insecure modehttp
, it’s undefined.I am facing the same error on IOS but on google chrome as well. After selecting metamask, it triggers the app to open but nothing happens after that