perawallet / pera-wallet

Source code for Pera Wallet, simply the best Algorand wallet.
https://perawallet.app
Other
178 stars 62 forks source link

[iOS - critical bug] Transactions initiated via Schema URI are divided by 1000 #31

Closed andpay-io closed 2 years ago

andpay-io commented 2 years ago

Hi there,

We're using the Algorand Wallet as one of the main payment options within our payment platform &pay. However - when initiating a transaction via the Schema URI, the iOS wallet has a different behaviour then the Android one.

It's quite an important bug, as currently the iOS wallet sending the wrong value. See screenshot attached for an overview of the difference.

The amount being used was: 100000 microAlgo, so 0.1 ALGO. Android considers this as 0.1 ALGO throughout the signing process. iOS starts with 0.1 ALGO, but as soon as you go towards preview. It switches towards 0.00001 ALGO (division of 1000).

Could this be reviewed and resolved within the next version? ios-app-transaction-issue

jasonpaulos commented 2 years ago

Thank you for reporting this. What version of the Algorand Wallet app are you using? It can be found at the bottom of the settings page in the app.

andpay-io commented 2 years ago

Currently using 4.10.4 - latest available on the App Store.

jasonpaulos commented 2 years ago

Thank you, we are looking into this.

taylanpince commented 2 years ago

This issue was resolved but we noticed a related problem that will also be resolved with 5.3.0.