Severiano Jaramillo
766d42386a
Migrate to the new graphenej version.
...
- Migrated the whole app to the new graphenej version, which removes the usage of the Android Service, enabling to aim for a better and simpler architecture.
- Did a good number of modifications to keep the same or better functionality in all parts of the app that use the NetworkService.
2019-12-19 16:37:45 -06:00
Severiano Jaramillo
7424f7f6d2
Merge branch 'develop' of github.com:Agorise/bitsy-wallet into develop
2019-02-25 09:01:51 -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
eaa661ba5d
Fix crash in TransfersLoader when changing between night and day mode.
2019-01-31 14:59:40 -06:00
Severiano Jaramillo
962afe78c6
Create method to always observe the database for Missing transaction times, which automatically launches a call to the NetworkService to obtain such value from the corresponding transfer's blockNumber. This value is updated in the Database and shown in the corresponding transaction item in the Transactions screen automatically.
2018-12-23 14:11:26 -06:00
Severiano Jaramillo
8f0026c205
- Update the MaterialDialogs library version.
...
- Add the functionality to the Settings BrainKey's View & Show button. It first fetches the brainkey from the authorities db table and then shows it in a custom MaterialDialog so that the user can view and copy it.
2018-12-13 16:01:26 -06:00
Severiano Jaramillo
e1c32eb7f8
Add methods to automatically change the theme to night mode when the user selects it and also avoid a crash in the TransfersLoader.
2018-12-13 13:10:19 -06:00
Severiano Jaramillo
50a266ffb4
- Move the method to updateBalances from the MainActivity to the ConnectedActivity, so that it can be always trying to update the Balances even if we are not in the MainActivity and also to be able to update the Balances right after we notice there are new transactions for the current BitShares account.
...
- Move the TransfersLoader from MainActivity for the same reason than the updateBalances method described above and fix it so that it no longer needs the activity Lifecycle.
2018-12-08 22:55:28 -06:00
Severiano Jaramillo
628b30ce54
Created a method that is always listening to changes in the database and finds out when at least one UserAccount involved in a transaction is not present in the user_accounts db table. When such accounts are found they are retrieved in a form of a list and their information is requested to the BitShares nodes through graphenej's NetworkService and saved into the db once a response is received. The updated user account information is automatically displayed in the transactions list because of AAC's ViewModel, LiveData and Room.
2018-12-08 20:36:31 -06:00
Severiano Jaramillo
00df51e9f9
Create method to initiate the first step required to send a transaction from the wallet, which is building a Graphenej's transaction object and request the DynamicGlobalProperties.
2018-12-06 15:12:38 -06:00
Severiano Jaramillo
5ec8afbdb3
Provide a better package structure for Room database related files.
2018-12-01 09:25:25 -06:00
Severiano Jaramillo
51363bdf00
- Create basic TransactionsAdapter to populate the Transactions RecyclerView in Balances.
...
- Create basic Transactions items layout.
2018-11-28 20:13:40 -06:00
Severiano Jaramillo
bebffa14ed
- Remove no needed code and simplifyy TransfersLoader, also add a CompositeDisposable to keep track of all RxJava subscriptions and be able to dispose them when the class is finished.
...
- Call the TransfersLoader in MainActivity from a better place.
2018-11-28 18:55:53 -06:00
Severiano Jaramillo
3cbe738fd7
Move deleteAll method from TransferRepository to an async thread, to avoid app crashes for doing db operations in the main thread.
2018-11-28 14:28:18 -06:00
Severiano Jaramillo
d4e96f98e6
- Remove memo_from and memo_to fields from the transfers db table.
...
- Added method to obtain WIF key from the authorities db table.
- Make use of WIF in TransfersLoader to decrypt memo messages before saving them into the db.
2018-11-28 12:28:38 -06:00
Severiano Jaramillo
61aeca0575
- Extend Authority entity table to also store the authorities in WIF format.
...
- Make ImportBrainkeyActivity to create and store the WIF format into the database.
2018-11-28 10:19:53 -06:00
Severiano Jaramillo
cec0857113
- Add Room RxJava dependency to be able to use RxJava in Room db queries.
...
- Use RxJava's Single to make a Room query in TransfersLoader.
2018-11-27 21:42:39 -06:00
Severiano Jaramillo
08cf6b3c40
- Created a specific package entities for Room entities and do not mix them with plain models.
...
- Simplified the Transfers entity so that we store only the information that will actually be used.
- Create a TransfersLoader, which once launched checks and updated Transfer operations.
2018-11-27 13:33:04 -06:00