Commit Graph

348 Commits

Author SHA1 Message Date
Honza Rychnovský 00995f1d00
[#374] AGP 8.0.2 2023-06-09 15:20:02 +02:00
Alex 1f0391e160
[#302][#316] Adopt latest Android SDK 1.12.0-beta01
Co-authored-by: Carter Jernigan <git@carterjernigan.com>
Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2023-01-24 14:50:58 -05:00
Alex d14637012c
Dagger removal (#347)
* dagger removal

* analytics removal
2022-10-31 13:04:14 +01:00
Alex f397260430
fix for included builds (#346) 2022-10-21 15:41:52 +02:00
Carter Jernigan 764f0a914e [#341] Android Gradle Plugin 7.3.0 2022-09-22 16:06:17 -04:00
Carter Jernigan f9c12321ee [#335] Adopt SDK 1.9 ZcashNetwork API changes 2022-08-12 10:39:48 -04:00
Honza 84aa6b6014 Fix or ignore broken tests 2022-08-09 07:19:55 -04:00
Carter Jernigan 3300f9d9e4
[#332] Fix crash on balance details screen
Because the string format is expecting a number, the BlockHeight object needs to be unwrapped
2022-07-30 15:01:42 -04:00
Carter Jernigan fe73e9cc4a
[#327] Fix backup screen crash
This was a minor regression, as the string formatter was using %d for a number while the calculateBirthday method was returning a BlockHeight object
2022-07-29 09:11:47 -04:00
Carter Jernigan acd0012919
[#325] Migrate to SDK with BlockHeight AP
SDK 1.8 is not released yet, so this consumes a snapshot of the SDK 1.8 release.
2022-07-27 13:56:08 -04:00
Carter Jernigan 48d86b23ae
[#323] Kotlin 1.7.10
Also suppressed some deprecations which are making the build logs very noisy.
2022-07-25 15:36:23 -04:00
Honza 1ced5714b4 Minor code refactoring
- remove or reorganize imports
- remove unused functions or variables
2022-07-12 07:56:25 -04:00
Carter Jernigan f50ecca598 Update imports for WalletBalance 2022-07-12 07:56:25 -04:00
Carter Jernigan 362d2f94ab [#319] Adopt Zatoshi API 2022-07-12 07:56:25 -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 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 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
Carter Jernigan e3462f3eb3 [#288] Fix cooldown for autoshielding prompt 2021-09-21 15:15:50 -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 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
Carter Jernigan c27cdffc9e Fix typos in comments 2021-08-24 14:19:43 -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 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 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 0e51764be0
Fix: remove the deprecated kotlin extensions plugin.
This was included in the template project created by android studio and was never used in a significant way. It has been deprecated by google and is safe to remove from the build files.
2021-07-19 09:21:21 -04:00
Kevin Gorham 857f801bd5
New: try out an easter egg.
"unlock achievement" when you autoshield for the first time.
2021-07-19 09:13:54 -04:00
Kevin Gorham 028160f902
Fix: Critical bug. Empty memos now can contain nothing.
Previously, empty memos always at least contained the first byte to indicate that it was empty. This changed in recent librustzcash updates.
2021-07-19 09:12:48 -04:00
Kevin Gorham 40ff08cd8a
New: match iOS failure behavior when autoshielding
Bring back the sad zebra!
2021-07-19 09:11:19 -04:00
Kevin Gorham 7c52eaad63
Fix: wrap recyclerview logic in try catch
Failing to draw a row should not crash the entire history screen.
2021-07-19 09:09:30 -04:00
Kevin Gorham aedddb5cd2
New: Easter Egg to open the faucet on testnet builds. 2021-06-21 18:07:13 -04:00
Kevin Gorham 42038a484d
New: New checkpoints for mainnet and testnet. 2021-06-20 21:00:06 -04:00
Kevin Gorham d38396b1c2
Update dependencies. 2021-06-18 22:37:47 -04:00
Kevin Gorham 1440abbee0
Fix: make 'more info' button easier to tap. 2021-06-18 22:35:50 -04:00
Kevin Gorham 55894b279f
Fix: Do not show the time when the transaction is pending. 2021-06-18 22:35:08 -04:00
Kevin Gorham ef04afd6d1
Restore tint change in vector drawable.
These can stay as 'android:tint' rather than 'app:tint'
2021-06-18 22:35:07 -04:00
Kevin Gorham 2016a39cf6
Fix: OBO error when calculating confirmations. 2021-06-18 22:35:06 -04:00
Kevin Gorham 15c04c1ec4
New: Cleanup 'more info' code and logic while sending. 2021-06-18 22:35:06 -04:00
Kevin Gorham cbf02ea15e
New: Pause the autoshielding animation when the tx has been cancelled. 2021-06-18 22:35:04 -04:00
Kevin Gorham 6be5e35227
New: Show icon when transparent funds are available to shield. 2021-06-18 22:28:31 -04:00