React Native - Return to dapp after approving session #3134
-
Hi there, Is there a way using the web3wallet package in React Native, to redirect back to the dapp in the browser, after approving a session proposal or session request? So on mobile, the user is using visiting a dapp in their browser, taps connect with wc, deeplinks into app, approves the session and gets redirected back to the dapp. How can the redirect happen? For iOS it looks like there's a 'goBack' method, but doesn't seem to exist in the web3wallet package. More info here: https://docs.walletconnect.com/2.0/ios/router/installation Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
hey @CallbackDan 👋 we don't have a tool to do that in react native yet, but some wallets use a lib called |
Beta Was this translation helpful? Give feedback.
-
@CallbackDan I also have face this issue can you solve this? |
Beta Was this translation helpful? Give feedback.
hey @CallbackDan 👋 we don't have a tool to do that in react native yet, but some wallets use a lib called
react-native-minimizer
to do that. It's not the best tool, as you'll probably have to patch things to make it work. You can check Rainbow repo, as they use it