Phantom Wallet Redirect Issue with Custom Chain Selection (Angular + Reown/AppKit) #6919
Unanswered
akanani-web3
asked this question in
Developer Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m using reown/appkit with my Angular dApp and have implemented a custom chain selection modal (SOL/ETH) since the embedded chain selection from Reown doesn’t fit my use case.
Here’s the issue:
On mobile browsers, when a user clicks Connect Wallet, my custom flow opens.
The user selects a chain → selects Phantom.
By default, this triggers a redirect to Phantom’s in-app browser.
When this happens, my entire session refreshes, forcing the user to go through the chain selection process again.
Question:
Is there any way to:
Redirect to the Phantom in-app browser with a different URL, or
Append query params to the Phantom redirect URL so I can preserve session state?
Any guidance or workaround would be hugely appreciated!
Thanks,
Aryan
[email protected]
Beta Was this translation helpful? Give feedback.
All reactions