question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

useSignMessage leads to deep link issue on mobile

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

Package Version

0.6.2

Current Behavior

In our web application, we requires users to sign a message in order to log in. On mobile, we’re seeing that prompting users to sign a message leads to the deep link issue described here where the browser will fail to deep link into the app. It would be great to have a similar hook to usePrepareSendTransaction for signing messages so that we can prepare any async work before users are prompted to sign.

Expected Behavior

A hook like usePrepareSignMessage that does any async work ahead of time

Steps To Reproduce

  1. Prompt user to connect any mobile wallet using WalletConnect
  2. Prompt user to sign message
  3. User gets redirected to a new web page rather than deep linked into the app

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:7
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jxomcommented, Aug 23, 2022
0reactions
melissafzhangcommented, Sep 17, 2022

Yup no problem! I figured out that the issue was specific to my device. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

A complete guide to mobile app deep linking | Adjust
Deep linking is a tricky topic, Adjust is here to help you. Take a look at our guide to learn about universal links,...
Read more >
Deep linking in 2022: Everything you need to know - AppsFlyer
In the context of mobile, deep linking describes the action of delivering ... If the user has the app — they are “deep...
Read more >
The Definitive Guide to Mobile Deep Linking - Neil Patel
They resolved this issue by using deep-linked mobile ads. These ads were targeted based on past user activity and displayed relevant ads in...
Read more >
Create Deep Links to App Content - Android Developers
To allow users to enter your app from links, you must add intent filters for the relevant activities in your app manifest. These...
Read more >
Best practices for implementing deep links - Google Ads Help
Deep links provide a more seamless user experience between your ads and th. ... and your bid is on “user entered event”, your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found