optimal sign-in strategy for dapps with iOS mobile browser #536
Unanswered
intergalacticspacehighway
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After having seen issues like #521 with iOS browser <-> wallet app redirection, I want to start a discussion of what could be the optimal sign-in strategy for dapps on iOS browser.
Sign-in steps
Approach 1
Approach 2
signPersonalMessage
is more like an event instead of effect.Issues with above approaches
signPersonalMessage
call.signPersonalMessage
inuseEffect
.RPReplay_Final1656072509.1.MP4
TradeOff
RPReplay_Final1656072787.1.MP4
Possible solutions
Approach 2
having an imperative API but I still think iOS won't consider it to be a user action triggered redirection.Related bugs - WalletConnect/walletconnect-monorepo#1165, #522
Does anyone have any workarounds to solve this?
Beta Was this translation helpful? Give feedback.
All reactions