Closed julian-demox closed 4 months ago
According to the mobile team, the links should look something like: https://app.leo.app/browser?url=https://google.com?q=foobar
so we should pass in the current url as it as a uri parameter so the links opens in the wallet to that page. If the website is blacklisted, the mobile app should automatically handle redirecting to the correct page.
Adding some state handling + bringing in some context variables to make the modal auto redirect using the adapter url once the user hits get started. The workflow prior to this sees the user click "Select Wallet" -> modal appears -> "Get Started" then have to make an extra click once the "Connect" button appeared in place of the "Select wallet".
This currently just redirects to the
https://app.leo.app/
page which for mobile will open the home page and on chrome will prompt the user to download. On chrome, once the user downloads, the user will have to refresh and then when hitting "Select Wallet" again it will detect the Leo Wallet and the existing workflows take over from there.Next step is to update the deeplinking logic to detect mobile. We want to imbed a different deeplink than what we have right now, but it has to be conditional as the mobile deeplink breaks the chrome experience.