Infinite loading screen executing showUI
nicomanzato opened this issue ยท 4 comments
โ Prerequisites
- Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
- Are you running the latest SDK version?
- Are you reporting to the correct repository (
magic-sdk
)?
๐ Description
Hello! I'm building a wallet using expo and want to allow users to access the topup funcionality but when executing the showUI
method I get an infinite loading screen without an error. Below is a repo that reproduces my issue.
๐งฉ Steps to Reproduce
- Sign in with Google using the login button.
- Click on
Show UI
button
๐ค Expected behavior
Render the wallet widget (https://magic.link/docs/connect/features/wallet-widget) to access the fiat on ramp.
๐ฎ Actual behavior
There is a infinite loading screen never finishes loading.
๐ป Code Sample
https://github.com/nicomanzato/test-magic-link
Video
Simulator.Screen.Recording.-.iPhone.14.Pro.Max.-.2023-07-20.at.15.46.27.mp4
Hi @nicomanzato ,
Because you are using Solana this method will not work because the Wallet Widget only supports Ethereum, Optimism, and Polygon. You should have seen errors logged to console indicating the incompatibility.
Would you let me know if you are seeing these errors?
I've not seen those errors so far, are they supposed to appear when executing showUI
?
@nicomanzato the error should throw for the showUI
method and the connectWithUI
method. I am going to repro this in a demo app soon and report back with expected behavior.
Yup, never seen that error in either of those methods. Either way it's not going to work for a solana wallet so I've got my answer. I'll close this issue.
Thank you for your quick response!