web3modal icon indicating copy to clipboard operation
web3modal copied to clipboard

[feature] add some method to avoid reown from automatically connecting to previously connected network

Open kr-keshav-kk opened this issue 8 months ago • 7 comments

What problem does this new feature solve?

When the user is connected to some network and after page refresh we are trying to connect to some other network then the network change dialog box appears. (I am passing only one network in the networks array of init call)

Image

I want fresh connection to start if i am initializing

Describe the solution you'd like

Add a function, prop or anything.

kr-keshav-kk avatar Apr 08 '25 07:04 kr-keshav-kk

@tomiir @enesozturk can you guys take a look on this. This feature can solve major problem in our app

kr-keshav-kk avatar Apr 08 '25 07:04 kr-keshav-kk

Hi - After refresh which network are you trying to connect to? it seems that appkit does not support it and this is expected behaviour.

Sam-Newman avatar Apr 08 '25 10:04 Sam-Newman

@Sam-Newman can't it just remove everything from the local storage and start a new and fresh session (During the initialization)?? I want reown to forget last connection, so that this dialog box does not appear and a fresh new connection starts

kr-keshav-kk avatar Apr 08 '25 11:04 kr-keshav-kk

@Sam-Newman @tomiir @enesozturk

kr-keshav-kk avatar Apr 14 '25 05:04 kr-keshav-kk

Hey capturing this as a feature request.

@tomas.rawski Is there any workaround that you know of?

Sam-Newman avatar Apr 24 '25 10:04 Sam-Newman

some problem any solution ?

AswinKaruppiah avatar May 08 '25 03:05 AswinKaruppiah