Commit Graph

503 Commits

Author SHA1 Message Date
Carter Jernigan 264af65a4c [#301] Zcash SDK 1.5.0-beta01 2022-05-27 08:35:59 -04:00
Carter Jernigan ecb9d58094 [#306] Enable logs for debug builds 2022-05-23 07:44:41 -04:00
Carter Jernigan 9c32bc3ce8 [#303] Fix import ordering 2022-05-23 07:44:41 -04:00
Carter Jernigan d749aa0879 [#303] Zcash SDK 1.4.0-beta01 2022-05-23 07:44:41 -04:00
Carter Jernigan cb7c2d3e74 [#309] Move ktlint to convention plugin
This resolves some compatibility issues with trying to invoke ktlint directly from the the app module, while also enabling ktlint to be run on the entire project
2022-05-23 07:44:41 -04:00
Carter Jernigan b1ce0ef1d2 [#308] Fix Java version target in Gradle scripts 2022-05-23 07:44:41 -04:00
Carter Jernigan 254fb13a7d [#304] Configure included builds for SDK 2022-05-23 07:44:41 -04:00
Carter Jernigan 4eb3692d2b [#311] AGP 7.1.3 2022-05-23 07:44:41 -04:00
Carter Jernigan 60d503c954 [#307] Kotlin 1.6.21 2022-05-23 07:44:41 -04:00
Carter Jernigan afa337691d [#305] Gradle 7.4.2 2022-05-23 07:44:41 -04:00
Carter Jernigan c0ed6e2b84 [#295] Prevent missing plugin descriptor warning 2022-05-23 07:44:41 -04:00
Carter Jernigan 34e2e198e1 [#297] Zcash SDK 1.3.0-beta19 2022-03-25 15:27:17 -04:00
Carter Jernigan 57fb7643cd [#299] Gradle 7.3.3 2022-01-18 15:37:13 -05:00
Francisco Gindre a21f8277ea
Merge pull request #293 from zcash/292-remove-twig
Don't rely on Twig from Android SDK
2021-11-10 11:50:26 -03:00
Carter Jernigan ba00c44a32 [#292] Refactor usages of Twig 2021-10-04 09:27:37 -04:00
Carter Jernigan 8af9e7dd24 [#292] Add copy of Twig 2021-10-04 09:27:25 -04:00
Francisco Gindre b0b14ac516
Merge pull request #290 from zcash/288-autoshielding-cooldown
[#288] Fix cooldown for autoshielding prompt
2021-09-22 11:17:24 -03:00
Carter Jernigan e3462f3eb3 [#288] Fix cooldown for autoshielding prompt 2021-09-21 15:15:50 -04:00
Carter Jernigan adf02bd3c7
Merge pull request #286 from zcash/269-autoshielding
Implement autoshielding UI prompt
2021-09-21 13:27:01 -04:00
Carter Jernigan 24b745d902 Adjust autoshielding threshold
The testnet faucet adds 1 Z to a wallet.  By changing the threshold from > 1 to >= 1, it makes testing the autoshielding UI prompt on the testnet much easier.
2021-09-12 09:43:54 -04:00
Carter Jernigan 13bffd0c33 Code review changes
- Autoshielding information prompt will then automatically shield funds after display
- Delay autoshielding information prompt until after sync
2021-09-10 15:06:01 -04:00
Carter Jernigan 1875c5f298 [#269] Implement autoshield information prompt
The prompt should be displayed the first time the user visits the home screen after creating/restoring a wallet.
2021-09-09 16:36:32 -04:00
Carter Jernigan 06a25e9e96 Convert build.gradle to kts
Also configure the Gradle Versions plugin to skip pre-release dependency updates.
2021-09-09 16:36:32 -04:00
Francisco Gindre 3d92f5b657
Merge pull request #285 from ccjernigan/284-strict-mode
Enable strict mode in the app for debug builds
2021-09-02 14:24:25 -03:00
Carter Jernigan 1fc23a8097 Remove repository declaration from lockbox
Repositories are now declared centrally in settings.gradle
2021-09-02 09:43:52 -04:00
Carter Jernigan 8ff83e67d8 [#284] Enable StrictMode for debug builds of app
This will detect disk IO happening on the main thread.

This will assist implementation of displaying autoshielding info (issue 269), because we'll have to hit disk to store prefs to only display the prompt once.  Enabling StrictMode helps make sure that new disk access doesn't happen on the main thread.
2021-09-02 09:43:12 -04:00
Francisco Gindre 755d57c00d
Merge pull request #282 from ccjernigan/correct-license
Correct LICENSE file
2021-08-31 14:12:13 -03:00
Carter Jernigan 28c9e09801 Correct LICENSE file
There was an inconsisteny between the license in CONTRIBUTING and the LICENSE file.  The correct license should be MIT.
2021-08-25 06:44:09 -04:00
Francisco Gindre 76601e137a
Merge pull request #281 from ccjernigan/setup-fixes
Improve project setup
2021-08-24 21:24:58 -03:00
Carter Jernigan 6bad11d74e Configure automatic Android SDK downloads
The Android Gradle Plugin can automatically install Android SDKs, which can be helpful when new developers want to try checking out and running the project.
2021-08-24 14:31:26 -04:00
Carter Jernigan da29cb52f2 Minor improvements to readme 2021-08-24 14:22:30 -04:00
Carter Jernigan 2b781785b9 Delete erroneous reference to MIT license 2021-08-24 14:19:43 -04:00
Carter Jernigan c27cdffc9e Fix typos in comments 2021-08-24 14:19:43 -04:00
Carter Jernigan d679931732 Reduce dependency on jcenter
JCenter has been deprecated and most dependencies have been migrated to other artifact hosting.
2021-08-24 14:19:43 -04:00
Carter Jernigan 3e5c24a089 Gradle Versions Plugin 0.39.0 2021-08-24 14:19:43 -04:00
Carter Jernigan 0fd6fba7de Gradle 7.2
Although the application was using Gradle 7 previously, the wrapper files hadn't been updated since Gradle 4.6. This commit also corrects that issue.
2021-08-24 14:19:43 -04:00
Carter Jernigan a84f3ad7ff Android Gradle Plugin 7.0.1 2021-08-24 13:36:11 -04:00
Kevin Gorham 271989b1a0
Merge pull request #280 from zcash/task/commit-working-directory
Task/commit working directory
2021-08-22 23:50:02 -04:00
Kevin Gorham 1980adb747
New: Add checkpoints for the wallet.
These are optional. Typically we rely on checkpoints in the SDK, instead.
2021-08-22 23:48:20 -04:00
Kevin Gorham b632cf334f
New: Update to a newer version of the Android SDK. 2021-08-22 23:47:30 -04:00
Kevin Gorham bc5e86af53
Fix: Compiler errors related to recent changes in the SDKs APIs.
Previously PagedLists were used in places where just a List would suffice. Also, code changes were made to allow a caller to request transactions before their ready because of the way some wallets were using the SDK. In those cases, an empty list will be returned.
2021-08-22 23:46:50 -04:00
Kevin Gorham c917454be1
Fix: The sending screen would not update for successful transactions.
This was a code change that should not have been committed because it was being used locally to verify behavior when transactions fail.
2021-08-22 23:43:48 -04:00
Kevin Gorham 04ce7e9258
Fix: Compile errors related to recent changes in the Twig APIs. 2021-08-22 23:42:22 -04:00
Kevin Gorham be51cdac80
Fix: Prevent a crash when refreshing Utxos returns null. 2021-08-22 23:41:50 -04:00
Kevin Gorham b72105675c
Fix: Autoshielding requires at least enough to pay the miner fee.
Previously, if a user had less than the minor's fee, they could initiate autoshielding but it would fail for insufficient funds. This change prevents the user from even tapping the button to autoshield if they do not at least have enough funds to construct the transaction.
2021-08-22 23:40:26 -04:00
Kevin Gorham 371c5ef365
Merge pull request #278 from zcash/readme-improvements
readme enhancements
2021-07-23 14:59:15 -04:00
Francisco Gindre ede0409382 readme enhancements 2021-07-21 16:54:53 -03:00
Kevin Gorham 3400033944
Merge pull request #277 from zcash/fix/update-view-binding
Fix: Update the view binding DSL.
2021-07-19 10:40:18 -04:00
Kevin Gorham 25a71119e8
Fix: Update the view binding DSL.
This will be deprecated soon so update to the newer DSL, preemptively.
2021-07-19 10:39:32 -04:00
Kevin Gorham b805949fc5
Merge pull request #276 from zcash/fix/remove-deprecated-plugin
Fix: remove the deprecated kotlin extensions plugin.
2021-07-19 09:21:54 -04:00