Skip to content
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

When using @walletconnect/client in react-native, an error occurs in approveSession #1083

Closed
jwoo9928 opened this issue May 26, 2022 · 2 comments
Labels

Comments

@jwoo9928
Copy link

jwoo9928 commented May 26, 2022

When using @walletconnect/client in react-native, an error occurs in approveSession in react-native

let connector = new WalletConnecter( { // Required uri: 'wc:551cf846-6edf-42a8-bdc9-ea3b3ea11f4f@1?bridge=https%3A%2F%2F7.bridge.walletconnect.org&key=e812a0ea9c887a5f6360e6cd61f56c2f56392934063c9645c1a92b69aa9c9c89', // Required clientMeta: { description: "WalletConnect Developer App", url: "https://walletconnect.org", icons: ["https://walletconnect.org/walletconnect-logo.png"], name: "WalletConnect", }, } ); // await connector.createSession(); if(!connector.session.connected) { let selectedAddresses : Array<string> = await new Promise((resolve, reject) => { approvalRequest.current = { resolve, reject }; }); console.log("selectedAddresses",selectedAddresses); await connector.approveSession({ accounts:selectedAddresses, chainId: 1 }) console.log("connector.session.connected",connector.session.connected); }

스크린샷 2022-05-26 오전 11 55 31

@jwoo9928 jwoo9928 added the type: bug Something isn't working label May 26, 2022
@jwoo9928 jwoo9928 closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2022
@jwoo9928 jwoo9928 reopened this May 26, 2022
@finessevanes
Copy link
Contributor

Is this still an issue?

@glitch-txs
Copy link
Member

I’m closing this issue because it has been inactive for a few months.

Please reopen if you still encounter this issue with the latest version :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants