Commit Graph
13 Commits
Author SHA1 Message Date
Omar HatemandGitHub b1e5d1503e Better handle backup errors (#2132) 2025-03-28 16:17:38 +02:00
102ab8dbe6 CW-875 BackupServiceV3 (#2064)
* implement v3 backup system

- Add new BackupServiceV3 with chunked backup support and checksums
- Implement json-based metadata in backup system
- Instead of binary file export a .zip file that user can open and
see that it is a cake backup
(should also prevent 3rd party software from corrupting binary
data inside of the file, in case it doesn't checksum will fail,
and user will know for sure that backup got corrupted)
- Update flutter to 3.27.4 to use archive ^4.x.x (it offers in memory
archive operations)

* fix wallets not getting restored properly

* prevent out of memory errors on files that are way too big during restore

* Update lib/view_model/backup_view_model.dart [skip ci]

* Update lib/core/backup_service.dart [skip ci]

* Update lib/core/backup_service.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-03-22 03:16:54 +02:00
Matthew FosseandGitHub 6cc9f4f757 CW-949 backup error messages (#2059)
* [skip-ci] minor

* dont initialize with restore button enabled + error handling updates
2025-03-06 20:00:44 +02:00
17d34beae9 CW-782: Show error report popup without cooldown (#1739)
* improve exception throwing on broken wallets
- put _lastOpenedWallet to avoid issues on windows (file is currently open by)
- don't throw corruptedWalletsSeed - instead store it inside of secureStorage
- await ExceptionHandler.onError calls where possible to makse sure that popup won't be canceled by some UI element
- adjust BaseAlertDialog to be scrollable if the text is too long
- add ExceptionHandler.resetLastPopupDate - that can be called when we want to show error report screen (bypassing cooldown)

* fix: HiveError: Box has already been closed.

* await the alerts to be sure that each one of them is being shown
fix typo in secure storage

* Update lib/core/backup_service.dart

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* address comments on github

* don't store seeds in secure storage

* fix wallet password

* update monero_c
update corrupted seeds UI
prevent app from crashing when wallet is corrupted

* show alert with seeds

* Update corrupted wallet UI
Fix wallet opening cache

* remove unused code

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-28 21:28:31 +02:00
David AdegokeandGitHub 3869a71bd1 CW-695: Fix Zone Mismatch Error Triggered By Restoring Backup (#1651)
* Fix: Zone mismatch error triggered by restoring backup

* fix: Adjust check for reinitializing
2024-09-05 05:59:20 +03:00
Omar HatemandGitHub d8f1cdc7ef v4.13.0 and v1.10.0 (#1265)
* New versions

* Minor fix [skip ci]

* Minor UI enhancement for balance card

* Minor UI enhancement

* Add Monero build configs for MacOS [skip ci]

* Add rest of Macos Configs [skip ci]

* Delete empty file
Save and report restore from backup exceptions [skip ci]

* Minor fixes
2024-01-16 02:02:10 +02:00
OmarHatem c235df8935 - Fix reloading settings store
- Revert changes to backup_service.dart
2022-12-07 16:41:04 +02:00
Omar HatemandGitHub d4b5ffd0d6 Adapt error message check in backup errors (#550) 2022-10-20 12:37:02 -04:00
M 1beb18b045 Flutter upgrade 2022-10-12 13:09:57 -04:00
M e6b1da376d Configure wallet types for the app 2021-12-24 14:41:34 +02:00
M 5999744fc7 Added displaying of errors on restore from backup screen. 2021-01-15 20:07:05 +02:00
M 47ceac2dd6 Backup stuff. 2021-01-15 19:41:30 +02:00
M c09a41b090 Backup. 2021-01-13 18:43:34 +02:00