Commit graph

402 commits

Author SHA1 Message Date
Severiano Jaramillo
a6f2d5469b Changed the qr box color to match the text fields boxes in both day and night modes in SendTransactionFragment. 2019-03-19 20:45:45 -06:00
Severiano Jaramillo
7fa1ed03c3 Used a TextInputLayout with a disabled TextInputEditText behind the Asset spinner in ReceiveTransactionFragment, so that it looks similar to the other fields (Amount and Asset AutoComplete). 2019-03-19 20:28:23 -06:00
Severiano Jaramillo
f89878d6b9 Used a TextInputLayout with a disabled TextInputEditText behind the Asset spinner in SendTransactionFragment, so that it looks similar to the other fields (To, Amount and Memo). 2019-03-19 18:39:55 -06:00
Severiano Jaramillo
25bab08b5e Updated the Material Components library to 1.1.0-alpha04 and fixed some issues presented because of the migration. 2019-03-19 18:05:08 -06:00
Severiano Jaramillo
8ba40899cf Avoid NPE in some special cases when trying to create the QR code image in ReceiveTransactionFragment, instead of crashing the app it sends the exception to crashlytics and continues its flow. 2019-03-18 22:34:51 -06:00
Severiano Jaramillo
1728cef152 Added RxJava global error handler to avoid anoying the user by avoiding crashes when an error occurs on a RxJava operation, but still log the exception to Crashlytics so that we can fix the issues. 2019-03-18 21:24:15 -06:00
Severiano Jaramillo
776e5f42b7 Fixed equivalent value errors in the transactions by making sure the equivalent value is only fetched for transfers that already have the timestamp value updated. 2019-03-18 20:42:10 -06:00
Severiano Jaramillo
d0109c42d5 Avoid IllegalArgumentException crashlytics reported crash in CreateAccountFragment while generating a new brainkey. 2019-03-18 09:17:11 -06:00
Severiano Jaramillo
a4537ae1c4 Updated a navigation and room AAC libraries. 2019-03-18 08:35:55 -06:00
Severiano Jaramillo
ae0b9c1f38 Updated Gradle version to 3.3.2 2019-03-18 08:28:53 -06:00
Severiano Jaramillo
143b6a011d Avoid three crashlytics reported crashes due to unhandled errors in RxJava operations in the ImportBrainkeyFragment. 2019-03-17 09:38:36 -06:00
Severiano Jaramillo
6f806db127 Avoid two crashlytics reported crashes due to unhandled errors in RxJava operations in the CreateAccountFragment. 2019-03-17 09:32:11 -06:00
Severiano Jaramillo
5238d4973c Created SendTransactionViewModel and made use of it to safely obtain the user's private key from the database, to avoid a crash reported in Crashlytics. 2019-03-17 09:24:50 -06:00
Severiano Jaramillo
1e2695db51 Improve error handling of RxJava operations in ReceiveTransactionsFragment. 2019-03-16 22:32:13 -06:00
Severiano Jaramillo
6fe13d9099 Added custom key to crashlytics to obtain the device language in the crash reports. 2019-03-16 22:04:24 -06:00
Severiano Jaramillo
0e11c67dfd Avoid crash in ReceiveTransactionFragment due to an unhandled error in RxJava operators. 2019-03-16 21:32:27 -06:00
Severiano Jaramillo
5bee51092d Avoid a crash in ReceiveTransactionFragment when the QR width and/or height is zero, but still send the report to Crashlytics to further investigate the issue in case it repeats again. 2019-03-16 20:53:22 -06:00
Severiano Jaramillo
702cdea3aa Reduced the text size of the telegram and keybase section in the Merchangs and Tellers about dialog. 2019-03-14 11:44:54 -06:00
Severiano Jaramillo
9b1349bfae Created the downward arrow used in the receive button in the homescreen manually, to avoid rotating the forward arrow. The latter was avoided because it does not work properly on Android 6. 2019-03-14 11:19:00 -06:00
Severiano Jaramillo
8ac06ae393 Added the links to Agorise's Telegram and Keybase at the bottom of the Merchants & Tellers info dalog, in the MerchantsFragment. 2019-03-13 22:34:01 -06:00
Severiano Jaramillo
afcb0aa8bd Make the map object in the MerchantsFragment nullable and add null checks everywhere it is used, to avoid NPE related crashes in case the map is not loaded correctly. 2019-03-13 22:18:04 -06:00
Severiano Jaramillo
3f3423873c Automatically change the color of the navigation bar in the Receive Home and Send screens to green blue and red respectively. 2019-03-13 21:31:51 -06:00
Severiano Jaramillo
b2a6a3828c Make both navigation and status bar the same color, in day mode it is the dark variant of the bitsy blue color and dark in night mode. 2019-03-13 21:10:23 -06:00
Severiano Jaramillo
3fa90fdee1 Made sure both toolbar and navigation bar show the correct colors in both day and night modes. 2019-03-13 20:16:02 -06:00
Severiano Jaramillo
e2d4d20e7a Improved Settings screen UI by making visible section divisions using Material Cards. 2019-03-13 20:08:02 -06:00
Severiano Jaramillo
7424f7f6d2 Merge branch 'develop' of github.com:Agorise/bitsy-wallet into develop 2019-02-25 09:01:51 -06:00
Severiano Jaramillo
6439b55c69 Properly handle the response from the node when trying to upgrade the current account to LTM. When it is successful the app shows a dialog explaining just that and also sends a request to the node to update the account info, to update the account with the LTM property set as true. When it is not successful, the app shows a dialog explaining that there was an error due maybe to an insuficient balance. 2019-02-25 09:01:45 -06:00
Severiano Jaramillo
0330588885 Created methods to request and add the BlockData to the transaction to upgrade the current account to LTM, that information is necessary. And created a different identifier to identify when a request for Dynamic Global Properties is for the nodes dialog or for the Upgrade to LTM transaction. 2019-02-22 17:34:50 -06:00
Nelson R. Perez
d59480cd23 - Fixed problem with decoding the sender's memos
- Updated graphenej
2019-02-22 18:32:23 -05:00
Severiano Jaramillo
b1a1abf231 Added a responseMap to the SettingsFragment to differentiate different requests made to the Node through graphenej's NetworkService. Added a method to obtain the encrypted private keys from the db through the SettingsFragmentViewModel, to create and sign the Upgrade to LTM transaction. 2019-02-22 17:01:32 -06:00
Severiano Jaramillo
99e378d123 Created SettingsFragmentViewModel to serve as an intermediary between the UserAccountRepository (db) and the SettingsFragment. Added the Accounts section to the Settings UI with a subsection to let the user upgrade its account to LTM. Added a listener that when the 'Upgrade to LTM' button is tapped, shows a dialog explaining what is needed to be LTM and its cost. 2019-02-21 15:11:45 -06:00
Severiano Jaramillo
eb0ae56a26 Modified SettingsFragment to extend from ConnectedFragment, which in turns handles all the communication with the Node trough graphenej's NetworkService. 2019-02-21 12:25:56 -06:00
Severiano Jaramillo
3c0c3a5114 Added Crashlytics custom key so that the crash reports include the last visited screen, that could help track crashes where the crash report alone does not include enough information. 2019-02-21 11:16:04 -06:00
Severiano Jaramillo
29c85d3d3c Changed the title and subtitle of both PINSecurityLockDialog and PatternSecurityLockDialog 2019-02-21 10:53:42 -06:00
Severiano Jaramillo
d20183e36f Forced to focus the EditText field and show the keyboard in the PINSecurityLockDialog as soon as it opens. 2019-02-21 10:27:15 -06:00
Severiano Jaramillo
2a869d7fe8 In the dialog that appears to choose a security lock, changed its title and modified the list to use a single choice list with radio buttons and pre-selecting the actual security lock option. 2019-02-21 10:09:10 -06:00
Severiano Jaramillo
2b7cd1c8c1 Updated the Material Dialogs library. 2019-02-21 09:36:50 -06:00
Severiano Jaramillo
364f6374ce Updated Google maps library version. 2019-02-21 09:30:05 -06:00
Severiano Jaramillo
3553fc623d Bumping version code to 5 and version name to 0.11.0-beta 2019-02-20 17:57:47 -06:00
Severiano Jaramillo
202466a71f Fix PatternView too big on small screens in PatternSecurityLockDialog. 2019-02-20 17:18:50 -06:00
Severiano Jaramillo
4ad841d525 Correctly handle error gracefully in the RxBus that receives information from the Node through graphenej, to avoid a crash. 2019-02-20 17:12:41 -06:00
Severiano Jaramillo
8d257876a0 Fix issue in both PIN and Pattern SecurityLockDialogs, that the error message was not appearing correctly when the user wrongly entered the PIN/Pattern and also the error message was not being cleared once the cooldown timer expired. 2019-02-20 16:53:34 -06:00
Severiano Jaramillo
9e714d8f84 Wrap the contents of the CreateAccountFragment into a ScrollView, so that all its contents are available even for very small devices. 2019-02-20 14:10:51 -06:00
Severiano Jaramillo
5570229cef Created the methods to show the messages and errors in the correct format and color in the PatternSecurityLockDialog. 2019-02-20 12:06:19 -06:00
Severiano Jaramillo
19ede70c69 Added the option to lock the pattern security lock option when the user has entered it wrong too many times. Once the cooldown timer ends the pattern is re-enabled so the user can try again. 2019-02-20 11:32:15 -06:00
Severiano Jaramillo
2ea32af377 Created the methods required to block the security lock PIN option when the user has entered incorrectly the current PIN more times than the max allowed. When that happens the text field to type the PIN gets disabled and a propper message is shown, explaining the issue and also showing the time that needs to pass until he can try again. 2019-02-20 11:03:39 -06:00
Severiano Jaramillo
97d9e8bcfb Make sure to save the hash of the user selected PIN plus the salt used to generate it are both saved into the shared preferences, when creating or importing an account. 2019-02-18 14:13:02 -06:00
Severiano Jaramillo
fac7bb031e Changed the method used to store the user selected PIN/Pattern into the shared preferences, the app now uses a hashed version of the PIN/Pattern with added salt at the beginning instead of an encrypted one. The salt is being saved into the shared preferences so that we can confirm the current PIN/Pattern when the user requires to do so. 2019-02-18 14:06:48 -06:00
Severiano Jaramillo
b0811ab2c8 Added a step to first verify the user's Security Lock before trying to send a transaction in SendTransactionFragment. 2019-02-16 17:48:50 -06:00
Severiano Jaramillo
a10a8cd836 Added the verification of the Pattern security lock option, before changing the current Security Lock or viewing the BrainKey in the Settings, when Pattern is the current security lock. 2019-02-16 16:58:36 -06:00