Open sk33z3r opened 2 years ago
I've just run into this again. It seems to be a timing thing and reliant on the mobile app closing itself after a certain period of time after the phone is locked. I'll try to confirm details with more attempts.
The actions were similar to the original repro, except at step 2 I wait a long amount of time instead of just enough to let the phone go to sleep.
Scenario:
OBSERVE: I'm not presented with the option to choose MetaMask or WalletConnect. It immediately shows a loading graphic and looks like it will display a QR code, but I never see the QR code. I need to refresh the page to then get presented with the MetaMask/WalletConnect choice and receive a QR code.
Ok, I think I just realized I've been misunderstanding where the issue actually occurs. Here's a new repro that seems to be the ticket:
This is when I need to go disconnect my wallet from the menu in the top-right of the web app, refresh the page, reopen my android wallet app, and then start the whole process from scratch to reconnect properly.
I need to go back to the drawing board on this one. I just had this occurrence after having manually disconnected my wallet for a while:
Once I refreshed and tried again it was OK.
Related to #167. I find myself needing to re-connect my wallet all the time because my phone will go to sleep and I have to refresh the stale connection in order to complete what I was trying to do.
At times, when I go to reconnect my wallet after it goes stale, I will not be presented with the QR code on the connected site to scan. I have to close out of the wallet on my phone, then refresh the connected site and try again for it to work.
I am working on nailing down a consistent repro and gif, but have been having troubles finding the right actions. I have had the issue occur twice to me today so far, and saw it several times over the past couple days when testing NFT minting and ENS stuff.
Below are the order of operations that I recall when the issues occurred, I will update as I figure out more. I'm not sure if this is an issue with the Loopring Wallet app, WalletConnect system, or the connected sites. I have had this occur to me on loopring.io, ens.domain, and OpenSea; and only with the Loopring Smart Wallet app. Using MetaMask doesn't show the issue, but I unfortunately do not have another wallet that uses WalletConnect to test with at the moment.
System:
Repro:
Expected: Modal changes and displays a QR code to complete the connection
Actual: Modal changes to a loading graphic and looks as though it is about to display a QR code, but never does