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

Bug: [ReactNative/Android] Calling eth_requestAccounts returns a User rejected the request error #255

Open
iketw opened this issue Sep 19, 2023 · 0 comments
Labels
type: bug Something isn't working

Comments

@iketw
Copy link

iketw commented Sep 19, 2023

Describe the bug

Calling eth_requestAccounts returns an automatic User rejected the request

Steps

  1. Create a bare RN app
  2. Follow install steps here: https://coinbase.github.io/wallet-mobile-sdk/docs/client-sdk/rn-install
  3. Follow setup steps here: https://coinbase.github.io/wallet-mobile-sdk/docs/client-sdk/rn-setup
  4. Try to establish a connection: https://coinbase.github.io/wallet-mobile-sdk/docs/client-sdk/rn-establishing-a-connection

Automatically returns User rejected the request error.

I also tested the react-native/client/example in your repo.

Expected behavior

The coinbase wallet app opens and shows the connection dialog

Version

"@coinbase/wallet-mobile-sdk": "^1.0.7",

Additional info

"expo": "^48.0.0",
"react": "18.2.0",
"react-native": "0.71.8",

Everything works as expected on iOS which is using an older version 28.57.10

Desktop

  • Android
  • Coinbase Wallet version: 28.60.0

Smartphone

  • Samsung Galaxy S21 with Android 13
@iketw iketw added the type: bug Something isn't working label Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant