Commit graph

95 commits

Author SHA1 Message Date
Severiano Jaramillo
0166382b68 Migrate to the AndroidX Shared Preferences.
- The version of the Shared Preferences bundled with the Android OS has been deprecated, similar to what has happened with other platform libraries. This is so that the libraries can be updated, regardless of the device's OS version.
2021-04-05 21:54:32 -07:00
Severiano Jaramillo
0bc607de03 Update Lifecycle Arch Components library version. 2021-04-05 20:02:17 -07:00
Severiano Jaramillo
c8a2929c54 Get rid of the livedata.testing library.
- The com.jraska.livedata:testing-ktx dependency was introduced to be able to test LiveData, however that dependency has not been migrated away from JCenter (to mavenCentral). Also, we are able to provide a similar functionality with an extension function, and that is what I did.
2021-03-27 17:52:14 -07:00
Severiano Jaramillo
7e12224795 Update Material Components library.
- Introduced the new material date range picker, to be used in the FilterOptionsDialog to select a date range. This was necessary because the old MaterialDatePicker that was used inside DatePickerFragment is no longer available in the latest version of the Material Components library.
2021-03-23 22:31:47 -07:00
Severiano Jaramillo
dd1bf98e5d Update Firebase Crashlytics and Gradle plugins.
- Added the new Firebase Android BoM (Bill of Materials), to easily manage Firebase libraries: https://firebase.google.com/docs/android/learn-more#bom.
- Updated the Gradle, Google Services and Crashlytics gradle plugins.
2021-03-23 21:27:58 -07:00
Severiano Jaramillo
be5c9bcea7 Update Navigation and Lifecycle libraries.
- Updated the Navigation architecture component library to the latest stable version, with no big changes required.
- Updated the Lifecycle architecture component library to the latest stable version, along with a bunch of changes related to the deprecation of some methods and the addition of others.
2021-03-22 22:31:44 -07:00
Severiano Jaramillo
fd68b8bb96 Bump versionName to 0.17.2-beta and versionCode to 15 2021-03-16 20:20:31 -07:00
Severiano Jaramillo
0ec0457eb7
Migrate app to ViewBinding. (#6)
* Enable ViewBinding

- Migrate MainActivity to ViewBinding.
- Migrate HomeFragment to ViewBinding.

* Migrate a batch of Fragments to ViewBinding.

- Migrate BalancesFragment to ViewBinding.
- Migrate CreateAccountFragment to ViewBinding.
- Migrate EReceiptFragment to ViewBinding.
- Migrate FilterOptionsDialog to ViewBinding.
- Migrate HomeFragment to ViewBinding.

* Migrate another batch of Fragments to ViewBinding.

- Migrate ImportBrainkeyFragment to ViewBinding.
- Migrate LicenseFragment to ViewBinding.
- Migrate MerchantsFragment to ViewBinding.
- Migrate NetWorthFragment to ViewBinding.
- Migrate PatternSecurityLockDialog to ViewBinding.

* Migrate final batch of Fragments to ViewBinding.

- Migrate PINSecurityLockScreen to ViewBinding.
- Migrate ReceiveTransactionFragment to ViewBinding.
- Migrate SendTransactionFragment to ViewBinding.
- Migrate SettingsFragment to ViewBinding.
- Migrate TransactionsFragment to ViewBinding.

* Migrate to the kotlin-parcelize plugin.

- Get rid of the deprecated kotlin-android-extensions plugin.
2021-03-04 22:46:36 -08:00
Severiano Jaramillo
0d33a5f743 Limit the libraries that are obtained from JCenter. 2021-03-01 22:26:37 -08:00
Severiano Jaramillo
9005334f21 Update a couple more libraries' versions. 2021-02-15 19:56:16 -08:00
Severiano Jaramillo
c68397c57c Bump compileSdkVersion and targetSdkVersion to 29. 2020-12-25 16:33:33 -08:00
Severiano Jaramillo
af0f2f25e6 Update a bunch of libraries' versions. 2020-12-25 16:25:25 -08:00
Severiano Jaramillo
255821238a Upgrade to the Firebase Crashlytics SDK. 2020-12-25 15:40:25 -08:00
Severiano Jaramillo
ba6b9ab642 Bump versionName to 0.17.1-beta and versionCode to 14 2020-01-06 20:12:02 -06:00
Severiano Jaramillo
239fac9ad7 Bump versionName to 0.17.0-beta and versionCode to 13 2019-12-31 15:17:27 -06:00
Severiano Jaramillo
b5411fa7fc Update Gradle and a bunch of libraries.
- Updated Gradle and a buncn of libreries, making sure everything kept working correctly.
2019-12-19 13:35:05 -06:00
Severiano Jaramillo
a2f9463ed4 Bumping versionCode to 12 and versionName to 0.16.0-beta 2019-11-12 12:23:23 -06:00
Severiano Jaramillo
21e600069e Bumping versionCode to 11 and versionName to 0.15.0-beta 2019-10-31 16:18:33 -06:00
Severiano Jaramillo
4c0f0e7da0 Update the barcodescanner library version.
- Updated the barcodescanner library version to avoid a crash in certain devices when trying to scan a QR code in the SendTransactionFragment.
2019-10-30 16:47:04 -06:00
Severiano Jaramillo
19d147d36a Bumped versionName to 0.14.0-beta and versionCode to 10 2019-10-02 10:08:29 -05:00
Severiano Jaramillo
5c6c727b00 Update PDF generation library.
- Added the PDFjet library as a Java Library module to the project and moved all the logic to create the transactions PDF in the TransactionsFragment to use the new PDF lib instead of the old one.
- Fixed the time formatter that was being used to format the transaction's times in exported PDF/CSV files, it was printing months in the place of minutes.
2019-10-01 16:39:35 -05:00
Severiano Jaramillo
72fc8b2ea9 Downgrade ConstraintLayout library version.
- After a lot of search I found that the issue with the EditText in the PINSecurityLockDialog being hidden below the SoftKeyboard was due to a bug in the ConstraintLayout library.
2019-10-01 14:09:35 -05:00
Severiano Jaramillo
405344aa07 Downgrade the appcompat library.
- Downgraded the appcompat library to v1.1.0-beta01, the v1.1.0 introduced a bug that causes a crash in the WebView in certain devices running Android L.
2019-09-26 11:39:37 -05:00
Severiano Jaramillo
f6d00053db Update a bunch of libraries.
- Updated a bunch of libraries, fixed a couple of issues, and tested everything else worked correctly.
- Updated both compileSdkVersion and targetSdkVersion to 29 (Android 10).
2019-09-10 18:37:21 -05:00
Severiano Jaramillo
97e7167e17 Update AAC Lifecycle library.
- Updated the AAC Lifecycle library and verified everything kept working properly.
2019-09-10 14:14:40 -05:00
Severiano Jaramillo
9db6336a17 Bumped versionName to 0.13.1-beta and versionCode to 9 2019-09-09 14:59:08 -05:00
Severiano Jaramillo
7c28c1f2a1 Bumped versionName to 0.13.0-beta and versionCode to 8 2019-09-04 16:02:51 -05:00
Severiano Jaramillo
3c0d2091d8 Update material-dialogs library.
- Updated the material-dialogs library, and its usages to reflect the new code style 100% focused on Kotlin.
2019-08-29 12:09:34 -05:00
Severiano Jaramillo
765ed13a6a Add the nodes WS to Bitsy.
- Renamed the MerchantsWebservice to BitsyWebservice because it is now going to serve as a source of information of more than just merchants and tellers, but also the nodes the app is gonna connect to.
- Created new NodeRepository which will be in charge of accessing and updating the nodes database table with the information obtained from the webservice.
- Bitsy is now going to try to obtain the list of nodes it is going to try to connect to from the dabatase and use a hardcoded list as a fallback. The list of nodes in the database is updated regularly as well as their respective latency, so that in future app's startups it can use those latencies to immediately connect to the best node in the last app session.
2019-08-23 14:41:00 -05:00
Severiano Jaramillo
b077de95ac Create nodes database table.
- Added the library dependency to use Kotlin Coroutines with Room.
- Created the Node Room Entity, which will create the nodes database table.
- Created NodeDao, which will be responsible to access the Room entity (nodes database table).
- Created a Room database migration, to create the nodes database table in existing instalations updating to the new version.
2019-08-23 12:48:58 -05:00
Severiano Jaramillo
1abbe95083 Add Kotlin's Parcelize to FilterOptions.
- Enabled Kotlin's Parcelize annotation and used it to easily make FilterOptions Parcelable.
- Converted the ServiceGenerator class to Kotlin. This is a helper class that generates instances of Retrofit Services.
2019-08-22 11:41:05 -05:00
Severiano Jaramillo
2b4b520c5d Update a bunch of libraries.
- The project had been stale for a couple of months, so a lot of libraries were outdated. I updated most of the outdated libraries and verified everything kept working correctly.
- Simplified the ServiceGenerator, removing some stuff that is not used.
2019-08-22 11:02:09 -05:00
Severiano Jaramillo
7c8f5d621e Bumped versionName to 0.12.1-beta and versionCode to 7 2019-04-26 16:23:57 -05:00
Severiano Jaramillo
ac7e729816 Enabled proguard to reduce APK size and added the pertinent proguard rules to avoid removing too much code. 2019-04-26 16:23:04 -05:00
Severiano Jaramillo
4ed2eba66a Added the Kotlin coroutines library. 2019-04-26 12:23:26 -05:00
Severiano Jaramillo
aca43cfb9d Updated a couple of libraries. 2019-04-26 12:16:33 -05:00
Severiano Jaramillo
e88ef6cb91 Added a Deep Link to the app so that it can tell the Android system that it can consume a link of the form 'www.bitshares.com/{to}/{amount}/{asset}/{memo}' so when a user clicks on a link like that the Android system lets the user choose Bitsy to manage it. This deep link takes to user directly to the SendTransactionFragment, fills all the required fields and validates the information so that if it is valid then the user all that needs to do is click the send button and authorize the operation. 2019-04-11 20:43:58 -05:00
Severiano Jaramillo
a95c103d51 Bumped versionName to 0.12.0-beta and versionCode to 6 2019-03-20 15:24:45 -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
a4537ae1c4 Updated a navigation and room AAC libraries. 2019-03-18 08:35:55 -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
123482e996 Added the PatternLockView library to the project, which will let us add the pattern security option. Modified the Settings screen so that when the user tries to change its Security Lock option and the current one is PIN, show the PIN dialog first. Created the PINSecurityLockDialog which will host the logic of creating and confirming the new PIN, and verifying the current one. Finally, created BaseSecurityLockDialog which will host the shared logic between the PIN and Pattern Security Lock dialogs. 2019-02-14 09:06:22 -06:00
Severiano Jaramillo
19c50a0b6e Update Navigation and Crashlytics library versions. 2019-02-12 15:33:09 -06:00
Severiano Jaramillo
26abfffb1d Disable proguard's minify until it can be properly configured 2019-02-11 20:41:29 -06:00
Severiano Jaramillo
4ab5ecbe6e Bumping version code to 4 and version name to 0.10.0-beta 2019-02-11 20:40:23 -06:00
Severiano Jaramillo
653bdbec69 Fix a proguard rule and enable proguard on debug builds too. 2019-02-11 16:10:14 -06:00
Severiano Jaramillo
5465dcaa44 Enable proguard's minify and fix warnings to be able to create the apks. 2019-02-11 15:21:24 -06:00
Severiano Jaramillo
577e3ae01f Merge branch 'feat_equiv_values' into develop 2019-02-05 21:12:03 -06:00