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]: Wallet Modal Fails on First Attempt After Disconnecting, Works on Second Try #306

Open
alpeeff opened this issue Jan 20, 2025 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@alpeeff
Copy link

alpeeff commented Jan 20, 2025

Description

When I first time connect to wallet - everything works fine, but when I disconnect and open modal to connect and press on wallet - modal just closes without any reaction. Now I need to click connect button AppKitButton second time and press on wallet works.
Video is attached.

AppKit SDK version

"@reown/appkit-wagmi-react-native": "^1.1.1",

Output of npx react-native info

System:
OS: macOS 14.6
CPU: (8) arm64 Apple M3
Memory: 139.17 MB / 24.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.18.2 - ~/.nvm/versions/node/v18.18.2/bin/node
Yarn: Not Found
npm: 9.8.1 - ~/.nvm/versions/node/v18.18.2/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.16.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 24.0, iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0
Android SDK: Not Found
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2411.12071903
Xcode: 16.0/16A242d - /usr/bin/xcodebuild
Languages:
Java: 17.0.12 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.14 => 0.71.14
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Expo Version (if applies)

~48.0.21

Steps to reproduce

Place in your @reown/appkit-wagmi-react-native project <AppKitButton balance="show" />.

  1. Connect first time
  2. Disconnect from wallet
  3. Without reloading app try to connect again
  4. First time modal will close and will have no reaction
  5. Second time connect works fine

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

@alpeeff alpeeff added the bug Something isn't working label Jan 20, 2025
@alpeeff
Copy link
Author

alpeeff commented Jan 20, 2025

Screenrecorder-2025-01-20-23-44-44-904.1.mp4

@ignaciosantise
Copy link
Collaborator

hey @alpeeff can you share the code of your implementation? Or a sample project to repro the issue

@ignaciosantise ignaciosantise added the question Further information is requested label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants