Commit graph

1696 commits

Author SHA1 Message Date
Omar Hatem
d0b51cebe3
Generic fixes (#1291)
* - Update Camera purpose string for iOS
- Fix address field not passing the correct currency to address book

* Enhance file loading in exception handler

* Fix translation consistency [skip ci]
2024-02-06 22:44:21 +02:00
Adegoke David
7410daacff
CW-551-Refactor-EVM-Chains (#1256)
* feat: Create central package for EVM chains

* chore: Cleanup pubspec and add core evm dependencies

* feat: Replicated core evm chain files, time to start fixing the issues

* feat: Setup evm central package to handle all evm chains

* feat: Link up Polygon and Ethereum wallets to the centra evm package, fix bugs and issues, and optimze for better performance

* feat: Setup and adjust configs to reflect new evm configurations

* Remove unneeded file

* fix: Changes done while re-reviewing entire structure and refactor

* fix: Add evm chain wallet path to imports in configure file

* feat: Adjust implementation of parent class, remove unneeded files, remove windows, linux and mac directories, restructure the evm child classes

* fix: Make EVMChainWallet a central abstract class and adjust accordingly

* fix: Adjust transaction info, restructure EVMWalletChain to be an abstract, adjust external facing interfaces for polygon and ethereum, adjust configuration for ethereum and polygon in configure file

* fix: Testing issues

* fix: Add localization for nft tile and details page texts and add dashes for null responses

* fix: merge conflicts

* Minor fixes for building Monero.com

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-01-30 20:01:48 +02:00
Omar Hatem
b92ccb5c0b
Generic fixes (#1282)
* New versions

* Fix unspent coins issue

* Fix white screen issues for some users
2024-01-30 19:57:47 +02:00
Omar Hatem
952503f0d8
New versions (#1277)
* New versions

* Update macos build number
Minor UI fix
2024-01-29 22:49:54 +02:00
Adegoke David
f68987bfb9
CW-566-Cake2FA-Bypass-Bug (#1275)
* fix: TOTP 2FA Bug

* fix: key switch error

* Fix 2fa preset issue

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-01-27 05:08:53 +02:00
Serhii
fc352a6da3
Cw 428 send to nostr addresses (#1271)
* add nostr address resolver

* Add Nostr localization

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-01-27 04:34:38 +02:00
Omar Hatem
89fdc0f4d1
Generic fixes (#1274)
* Display fees currency as wallet currency not the selected one

* remove unused code
catch balance network issues

* pop send screen when send completes successfully

* revert change [skip ci]

* Enable restoring haven wallets

* verify context is mounted before showing snackbar [skip ci]

* Update privacy [skip ci]

* Add user consent popup to inapp webview permission request
2024-01-27 00:51:21 +02:00
Adegoke David
aed60a7282
fix: Route to dashboard when exchange is done (#1276) 2024-01-27 00:48:33 +02:00
Serhii
9754d67601
Cw-343-a-list-of-previously-used-addresses (#1248)
* add used addresses list

* generate new address button

* fix wallet type issue

* fix addresses button title

* update selectButton

* show all wallet addresses

* add tx amount and balance

* fix ui

* remove cashAddr format

* fix generating new address issue

* disable autogenerating

* fix cashAddr format

* minor fix

* add search bar

* Update address_cell.dart

* fix merge conflict

* address labeling feature

* review fixes

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-01-23 07:15:24 +02:00
Matthew Fosse
d664f0a16f
Cw 540 encrypt shared (#1269)
* start writing migration

* save

* finishing up migration

* more fixes

* fixes

* migration fixes

* remove commented code and ensure widget initialization in root.dart

* use securekey static functions everywhere applicable
2024-01-23 02:30:16 +02:00
Adegoke David
efb41aa6bc
feat: Remove ability to create haven wallets (#1273) 2024-01-23 01:58:09 +02:00
Omar Hatem
d83054eded
Enable DFX for polygon wallet (#1267) 2024-01-23 01:53:20 +02:00
Dimitris Apostolou
1b65adce53
Fix typos (#1266) 2024-01-18 01:38:36 +02:00
Omar Hatem
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
Matthew Fosse
fe2e26f146
Minor nano fixes + abstract nano utils out into package (#1250)
* fixes

* refactors

* fixes

* more fixes

* fixes for monero.com

* update confirmed balance to receivable balance

* fix balance display bug

* remove print statements

* prevent unnecessary writes

* review fixes

* forgot to add pubspec changes

* fix

* fix sync status desyncing on rpc fail

* fix

* update translations + txDetails fixes

* squash balance bug

* add source address on tx info

* fix
2024-01-12 01:00:41 +02:00
Omar Hatem
8d973cf919
Finish DFX auth flow with the primary address for Electrum (bitcoin) (#1264) 2024-01-11 17:29:51 +02:00
Omar Hatem
b3c8be4ba8
Improve balance card UI (#1259)
* Improve balance card UI

* Disable normal USDC polygon for ChangeNow

* UI enhancements

* Add Kaspa
Minor UI fix

* Add kaspa icon [skip ci]
2024-01-08 16:05:35 +02:00
Omar Hatem
2a1bdf69ef
Cw 553 update inappwebview (#1252)
* Update inapp webview and update it's deprecated code

* Add Turkish Lira
Fix android in-app webview

* Change FAQ url [skip ci]

* Fix available balance display issue
2024-01-08 16:03:46 +02:00
Serhii
26cde6a193
Cw 533 add the sell option from on ramper (#1251)
* add sell option from onramper

* minor fix

* fix default sell param
2024-01-08 16:02:12 +02:00
Omar Hatem
133fa2987a
Generic fixes (#1245)
* Remove error message if buy action is disabled

* Fix wallet list selected wallet issue

* Check if the widget is still mounted before showing popup

* minor code readability enhancement [skip ci]

* Code enhancement [skip ci]

* Revert removing ask each time localization

* Add Moonpay to sell flow
Code Enhancements

* remove error popup when sell option is disabled
2024-01-01 15:05:37 +02:00
Serhii
3522561cfc info page refactoring 2023-12-30 21:55:17 +02:00
Serhii
a5895e8832 Merge branch 'main' into CW-529-Modify-2FA-introduction-screens 2023-12-30 16:58:46 +02:00
Serhii
914565eb72
CW-539-DFX-off-ramp-sell-provider (#1229)
* buy_provider_types refactoring

* refactor MoonPay and  sell option flow

* dfx sell flow

* add default sell provider flow

* localization

* Update other_settings_page.dart

* [skip ci] update localization

* [skip ci] providers fixes

* [skip ci] ui fixes

* refactor sell and buy flow

* handle dfx availability by country

* PR fixes
2023-12-28 21:20:59 +02:00
Adegoke David
92914a8532
fix: Fix walletconnect connecting only with the first wallet (#1247) 2023-12-28 03:37:36 +02:00
Omar Hatem
c8856f5ca1
Generic fixes (#1243)
* handle currency names with appended network

* Fix BCH sending issue for p2sh addresses

* Update app versions [skip ci]
2023-12-22 23:31:06 +02:00
Serhii
1eaebcba83 [skip ci]Revert "minor fixes" 2023-12-20 14:25:30 +02:00
Omar Hatem
be285e7ebf
V4.12.0 v1.9.0 (#1236)
* update app versions and release notes

* update build number

* Fix balance page tabs UI on white screens [skip ci]

* Vulnerable btc seeds (#1238)

* Add flow to notify users with vulnerable seeds

* - Show vulnerable wallets warning on every app launch
- Change text

* increment build number

* add seeds sha text [skip ci]
2023-12-19 15:16:15 +02:00
Omar Hatem
d756b367d3
Make the exchange receive field always editable and can be taken from QR or Address book (#1230) 2023-12-16 03:20:56 +02:00
Serhii
b316f2fc7b minor fixes 2023-12-15 17:19:50 +02:00
Serhii
95a1291704 Format code 2023-12-14 18:41:43 +02:00
Serhii
d0e28b58ac [skip ci] update icon 2023-12-14 14:51:52 +02:00
Serhii
72b6a50400 Merge branch 'main' into CW-529-Modify-2FA-introduction-screens 2023-12-14 14:32:52 +02:00
Serhii
31530dd566 fix UI issues 2023-12-14 14:11:07 +02:00
Serhii
660cd44244 update localization files 2023-12-14 12:58:02 +02:00
Matthew Fosse
2ff81df9e7
CW-512 wallet sort (#1195)
* add shared preferences key and make list re-orderable

* macos sonoma build fix

* everything (almost) works

* add translations

* more translations

* everything works

* fixes

* translation merge file fix

* fix for mobile platforms

* fix filter icon being invisible on bright theme

* first pass of adding ascending/descending to filter widget

* small fix

* update ascending switch

* fixes

* fix

* reverse creation sort

* review fixes part 1

* refactor into function rather than tuple + color changes

* more fixes

* remove unrelated file

* updated wording

* cleaner callback

* undo sonoma fix

---------

Co-authored-by: fossephate <fosse@book.local>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-12-13 23:58:43 +02:00
Serhii
9a716d1dc9 Merge branch 'main' into CW-529-Modify-2FA-introduction-screens 2023-12-13 17:44:42 +02:00
Serhii
1c53229ea0 minor fix 2023-12-13 17:33:51 +02:00
Serhii
049e4def27
fix accessibility issues (#1224) 2023-12-13 17:27:30 +02:00
Serhii
faf151a4dc
CW-531-Bitcoin-Fees-issue (#1218)
* SegWit transaction size

* [skip ci] fix electrum balances layout

* fix tapping area
2023-12-13 16:43:26 +02:00
Adegoke David
ef7762eaca
Polygon-Wallet-fixes (#1222)
* fix: Fix issues surrounding polygon release

* Add polygon generation command to pubspec script

* Remove unnecesary cast

* fix: Remove unneeded code

* fix: Adjust workflow file to pick polygonScan apikey

* fix: Issues noticed while testing

* fix: Issues noticed while testing

* fix: Transaction should reflect the token name

* fix: Remove unused import

* feat: Add alchemy node to default migration settings

* Fix sending Polygon delay
Remove alchemy node
Minor Enhancements

* Remove scrolling from multiple choices settings row and make them fill the whole space [skip ci]

* Add USDT poly
Add icon for USDC.e

* Fix ERC20 tokens overriding old wallets
Add USDC.e to exchange

* - Remove unnecessary code
- Minor Enhancements

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-12-13 16:03:07 +02:00
Serhii
50299e60f0 Merge branch 'main' into CW-529-Modify-2FA-introduction-screens 2023-12-13 14:44:38 +02:00
Serhii
747a760124 willPopScope fix 2023-12-13 14:08:18 +02:00
Serhii
d5b9af1c19 update localization 2023-12-13 13:55:22 +02:00
Matthew Fosse
7ce387c130
fix dot indicator color (#1228) 2023-12-11 18:47:22 +02:00
Konstantin Ullrich
72777fbf2c
Cw 534 monero wallet generic enhancements (#1225)
* Fix word count for polyseed on pre_seed_page

* Fix naming of advanced setting

* Set default Seed Type to Polyseed and disable bg-sync by default

* Fix inconsistency between seed type field in restore screen and the one in advanced settings

* Use pub.dev release of polyseed

* Add Legacy Seed to wallet_keys-Page in case of Polyseed
2023-12-09 03:37:39 +02:00
Serhii
2138c35e38
CW-532-DFX-buy-provider (#1209)
* dfx buy provider ui

* fix signing flow

* fixed provider determination based on wallet type and app settings

* update localization files

* minor fix

* Fix BTC, LTC und BCH signMessages

* Add signMessage to monero

* open dfx in webview

* Update dfx_buy_provider.dart

* Revert merge conflict

* Update bitcoin_flutter ref

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2023-12-08 16:05:52 +02:00
Omar Hatem
b95af3a649
V4.11.0 v1.8.0 (#1216)
* V4.11.0 and v1.8.0

* Add polygon to iOS and macOS
Minor import fix for monero.com

* Remove Polygon temporarily

* Remove tor temorarily [skip ci]

* Remove tor temorarily [skip ci]
2023-12-05 02:35:33 +02:00
Adegoke David
b3d579c24a
CW-527-Add-Polygon-MATIC-Wallet (#1179)
* chore: Initial setup for polygon package

* feat: Add polygon node urls

* feat: Add Polygon(MATIC) wallet WIP

* feat: Add Polygon(MATIC) wallet WIP

* feat: Add Polygon MATIC wallet [skip ci]

* fix: Issue with create/restore wallet for polygon

* feat: Add erc20 tokens for polygon

* feat: Adding Polygon MATIC Wallet

* fix: Add build command for polygon to workflow file to fix failing action

* fix: Switch evm to not display additional balance

* chore: Sync with remote

* fix: Revert change to inject app script

* feat: Add polygon erc20 tokens

* feat: Increase migration version

* fix: Restore from QR address validator fix

* fix: Adjust wallet connect connection flow to adapt to wallet type

* fix: Make wallet fetch nfts based on the current wallet type

* fix: Make wallet fetch nfts based on the current wallet type

* fix: Try fetching transactions with moralis

* fix: Requested review changes

* fix: Error creating new wallet

* fix: Revert script

* fix: Exclude spam NFTs from nft listing API response

* Update default_erc20_tokens.dart

* replace matic with matic poly

* Add polygon wallet scheme to app links

* style: reformat default_settings_migration.dart 

* minor enhancement 

* fix using different wallet function for setting the transaction priorities 

* fix: Add chain to calls

* Add USDC.e to initial coins

* Add other default polygon node 

* Use Polygon scan
some UI fixes

* Add polygon scan api key to secrets generation code

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-12-02 04:26:43 +02:00
Matthew Fosse
3760285a64
ios/mac secure storage pin migration (potential fix) (#1205)
* ios/mac secure storage pin migration

* function call was incorrect

* Update default_settings_migration.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-11-30 23:39:09 +02:00
Konstantin Ullrich
2bddeb6ac2
Polyseed design changes (#1211)
* Add icons to Language- and Seedtype-picker to indicate it's clickability

* Add Seed Type Selector to New Wallet Page

* Rename "Advanced Privacy Settings" to "Advanced Settings"
2023-11-30 17:38:28 +02:00