Skip to content

[bug]: Wallet Modal Fails on First Attempt After Disconnecting, Works on Second Try #306

@alpeeff

Description

@alpeeff

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requestedstalledThis issue has not had recent interaction or activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions