Commit graph

2897 commits

Author SHA1 Message Date
OmarHatem
c74194abf4 Merge remote-tracking branch 'origin/main' 2024-12-09 14:25:45 +02:00
OmarHatem
93ed71f615 temporarily ignore flutter secure storage errors 2024-12-09 14:25:36 +02:00
cyan
9fcbc4d72a
CW-846: Correctly display balance (#1848)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* Correctly display balance even with frozen coins

* remove package= from AndroidMainfest.xml

* update namespace
2024-12-04 15:01:49 +03:00
OmarHatem
ad6eb7db15 macos new build
Some checks are pending
Cache Dependencies / test (push) Waiting to run
linux new build
2024-12-03 21:29:40 +03:00
Omar Hatem
01faeabefe
test (#1842)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* test

* macos new build
2024-12-03 14:04:11 +03:00
ArTombado
0691b9ddb3
NanoGPT portuguese string fix (#1839) 2024-12-03 14:03:24 +03:00
MyEcoria
2e6dbe71af
(fix)[translations]: update French translations for wallet (#1850) 2024-12-03 14:02:50 +03:00
Serhii
3e1cb3905e
fix infinity values in LetsExchange fixed rate (#1849)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-12-03 01:26:33 +03:00
Omar Hatem
5b162c54da
Update AndroidManifestBase.xml 2024-12-02 20:24:01 +03:00
Konstantin Ullrich
c83913820a
Merge pull request #1843 from cake-tech/apk-verification
Some checks are pending
Cache Dependencies / test (push) Waiting to run
Add APK verification to readme
2024-12-01 20:06:16 +01:00
tuxsudo
de15c400b5
Add APK verification to readme 2024-11-30 15:49:48 -05:00
Omar Hatem
bd38393acf
fix sending issue (#1840)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* fix sending issue

* Update pr_test_build_android.yml
2024-11-29 23:15:55 +03:00
Omar Hatem
de970fcb80
test (#1838)
* update versions

* android fix trial

* minor translation fix [skip ci]

* update monero_c

* minor
2024-11-29 14:16:59 +03:00
Omar Hatem
79f20c2847
update versions (#1835)
* update versions

* android fix trial

* minor translation fix [skip ci]

* update monero_c
2024-11-29 13:43:10 +03:00
cyan
17d34beae9
CW-782: Show error report popup without cooldown (#1739)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* 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
Serhii
d8d4190608
prevent calling unsupported payment method (#1836) 2024-11-28 21:02:10 +02:00
Rafael
63f26c034f
[Cakepay] alert iOS availability (#1837)
* feat: alert iOS availability

* feat: use regex, check iOS
2024-11-28 18:50:30 +02:00
Serhii
9cd69c4ba3
Cw 830 coin control getting cleared (#1825)
* init commit

* add select all button

* localisation all coins

* fix isSending and isFrozen state updates

* fix: clean up electrum UTXOs

* ui fixes

* address the review comments[skip ci]

* remove onPopInvoked[skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-28 17:53:03 +02:00
Serhii
4ca50b5e63
Cw 649 rbf improvements opt in (#1772)
* initial commit

* revert changes

* allow adding inputs to RBF transactions

* address review comments[skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-28 02:42:46 +02:00
Serhii
5ca1c0c56e
Cw 765 onboarding flow improvements (#1817)
* update onboarding flow

* update welcome subtitle

* update wallet title

* add create restore wallet subtitles

* info button

* minor fix [skip ci]

* Update text and iconbutton

* Cleanup

---------

Co-authored-by: tuxpizza <tuxsudo@tux.pizza>
2024-11-27 23:05:04 +02:00
OmarHatem
13c4fbd225 minor UI change 2024-11-27 19:33:53 +02:00
Serhii
125c40b49a
fix onramper network tag plus UI (#1832) 2024-11-27 19:06:28 +02:00
Serhii
c3978bfbe1
enhance exception handling in cakePay getVendors (#1833) 2024-11-27 17:42:00 +02:00
cyan
87178b2a54
CW-766 fix coin freezing (#1751)
* fix coin freezing

* fix frozen balance

* update monero_c hash

* update monero_c hash (after merge)

* fix test E
make it ready

* revert local change

* throw error on wow as well

* experiment with view model code

* move view model into di.dart
2024-11-27 17:34:36 +02:00
OmarHatem
9706243c81 change default tron node to nowNodes if not already
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-11-27 02:20:08 +02:00
cyan
765ae87712
Automatically upgrade non-SSL nodes to SSL if they fail (#1757)
* Automatically upgrade non-SSL nodes to SSL if they fail

* another ssl catch

* [skip ci] pr fixes
2024-11-26 16:59:22 +02:00
Seth For Privacy
eff6616981
Migrate to new self-hosted mempool.space instance (#1820)
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-26 16:56:00 +02:00
cyan
738731d3e5
CW-826 Fix missing tx keys in monero (#1828)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* CW-826 Fix missing tx keys in monero

* force store wallet

* don't return error string
2024-11-26 15:43:56 +02:00
cyan
09bc186fea
Cw 835 investigate failed to get earliest block height when sending monero (#1827)
* update flutter to 3.24.3

* bump flutter to 3.24.4, fix all android issues (i hope)

* update uni_links path

* update sensitive_clipboard

* update dependencies

* update fast_scanner

* update the ref

* Update how_to_add_new_wallet_type.md [skip ci]

* Update how_to_add_new_wallet_type.md [skip ci]

* Update how_to_add_new_wallet_type.md [skip ci]

* Update how_to_add_new_wallet_type.md [skip ci]

* CW-835: Fix failed to get earlist block height when sending monero

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-26 15:40:26 +02:00
OmarHatem
83cfc7dd70 fix building with haven
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-11-25 21:05:36 +02:00
cyan
8ceaa013eb
Fix sed (again) (#1830)
* fix sed

* 0, -> 1, so it doesn't silently error out

* remve hardcoded CONFIG_ARGS
2024-11-25 20:55:05 +02:00
Omar Hatem
59e8550e4e
Generic fixes (#1823)
* add timeout for mempool fee api and make it only in bitcoin

* disable Monero Ledger for desktop

* handle onramper tag issue

* better handle main actions UI

* make service status scrollable with a better UI

* fix stupid race condition

* minor handling

* update btc fee api
update our xmr node to use ssl

* manually add supported unstoppable domains for now

* change bitcoin default node
code enhancement

* revert debugging code [skip ci]

* minor enhancements [skip ci]

* increase sync indicator size [skip ci]

* fix selecting USA country not triggering the reaction

* fix scrolling on cake features page [skip ci]
2024-11-25 18:26:41 +02:00
cyan
367c36b4d5
fix sed (#1829) 2024-11-25 18:00:37 +02:00
cyan
505ea26533
CW-798 Fix macos 15 issues (#1775)
* update flutter to 3.24.3

* bump flutter to 3.24.4, fix all android issues (i hope)

* update uni_links path

* update sensitive_clipboard

* update dependencies

* update fast_scanner

* update the ref

* Update how_to_add_new_wallet_type.md [skip ci]

* Update how_to_add_new_wallet_type.md [skip ci]

* Update how_to_add_new_wallet_type.md [skip ci]

* Update how_to_add_new_wallet_type.md [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-25 16:08:30 +02:00
cyan
cfe78d4e5f
Fix error reporting in transaction creation (#1821)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-11-24 10:49:42 +02:00
XD22
29b659e748
Fix Whitespace in secret_key.dart (#1812)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-11-21 14:04:46 -06:00
Omar Hatem
ff5fbd7946
v4.21.0 Release Candidate (#1795)
* new versions

* minor fix of cache key

* fix cache hit

* - potential improvement for sync status
- update with latest main

* disable thorchain by default [skip ci]

* update monero_c commit hash

* minor fixes
update versions

* remove monero ledger

* increase macos build number [skip ci]
2024-11-16 16:23:54 -06:00
Omar Hatem
9be990a3c0
Move the api key of trocador to the headers (#1808)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-11-16 11:06:49 -06:00
Serhii
cf7f019a92
fix the UI issue with address book (#1803)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-11-13 19:20:08 -06:00
Omar Hatem
ed5e701d80
Potential fix for the race condition of loading a wallet while the name in the shared prefs hasn't updated yet (#1801)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-11-13 10:55:46 +01:00
Konstantin Ullrich
0adb69d095
Better Ledger Connection handling (#1802) 2024-11-13 10:44:43 +01:00
Omar Hatem
c4698576a3
add xmr to unstoppable domain (#1800)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-11-13 01:19:50 +02:00
Serhii
96db38c0aa
Cw 744 improve address book (#1771)
* add sort function to contact list

* fix UI

* prevent duplicate contact names

* dispose contact source subscription

* fix custom order issue

* update the address book UI

* fix saving custom order

* fix merge conflict issue

* fix the address book filter by the selected currency

* add dropdown for wallets with multiple address types

* minor fixes

* add dropdown for wallets with multiple address types

* Update lib/entities/contact.dart [skip ci]

* Update lib/src/screens/contact/contact_list_page.dart [skip ci]

* Update lib/src/screens/contact/contact_list_page.dart [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-12 05:29:32 +02:00
Konstantin Ullrich
2c37e427e9
Cw 660 add ledger monero (#1747)
* Fix conflicts with main

* fix for multiple wallets

* Add tron to windows application configuration.

* Add macOS option for description message in configure_cake_wallet.sh

* Include missed monero dll for windows.

* fix conflicts with main

* Disable haven configuration for iOS as default. Add ability to configure cakewallet for iOS with  for configuration script. Remove cw_shared configuration for cw_monero.

* fix: scan fixes, add date, allow sending while scanning

* add missing nano secrets file [skip ci]

* ios library

* don't pull prebuilds android

* Add auto generation of manifest file for android project even for iOS, macOS, Windows.

* feat: sync fixes, sp settings

* feat: fix resyncing

* store crash fix

* make init async so it won't lag
disable print starts

* fix monero_c build issues

* libstdc++

* Fix MacOS saving wallet file issue
Fix Secure Storage issue (somehow)

* update pubspec.lock

* fix build script

* Use dylib as iOS framework. Use custom path for loading of iOS framework for monero.dart. Add script for generate iOS framework for monero wallet.

* fix: date from height logic, status disconnected & chain tip get

* fix: params

* feat: electrum migration if using cake electrum

* fix nodes
update versions

* re-enable tron

* update sp_scanner to work on iOS [skip ci]

* bump monero_c hash

* bump monero_c commit

* bump moneroc version

* bump monero_c commit

* Add ability to build monero wallet lib as universal lib. Update macOS build guide. Change default arch for macOS project to .

* fix: wrong socket for old electrum nodes

* Fix unchecked wallet type call

* get App Dir correctly in default_settings_migration.dart

* handle previous issue with fetching linux documents directory [skip ci]

* backup fix

* fix NTFS issues

* Close the wallet when the wallet gets changed

* fix: double balance

* feat: node domain

* fix: menu name

* bump monero_c commit

* fix: update tip on set scanning

* fix: connection switching back and forth

* feat: check if node is electrs, and supports sp

* chore: fix build

* minor enhancements

* fixes and enhancements

* solve conflicts with main

* Only stop wallet on rename and delete

* fix: status toggle

* minor enhancement

* Monero.com fixes

* bump monero_c commit

* update sp_scanner to include windows and linux

* Update macOS build guide. Change brew dependencies for build unbound locally.

* fix conflicts and update macos build guide

* remove build cache when on gh actions

* update secure storage

* free up even more storage

* free up more storage

* Add initial wownero

* fix conflicts

* fix workflow issue

* build wownero

* ios and windows changes

* macos

* complete wownero flow (app side)

* add keychain group entitlement and update script for RunnerBase on macos

* update secure_storage version to 8.1.0 in configure.dart

* add wownero framework

* update ios builds

* proper path for wownero and monero

* finalizing wownero

* finalizing wownero

* free up even more storage

* revert commenting of build gradle configs

* revert commenting of secrets [skip ci]

* free more storage

* minor fixes

* link android wownero libraries

* bump monero_c commit

* wownero fixes

* rename target

* build_single.sh using clean env

* bump monero_c commit

* minor fix

* Add wownero polyseed

* fix conflicts with main

* fix: wallet seed display
fix: wownero not refreshing

* fix: wallet seed display
fix: wownero not refreshing

* bump monero_c commit

* minor fixes

* fix: incorrectly displaying XMR instead of WOW

* fix: incorrect restore height in wownero

* bump monero_c commit

* Add Inno Setup Script for windows exe installer

* drop libc++_shared.so

* fixes from comments

* Fix CMake for windows

* Merge latest monero dart changes [skip ci]

* bump monero_c commit

* add wownero to build scripts for macos [skip ci]

* add 14 word seed support to wownero

* UI fixes for wownero seed restore

* minor fixes

* reformat code to pass lints

* Add debug ledger code

* Add Litecoin Hardware Wallet Creation

* Add Litecoin Hardware Wallet Creation

* Fix Bitcoin not sending on Ledger

* Fixes to sending LTC using Ledger

* CW-679 Fix merge conflicts

* CW-679 Fix merge conflicts

* CW-679 Minor fixes

* CW-679 Add derivation Path of change address

* Add create Monero Wallet from Ledger

* bug fix to create Monero Wallet from Ledger

* ledger flutter plus refactoring

* ledger flutter plus refactoring

* ledger flutter plus refactoring

* Ups :|

* Ups :| I forgot USB

* Handle BT Off

* Fix Issue with A14 and USB

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Pls work

* Pls work

* Pls work

* Pls work

* Fix overpopulation

* Fix ble device detection and support for Stax and Flex

* clean up pubspec

* clean up

* MWeb merge fix

* MWeb merge fix

* Migrate to Ledger Flutter Plus

* Add connect device page before loading the wallet (Only monero)

* Add connect device page before loading the wallet (Only monero)

* Fix merge error

* Fix merge error

* Fix merge error && Allow for wallet switching

* Please compile now

* Move monero/ledger.dart from monero_c to cw_monero

* Upgrade ledger_flutter_plus

* Add more popups if action on the device is needed.

* Update monero_c dependency hash

* Yay ledger monero is even more efficient and avoids memory leaks 🥳

* [skip-ci] more code

* Fix Minor Bug

* Fix Minor Bug

* Apply requested changes

* [skip ci] Apply requested changes

* Minor Cleanup

* Welp I'm dumb :/

* Implement requested changes

* Increase ledger refresh speed

* Add Monero Ledger keep connection alive

* Add Monero Ledger keep connection alive

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
Co-authored-by: m <m@cakewallet.com>
Co-authored-by: Rafael Saes <git@rafael.saes.dev>
Co-authored-by: Matthew Fosse <matt@fosse.co>
2024-11-12 05:26:09 +02:00
Serhii
e148f64508
fix the UI issue with sending outputs (#1798)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-11-11 19:39:45 +02:00
OmarHatem
89525b1897 temporarily disable key caching
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-11-10 01:16:21 +02:00
OmarHatem
ed69dc803b fix cache key 2024-11-10 00:14:38 +02:00
Serhii
5301ee4584
Update onramper_buy_provider.dart (#1796)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-11-09 23:44:08 +02:00
Omar Hatem
2881646037
Updatable builds (#1791)
* save and increment build number for each PR

* cd into repo path

* trial

* try generating the release build without a keystore

* cache keystore to maintain same signature for PR builds

* weird fix

* potential fix

* fix key path

* meh

* Update cache_dependencies.yml
2024-11-09 21:07:17 +02:00
Serhii
02f53055b1
Cw 657 new buy sell flow (#1553)
* init commit

* onramper

* moonPay

* dfx provider

* meld

* dfx payment methods

* fiat buy credentials

* moonpay payment method

* payment loading state

* dfx sell quote

* onramper launch trade

* meld launch trade

* country picker

* update option tile

* buy/sell action

* meld refactor

* update pr_test_build.yml

* ui fixes

* revert country picker commit

* update the ui

* recommended providers

* payment method [skip ci]

* provider option tile

* remove buy action

* minor fixes

* update the best rate when the amount is changed

* fixes for currency title

* fix icons

* code refactoring

* null issue

* code review fixes

* Update pr_test_build_linux.yml

* Update meld_buy_provider.dart

* Update meld_buy_provider.dart

* add show wallets action

* remove default sell / buy provider setting

* localisation

* providerTypes

* icons

* remove duplicate file [skip ci]

* minor changes [skip ci]

* fixes from review

* disable dfx for non eur/chf currencies
fix providers to be fetched with the selected currency

* fix breaking from loop if one element failed

* fix minor naming issue from merging conflicts

* add fiat check for moonpay

* fix address validation

* merge conflict

* fix destination and source currency

* minor fix

* minor fix

* update the flow

* fix bch address format

* fix wallet addresses

* fix initial fetching amount.

* Update address_validator.dart

* review comments

* revert switch case to return null

* minor fix

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-11-09 21:00:56 +02:00