CW-1000 Background sync improvements (#2142)

* feat: background sync improvements

- dev options on ci build cherrypick
- add permissions for background sync to AndroidManifestBase
- enable desugaring + update java compatibility to 17
- update walletconnect_flutter_v2
- update ens_dart
- update nostr_tools
- add notification for new transactions found in background
- expose more settings from flutter_daemon in UI
- remove battery optimization setting when it's already disabled
- fix notification permission handling
- fix background sync last trigger saving
- prevent notifications from being duplicated

* potential fix for multiple notifications firing for the same tx

* improve logging in background sync

* ui improvements to ignore battery optimization popup

* feat: logs for bg sync
disable decred bgsync

* fix: call store() directly to be sure that it is writing the data

* chore: rename logs to background sync logs

* Update lib/view_model/dashboard/dashboard_view_model.dart

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

* chore: remove unused key

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
cyan 2025-04-24 19:06:43 +02:00 committed by GitHub
parent e6c9cf54fb
commit 02e74b5997
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 1373 additions and 68 deletions

View file

@ -93,8 +93,8 @@ dependencies:
eth_sig_util: ^0.0.9
ens_dart:
git:
url: https://github.com/cake-tech/ens_dart.git
ref: main
url: https://github.com/MrCyjaneK/ens_dart.git
ref: 9fa09b9db69b8645d5d50a844652aa570451d101
fluttertoast: 8.2.12
# tor:
# git:
@ -103,7 +103,10 @@ dependencies:
socks5_proxy: ^1.0.4
flutter_svg: ^2.0.9
polyseed: ^0.0.7
nostr_tools: ^1.0.9
nostr_tools:
git:
url: https://github.com/MrCyjaneK/nostr_tools.git
ref: 089d5a2dd751429a040ba10fb24fcbae564053e5
ledger_flutter_plus:
git:
url: https://github.com/vespr-wallet/ledger-flutter-plus
@ -121,7 +124,8 @@ dependencies:
flutter_daemon:
git:
url: https://github.com/MrCyjaneK/flutter_daemon
ref: 5c369e0e69e6f459357b9802bc694a221397298a
ref: 6d5270d64b5dd588fce12fd0a0c7314c37e6cff1
flutter_local_notifications: ^19.0.0
dev_dependencies:
flutter_test: