natrium_wallet_flutter
natrium_wallet_flutter copied to clipboard
Amount not supported in deep link on Android
Steps to reproduce:
- Open any browser on an Android device
- Go to https://paynano.me/nano_3jmjgk57hbtfkzoao4etwfizsup5xeqkemhsnp564ttr7iuzoxjdx7rfw5gh?amount=1
- Click 'Open in wallet' to launch Natrium with the provided address and amount
- Observe that Natrium gets the address but not the amount
Works fine on iOS, this is an Android issue only.
It works for me on Android, usually people experience this when their balance is insufficient so it doesn't prefill in the amount.
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.