Commit Graph

329 Commits

Author SHA1 Message Date
Kevin Gorham d425130b4d
New: Add multi-word paste support when restoring a wallet.
This also improves the overall experience around importing seed words and allows a full seed phrase to be pasted and parsed at once.
2021-04-23 12:26:43 -04:00
Kevin Gorham 26c82974a5
Fix: Address tough bug on older devices that crashed during restore.
The root issue seemed to be, if a keyboard was shown for a focused EditTextView that was also disabled, older versions of android would crash inside the input manager which was impossible to catch with a try/catch block. The end result was major: some users could not restore their wallets. This work around addresses the problem by keeping the focused view enabled at all times. In theory this could result in some weird behavior but in practice, that's unlikely.
2021-04-23 12:26:41 -04:00
Kevin Gorham 53957746ac
New: Add 'clear' feature when restoring wallet seed words. 2021-04-23 12:26:39 -04:00
Kevin Gorham f676019958
New: Add MemoUtil
This is in anticipation of moving memo parsing back down to the rust layer.
2021-04-23 12:26:37 -04:00
Kevin Gorham 95719eac57
New: Extension for splitting addresses into chunks. 2021-04-23 12:26:36 -04:00
Kevin Gorham 5657ebc7d1
New: Dialog extensions for critical messages and confirmations. 2021-04-23 12:26:34 -04:00
Kevin Gorham e256054219
Fix: Minor dialog errors. 2021-04-23 12:26:32 -04:00
Kevin Gorham b56910fde5
New: Testnet launcher icons. 2021-04-23 12:26:30 -04:00
Kevin Gorham c046d3059e
New: Rescan feature.
Allow a user to correct common errors by rewinding the chain and scanning again. We provide 3 options: quick - the shortest possible rescan that can occur, based on witnesses. full - rescan all the way back to the wallet's birthday. wipe - delete all sqlite database and begin again from the moment after the user entered their seed phrase.
2021-04-23 12:26:29 -04:00
Kevin Gorham 74da19a814
New: Capture performance metrics for scanning.
The SDK now provides hooks for receiving a callback whenever a scan completes that includes information about the number of blocks scanned and duration. Use this info to report device metrics around scan speeds. This is in anticipation of greatly improving these numbers in the near future. Before that, we want to start collecting a baseline measurement.
2021-04-23 12:26:27 -04:00
Kevin Gorham bf3fa75b25
New: Periodically solicit user feedback.
This is one of the metrics that we want to collect internally at ECC over the term to see how user sentiment changes for the next several months as we work to add a lot of features and improvements.
2021-04-23 12:26:24 -04:00
Kevin Gorham 94ec0464b7
New: Auto-shielding Easter Egg.
The intention of this feature is to provide a way for adding the minimum viable implementation of t-addr support. Effectively, just enough to get transparent funds into the wallet's shielded pool. Robust management of UTXOs is and should be outside the scope of a shielded wallet.
2021-04-23 12:26:22 -04:00
Kevin Gorham 2124b1fea2
New: Update to latest SDK changes.
Mainly involves using a network parameter rather than a separate build for testnet and mainnet. This network object is also now the source of the SAPLING_ACTIVATION_HEIGHT, which varies by network. The other major change is the way wallet initialization works, particularly around viewing keys. Under the hood, this involves a database migration so it is worth testing the upgrade path.
2021-04-23 08:40:05 -04:00
Eljo Prifti 96c57d67c2
Change button text (#253)
Click change button text from "More Info" to "Done"
2021-04-22 15:59:31 -04:00
Eljo 272483b4f5 Balace detail fragment
Create view
Create class
2021-04-18 21:21:56 +02:00
Mandeep 5362dcd6a8
New: update design for Wallet History (#249)
* New design for Wallet History
* History Row designed
Colour combinations used to design History row as per comment in same branch
Co-authored-by: Mandeep <bhalothiamandeep@gmail.com>
2021-04-16 14:37:50 -04:00
Kevin Gorham 0dcd2e00eb
Merge pull request #250 from herou/add_more_info
Enhancement: Add option to view the error message during a failed send
2021-04-16 14:30:55 -04:00
Eljo 88683ad938 Add option to view the error message during a failed send 2021-04-11 22:40:00 +02:00
Kevin Gorham 419dc0c672
Merge pull request #244 from zcash/integration/issue-206
Integration/issue 206
2021-04-06 16:42:41 -04:00
Kevin Gorham 13571acf48
Fix initial state after merged changes.
After looking at this more closely, it's clear that a refactor would help so that the view model drives the logic. However, that change is bigger than the scope of this work so I'll save it for an enhancement and just do this small change, instead.
2021-04-06 16:36:52 -04:00
Kevin Gorham a6fbb1f52d
Simplify address call. 2021-04-06 14:39:34 -04:00
Kevin Gorham a1ccab9772
Revert unrelated formatting changes.
This would be better addressed with ktlint but for now we can just avoid changes to unrelated code.
2021-04-06 14:26:37 -04:00
Kevin Gorham 982e583386
Combine approaches from the 2 PRs on this issue. 2021-04-06 14:26:37 -04:00
Kevin Gorham da8c4aec7b Merge remote-tracking branch 'mandeep/MB-206-Memo-Disabled' into integration/issue-206
Conflicts:
    app/src/main/java/cash/z/ecc/android/ui/send/SendFragment.kt
2021-04-06 14:09:06 -04:00
Kevin Gorham db3cc7db3d
Control visibility in one place. 2021-04-06 14:04:35 -04:00
Kevin Gorham 86f0c1a6b0
Remove synthetics and fix formatting. 2021-04-06 13:58:14 -04:00
Kevin Gorham 87b537592a Merge remote-tracking branch 'herou/no_memo_taddress' into integration/issue-206 2021-04-06 13:54:15 -04:00
Kevin Gorham fb0f611e76
Merge pull request #242 from Mandeepbhalothia/MB-128-Remove-Logging-Chars
Issue-128: Removal of logging while typing characters
2021-04-05 20:22:01 -04:00
Mandeep f2f76e6fa6 Displayed Memo when address is wrong 2021-04-04 20:22:04 +05:30
Mandeep 67294f5802 Logging of characters typed removed
Logging of typed characters and lifecycles logs removed
2021-04-04 16:06:55 +05:30
Mandeep 484fecc0f0 Memo Hide for T address transaction
Memo and reply-to hide during T address transaction
2021-04-04 15:51:04 +05:30
Eljo 69a4092cd6 hide/show memo section if Taddress 2021-04-02 22:55:03 +02:00
Kevin Gorham 93a6d7c7a2
New: Better handling around unsatisfied link errors.
Primarily a developer feature to warn when a local build of the SDK is broken because the Rust libraries did not properly link, which happens occasionally and can be frustrating but should never be seen by an end user. In the event that a broken build does make it to a user, this would at least improve the experience.
2021-03-18 02:07:40 -04:00
Kevin Gorham f60ed7dd2b
Cleanup dependency reference. 2021-03-16 15:09:53 -04:00
Kevin Gorham e3ea68d7ce
Fix: Show when scanned QRs are invalid addresses.
The UI was not visible on screen due to minor typo.
2021-03-16 15:09:29 -04:00
Kevin Gorham 3bf1ed1415
Start parsing URIs.
Initially just do a placeholder implementation for a more full parsing through librustzcash.
2021-03-16 15:08:33 -04:00
Kevin Gorham dfc6838bdf
Minor PR feedback. Switch to QR reader and specify imports. 2021-03-16 15:07:15 -04:00
Kevin Gorham b0843b9548
Very minor cleanup. 2021-03-16 15:06:23 -04:00
Kevin Gorham bad21eda3f
Merge pull request #232 from herou/zxing_implementation
Implement zxing instead of Google Firebase ML Vision
2021-03-16 14:32:55 -04:00
Eljo 0b5e4047bb fix PR requests 2021-02-28 18:38:00 +01:00
Eljo 655094d0d3 remove redundant libraries/code 2021-02-21 13:47:16 +01:00
Eljo 8fa8f42a44 Implement zxing in progress 2021-02-14 23:01:19 +01:00
Eljo Prifti 93ed588073
fix testnet (#227)
* fix testnet

* -move buildConfigFiled inside flavour
-rename SERVER_URL to DEFAULT_SERVER_URL
2021-01-31 18:26:58 -05:00
Kevin Gorham c841423b82 Commit missing files.
Closes #226
2021-01-27 22:35:51 -05:00
Kevin Gorham 4662bdc08e
Merge pull request #225 from zcash/224_add_responsible_disclosure
Added responsible disclosure (it just points to the SDK md doc)
2021-01-26 17:54:04 -05:00
zebambam 0fdbf91011 Added responsible disclosure (it just points to the SDK md doc) 2021-01-26 14:23:23 -08:00
Kevin Gorham 8d315dae66
Merge pull request #222 from zcash/hotfix/repair-restore-and-create
Hotfix/repair restore and create
2020-12-20 11:10:13 -05:00
Kevin Gorham 5f713454d3
Update version and changelog. 2020-12-20 11:09:36 -05:00
Kevin Gorham 2c749af3be
Fix: Repair create flow.
There was a logic error that caused the load screen to cover the create/restore screen because the load screen was waiting for the synchronizer to start but it would not start until after the wallet was created (or restored). The simple fix was to turn off the load screen during the create/restore flow and then reactivate it, if needed while creating the syncrhonizer. In almost all cases, users will not see the load screen. However, when there is a race condition and the homescreen attempts to draw before the synchronizer is ready, it will now display a load screen instead.
2020-12-20 11:09:23 -05:00
Kevin Gorham 500fa13cbd
Fix: repair the upgrade flow.
Existing users of seed-only wallets were getting stuck because the birthday is now stored differently. The previous fix was attempting to just load the latest checkpoint as the birthday but this does not work because the birthday determines how far back the wallet will rewind during a reorg. The end result prevented the wallet from going back as far as it needed. When the birthday isn't known, it makes logical sense to set it to the lowest possible number: Sapling Activation. This also happens to fix the problem because now wallets that are upgrading can rewind beyond the latest checkpoint.
2020-12-20 10:59:14 -05:00