natrium_wallet_flutter icon indicating copy to clipboard operation
natrium_wallet_flutter copied to clipboard

Amount not supported in deep link on Android

Open alecrios opened this issue 4 years ago • 2 comments

Steps to reproduce:

  1. Open any browser on an Android device
  2. Go to https://paynano.me/nano_3jmjgk57hbtfkzoao4etwfizsup5xeqkemhsnp564ttr7iuzoxjdx7rfw5gh?amount=1
  3. Click 'Open in wallet' to launch Natrium with the provided address and amount
  4. Observe that Natrium gets the address but not the amount

Works fine on iOS, this is an Android issue only.

alecrios avatar Feb 20 '21 22:02 alecrios

It works for me on Android, usually people experience this when their balance is insufficient so it doesn't prefill in the amount.

bbedward avatar Feb 21 '21 00:02 bbedward

That seems to be the case. In my opinion, it should still prefill the amount and then simply prevent the user from sending if their balance is insufficient. Just like how there's nothing stopping you from entering an amount higher than your balance when manually typing the amount yourself.

Alternatively, a modal or toast message could at least explain to the user why the amount is not filled.

alecrios avatar Feb 21 '21 17:02 alecrios