Commit graph

1709 commits

Author SHA1 Message Date
OmarHatem
c94aed6fb1 Remove unused wallet_menu_item.dart 2023-02-06 18:47:20 +02:00
OmarHatem
d4e720f5c0 - Remove old wallet menu widgets
- Remove Rescan option from Electrum wallets
2023-02-06 18:46:18 +02:00
OmarHatem
c45a988481 - Fix nullability issue
- Update Flutter and Packages
2023-02-06 18:33:12 +02:00
holecekp
4444a075c6 Add Czech language 2023-02-04 15:42:41 +01:00
OmarHatem
d85805902d - Ignore Socket Exception "bad file descriptor"
- Add nullability to anypay API response failure [skip ci]
2023-02-03 14:44:13 +02:00
OmarHatem
65b2ae6680 Add LTC to twitter address parsing 2023-02-02 18:36:57 +02:00
Serhii
7425beb1ed Update localization variable 2023-02-02 13:00:44 +02:00
Serhii
50f1c051f9 Merge branch 'main' into CW-302-Update-Cake-Pay-checkout-wording-for-Bitcoin-only 2023-02-02 12:54:15 +02:00
Omar Hatem
97388a1a8d
Merge pull request #755 from cake-tech/avoid_reporting_user_network_errors
Avoid reporting user errors
2023-02-01 21:10:52 +02:00
Waffle Man
c0115b1b77
Merge branch 'cake-tech:main' into main 2023-02-01 20:15:15 +02:00
Waffle Man
cf83d0ca8c
init_urdo 2023-02-01 20:14:26 +02:00
Omar Hatem
2268e89b19
Merge pull request #743 from cake-tech/CW-287-Get-Address-from-twitter-bio
CW-287 get address from twitter bio
2023-02-01 19:40:49 +02:00
OmarHatem
15e7395fe9 Separate Exception Handler class from main [skip ci] 2023-02-01 17:37:18 +02:00
OmarHatem
08ff37e23c Add Exception for user's network issues to not be reported [skip ci] 2023-02-01 17:24:36 +02:00
Omar Hatem
aba1d80899
Merge pull request #747 from cake-tech/changenow-usdc-poly
CW-307 Mapping for ChangeNOW and SimpleSwap
2023-02-01 16:30:51 +02:00
Serhii
ef01554fdb fix openAlias address resolv 2023-01-31 21:39:08 +02:00
Omar Hatem
61050ac715
Merge pull request #752 from cake-tech/receive-screen-issue
CW-284 Fix QR code UI and logic issues
2023-01-31 19:10:53 +02:00
OmarHatem
0e9d30c915 Fixate QR background and foreground colors in all themes 2023-01-31 17:31:42 +02:00
Justin Ehrenhofer
81f59cacd9 Change to parentheses
This way we don't need to translate and create different strings for the "on", which will appear odd in languages other than English. I also added it for FIO and OpenAlias.

Further, I removed the 1 instance of openalias_alert_title. It can be removed from the localization file if/when it's convenient.

I did NOT change anything for Unstoppable, because that appeared to touch a dependency. That has its own custom (but similar) text response
2023-01-30 15:18:19 -06:00
Justin Ehrenhofer
50d19e706f Fix bttc, maticpoly, matic
bttc mapped to trx, so changed the label instead of changing the mapping

maticpoly was mislabeled on changenow

maticpoly and matic were mislabeled on simpleswap
2023-01-30 14:05:17 -06:00
Omar Hatem
e42e3f8ba4
Merge pull request #732 from cake-tech/CW-247-Exchange-confirmation-screen-address-labels
CW-247 exchange confirmation screen address labels
2023-01-30 21:24:32 +02:00
Serhii
9869cd60cc udate alert text 2023-01-30 21:15:10 +02:00
Serhii
304240f34e Merge branch 'main' into CW-287-Get-Address-from-twitter-bio 2023-01-30 21:10:53 +02:00
OmarHatem
425914ade3 - Replace QR package with another reade made one to exclude error being from painting QR
- Revert QR version change so its re-producible if it happens again
2023-01-30 20:03:47 +02:00
OmarHatem
4704d70605 Save exceptions if happened while there is an already existing report dialog [skip ci] 2023-01-30 19:33:40 +02:00
OmarHatem
4353e778bb Increase QR version to support longer addresses 2023-01-28 15:47:44 +02:00
cppethereum
076ec52546
Updating idn language code ISO 3166-1 alpha-3 2023-01-28 00:49:37 -05:00
cppethereum
0e78def2fd
amending language_service.dart for Indonesian 2023-01-28 00:36:16 -05:00
OmarHatem
ae0f9df041 Prevent multiple UI errors from showing multiple alerts [skip ci] 2023-01-27 03:49:25 +02:00
Serhii
6825b6e625 minor fixes 2023-01-26 20:05:09 +02:00
Omar Hatem
194902d8cb
Merge pull request #733 from cake-tech/CW-296-Edit-sub-address-grey-screen
CW-296 fix editing label subaddresses
2023-01-26 19:35:06 +02:00
Serhii
ed30cf1e13 [skip ci] minor fixes 2023-01-26 19:07:19 +02:00
Serhii
cce56a61a3 minor fixes 2023-01-26 13:33:33 +02:00
Serhii
71d5a9b790 Merge branch 'main' into CW-247-Exchange-confirmation-screen-address-labels 2023-01-26 11:54:03 +02:00
Justin Ehrenhofer
3b23f68b27 usdcpoly -> usdcmatic for ChangeNOW 2023-01-25 11:09:02 -06:00
Serhii
9ec006bb03 Merge branch 'main' into CW-302-Update-Cake-Pay-checkout-wording-for-Bitcoin-only 2023-01-25 18:31:30 +02:00
Serhii
337e311d4f Update Cake Pay checkout wording 2023-01-25 18:21:10 +02:00
OmarHatem
ddd5b1ecb3 Fix QR scheme to compare with currency full name not the abbreviated one 2023-01-25 15:29:59 +02:00
Serhii
40569962c8 Merge branch 'main' into CW-287-Get-Address-from-twitter-bio 2023-01-24 20:25:56 +02:00
Serhii
83c1907e31 add twitter api 2023-01-24 20:24:46 +02:00
OmarHatem
477d46b1d2 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-237-enhance-error-catching-reporting 2023-01-24 03:03:07 +02:00
OmarHatem
c1c49e878e [skip ci]
- Revert disabling UI error reporting as it will also disable some errors from the view models
- Fix warnings in node list row (potential nullability issue fix)
2023-01-24 02:46:22 +02:00
Justin Ehrenhofer
38012abb56 Change Ionia ToS links 2023-01-23 12:37:20 -06:00
Serhii
912a4af866 fix nullable type 2023-01-20 23:18:58 +02:00
Serhii
2fa7365218 small fix 2023-01-20 21:50:45 +02:00
Serhii
af01cb3243 minor fixes 2023-01-20 21:44:08 +02:00
Omar Hatem
5b5c5bad66
Merge pull request #711 from cake-tech/CW-269-research-if-we-can-avoid-re-requesting-camera-permission-on-web-view-in-buy-screen
CW-269 replace webview plugin with inappwebview plugin
2023-01-20 15:41:22 +02:00
Serhii
b8f74e50db [skip ci] specify class type 2023-01-20 14:48:44 +02:00
Omar Hatem
e6f562b43e
Merge branch 'main' into main 2023-01-19 16:10:17 +02:00
qweewqi
e022d4dfcf
mmr lang 2023-01-19 03:36:48 +02:00
Omar Hatem
131f085f4c
Trigger workflow build 2023-01-18 21:55:01 +02:00
Godwin Asuquo
fa16d5e278 [skip ci] remove unrelated files 2023-01-18 17:11:35 +01:00
Godwin Asuquo
e71e8c8350 remove unrelated files 2023-01-18 17:01:09 +01:00
Godwin Asuquo
2393fca435 [skip ci] Update permission check logic 2023-01-18 09:21:07 +01:00
Godwin Asuquo
1b92a86842 Update permission check logic 2023-01-18 09:01:11 +01:00
Serhii
8c016e946c fix editing label subaddresses 2023-01-17 14:14:02 +02:00
Godwin Asuquo
aced1ed147 Update permission status 2023-01-16 19:25:29 +01:00
Godwin Asuquo
3d5bce903d Fix android permission request 2023-01-16 17:46:04 +01:00
Serhii
4636aacae7 formatting 2023-01-16 17:31:31 +02:00
Serhii
b4249f21a9 add payout address item to confirmation screen 2023-01-16 17:27:49 +02:00
Serhii
7f37bd3d59 update localization files 2023-01-14 23:29:47 +02:00
Serhii
25a71fa31e Merge branch 'main' into CW-252-Add-notice-when-connecting-to-.onion-node 2023-01-13 15:43:29 +02:00
Godwin Asuquo
9bc337534c Fix initial url 2023-01-12 18:06:07 +01:00
OmarHatem
d79b481d3e Wrap sending error file in try/catch for unexpected behaviors [skip ci] 2023-01-12 17:08:38 +02:00
Omar Hatem
fa655fcea8
Merge pull request #694 from cake-tech/CW-222-Address-book-incorrect-header-color
CW-222 fix header color
2023-01-12 15:37:32 +02:00
HardenedSteel
1c139386a7 Add Turkish Language 2023-01-12 05:45:30 +03:00
OmarHatem
43dc729db4 Trim the content scanned via QR to remove extra spaces/new lines 2023-01-10 19:52:53 +02:00
Godwin Asuquo
3cb5e5b2ee Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-269-research-if-we-can-avoid-re-requesting-camera-permission-on-web-view-in-buy-screen 2023-01-10 18:18:04 +01:00
Godwin Asuquo
6434f36f1a update webview permission implementation 2023-01-10 18:14:26 +01:00
OmarHatem
fcde1bd7b6 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-237-enhance-error-catching-reporting
 Conflicts:
	README.md
2023-01-10 01:46:05 +02:00
OmarHatem
8d68ccfc7b Ignore UI issues from exceptions report 2023-01-09 20:03:26 +02:00
OmarHatem
a373253fd2 Add localizations for error dialog content 2023-01-09 18:16:50 +02:00
OmarHatem
e904c0a7b7 Show popup on un-caught exceptions to send errors via email 2023-01-06 19:42:37 +02:00
xd
c11be70948 Merge branch 'main' of https://github.com/cake-tech/cake_wallet 2023-01-06 17:27:18 +02:00
xd
15d5375eb6 Add Support for Arabic Language 2023-01-06 17:14:33 +02:00
OmarHatem
baeff1ea14 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-237-enhance-error-catching-reporting 2023-01-06 16:18:21 +02:00
Omar Hatem
71350c2953
Merge pull request #698 from maddymodd/main
Add thai language localization file
2023-01-06 15:19:29 +02:00
Godwin Asuquo
3dbf5d8b8c update onramperpage webview 2023-01-06 08:08:36 +01:00
Mathias Herberts
768320003c Fixed FR translations. Added localized strings in contact list 2023-01-05 22:39:32 +01:00
rosedaler
7551181b09 Add thai language localization file 2023-01-05 11:39:08 -05:00
Serhii
e53602afa3 Add alert for onion nodes 2023-01-05 12:53:05 +02:00
Godwin Asuquo
b8293ac0ae replace webview plugin with inappwebview plugin to check camera permission once in app 2023-01-05 09:40:05 +01:00
Serhii
e579839596 fix header color 2023-01-04 13:59:59 +02:00
Omar Hatem
a0e98e6d90
Merge pull request #624 from cake-tech/fix-trade-details-screen-UI
fix UI on trade details screen with new design CW-138
2023-01-03 16:04:37 +02:00
Omar Hatem
9bd0de6d08
Merge pull request #625 from cake-tech/CW-122-Rework-filter-on-the-transactions-list-screen
[CW-122] rework filter on the transactions list screen
2022-12-28 20:50:17 +02:00
Serhii
daa9fc4acc minor fixes 2022-12-28 14:00:59 +02:00
Omar Hatem
4bf2fa6216
Merge pull request #525 from cake-tech/CW-175-Refactoring-of-crypto-currency-list
[CW-175] refactoring of crypto currency list
2022-12-27 23:02:31 +02:00
Serhii
dec818a27a fix localisation key name 2022-12-26 21:18:52 +02:00
Serhii
ca79052914 PR fixes 2022-12-26 20:41:21 +02:00
Serhii
d893562dad update localization 2022-12-24 01:09:54 +02:00
Serhii
89028500e7 extract SectionDivider widget 2022-12-23 23:58:39 +02:00
Omar Hatem
ffed123f18
Merge pull request #683 from cake-tech/CW-286-add-cake-pay-web-card
[CW-286] Add Cake Pay Web Card to marketplace
2022-12-22 18:40:19 +02:00
Omar Hatem
915b265f69
Merge pull request #680 from cake-tech/CW-275-fix-picker-search-issue
Fix Settings Pickers Search
2022-12-21 21:04:52 +02:00
OmarHatem
e005e2aed7 Add Cake Pay Web Card to marketplace 2022-12-21 19:15:02 +02:00
Omar Hatem
501e62829b
Merge pull request #608 from cake-tech/CW-167-Custom-redeem-screens-fix
CW-258 fix increasing brightness
2022-12-19 16:04:36 +02:00
Serhii
00c008ed8b Merge branch 'main' into CW-122-Rework-filter-on-the-transactions-list-screen 2022-12-16 15:14:13 +02:00
OmarHatem
6148b91c8a Fix Generic Type being enforced to extend Object 2022-12-16 14:33:33 +02:00
Omar Hatem
3f7889dac0
Merge pull request #677 from cake-tech/fix-not-opening-send-screen-from-uri
Fix Send screen not opening from URI
2022-12-15 19:57:14 +02:00
Omar Hatem
34f0e0912b
Merge pull request #675 from cake-tech/CW-280-fix-pin-timeout
[CW-280] Fix PIN timeout issue
2022-12-15 19:35:06 +02:00
OmarHatem
4c9fd5db65 Navigate to send screen even if the user does not need to authenticate 2022-12-15 18:00:56 +02:00
OmarHatem
f9566cf33e Check whether it needs to request auth or not AFTER the user gets back to the app 2022-12-15 14:14:54 +02:00
OmarHatem
586ad210b3 use defined bitcoin instead of direct import to transaction priority 2022-12-15 02:29:30 +02:00
OmarHatem
eb0ebbac41 Validate bitcoin's saved transaction priority [skip ci] 2022-12-15 02:05:00 +02:00
OmarHatem
710de57847 Validate bitcoin's saved transaction priority 2022-12-15 02:00:59 +02:00
Omar Hatem
d1832aa510
Merge branch 'main' into CW-225-pin-timeout 2022-12-13 20:40:20 +02:00
Omar Hatem
b21bcf3652
Merge pull request #657 from cake-tech/CW-66-open-app-from-qr-code
Cw 66 open app from qr code
2022-12-13 20:38:06 +02:00
Godwin Asuquo
dbf214ee1b [skip ci] fix issues from code review 2022-12-13 18:26:25 +01:00
Godwin Asuquo
b486edb803 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-12-13 16:24:28 +01:00
Godwin Asuquo
f15bc28219 [skip ci] fix issues from code review 2022-12-13 16:19:31 +01:00
Godwin Asuquo
0d889416d4 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-161-partial-redemption-fix 2022-12-13 06:44:34 +01:00
OmarHatem
30ef231d24 Fix fill data condition 2022-12-12 22:16:46 +02:00
Justin Ehrenhofer
ab989697ab
Merge pull request #653 from cake-tech/CW-235-Today's-Transactions-disappear-after-restarting-the-app
[CW-235] fix updateTradeList bug
2022-12-12 13:30:40 -06:00
Justin Ehrenhofer
53e713a105 Move address book above security settings in menu 2022-12-12 12:51:28 -06:00
Serhii
ad33c5373d Merge branch 'main' into CW-235-Today's-Transactions-disappear-after-restarting-the-app 2022-12-12 18:57:19 +02:00
Justin Ehrenhofer
b5ba26adcd [CW-276] Privacy settings icon, name, and position 2022-12-12 10:07:37 -06:00
OmarHatem
826ae46b07 - Fix not filling fiat amount
- Fix conflicts with master
2022-12-12 18:01:42 +02:00
OmarHatem
01024b6694 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-66-open-app-from-qr-code
 Conflicts:
	lib/di.dart
	lib/src/screens/send/send_page.dart
	lib/src/screens/send/widgets/send_card.dart
	lib/view_model/send/send_view_model.dart
	res/values/strings_de.arb
	res/values/strings_en.arb
	res/values/strings_es.arb
	res/values/strings_fr.arb
	res/values/strings_hi.arb
	res/values/strings_hr.arb
	res/values/strings_it.arb
	res/values/strings_ja.arb
	res/values/strings_ko.arb
	res/values/strings_nl.arb
	res/values/strings_pl.arb
	res/values/strings_pt.arb
	res/values/strings_ru.arb
	res/values/strings_uk.arb
	res/values/strings_zh.arb
2022-12-12 15:41:16 +02:00
Serhii
2da50776d1 code formatting 2022-12-12 14:28:53 +02:00
Serhii
b1120cf2f8 fix filter for SideShift 2022-12-12 14:01:37 +02:00
Serhii
7d08bb0e76 Add SimpleSwap 2022-12-12 00:37:03 +02:00
Serhii
b536973077 make checkbox stateless 2022-12-12 00:07:05 +02:00
Serhii
c57507e530 redesigh checkbox 2022-12-10 12:56:37 +02:00
Serhii
ff28dfbb9c Rename Change.NOW 2022-12-10 11:40:04 +02:00
Serhii
b9ef71749e Merge branch 'main' into CW-122-Rework-filter-on-the-transactions-list-screen 2022-12-09 23:35:14 +02:00
Godwin Asuquo
59484e5b91 Fix formatting 2022-12-09 20:19:23 +01:00
Godwin Asuquo
6836ac6d1a Fix formatting 2022-12-09 20:18:36 +01:00
Godwin Asuquo
f6c5f96929 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-12-09 19:42:36 +01:00
Godwin Asuquo
07ea937d37 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-12-09 19:42:07 +01:00
OmarHatem
87e72eabdf Fix conflicts with main [skip ci] 2022-12-09 20:36:51 +02:00
OmarHatem
f97a4fec28 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-239-fix-restore-from-backup-using-6-digit-pin
 Conflicts:
	lib/store/settings_store.dart
2022-12-09 20:29:50 +02:00
OmarHatem
899e999d78 check nullability of wallet and disable fiat api state before updating rates [skip ci] 2022-12-09 20:04:44 +02:00
OmarHatem
fde1ea74de Remove duplicate fetching for fiat rate [skip ci] 2022-12-09 19:55:23 +02:00
OmarHatem
5310c265a7 Separate update fiat rate in a function to enhance readability [skip ci] 2022-12-09 19:41:54 +02:00
Godwin Asuquo
9ef1186c45 Fix issues from code review 2022-12-09 17:08:52 +01:00
OmarHatem
4140742bb9 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-239-fix-restore-from-backup-using-6-digit-pin
 Conflicts:
	lib/store/settings_store.dart
2022-12-09 15:59:25 +02:00
OmarHatem
3c1f619395 Update Settings Store attributes within reload function to get latest shared prefs data 2022-12-09 15:57:45 +02:00
OmarHatem
ae1d2a3bec Add validation on node input in advanced privacy settings 2022-12-08 21:33:14 +02:00
OmarHatem
1ef8ef269c Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-118-Allow-disabling-of-fiat 2022-12-08 21:17:59 +02:00
Omar Hatem
3edba88b96
Merge pull request #667 from cake-tech/CW-271-fixed-rate-incorrect-amount
[Cw 271] fixed-rate incorrect amount
2022-12-08 21:14:54 +02:00
OmarHatem
4b1e9a10eb - Rename calculateAmount to fetchRate to be more descriptive
- Add Disable Exchange change reaction to save in shared prefs [skip ci]
2022-12-08 21:14:42 +02:00
OmarHatem
ce19be56a0 - Fix haven and litecoin fee transaction priority issue
- Revert removing fiat rate update and use it to update fiat rate periodically if Fiat API is not disabled
2022-12-08 17:23:17 +02:00
OmarHatem
6395d6b2f7 - Add Disable fiat API option to advanced privacy settings 2022-12-08 14:10:58 +02:00
OmarHatem
fddac23b94 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-118-Allow-disabling-of-fiat
 Conflicts:
	res/values/strings_de.arb
	res/values/strings_en.arb
	res/values/strings_es.arb
	res/values/strings_fr.arb
	res/values/strings_hi.arb
	res/values/strings_hr.arb
	res/values/strings_it.arb
	res/values/strings_ja.arb
	res/values/strings_ko.arb
	res/values/strings_nl.arb
	res/values/strings_pl.arb
	res/values/strings_pt.arb
	res/values/strings_ru.arb
	res/values/strings_uk.arb
	res/values/strings_zh.arb
2022-12-08 14:01:20 +02:00
Omar Hatem
f3b89a2c7f
Merge pull request #601 from cake-tech/CW-159-Filter-address-book-by-type
[CW-159] filter contacts and wallets by type
2022-12-08 13:51:01 +02:00
Omar Hatem
346376aa4e
Merge pull request #666 from cake-tech/CW-180-advanced-startup-privacy-settings
[CW 180] advanced startup privacy settings
2022-12-08 13:50:40 +02:00
Serhii
2becd32ab8 Merge branch 'CW-118-Allow-disabling-of-fiat' of https://github.com/cake-tech/cake_wallet into CW-118-Allow-disabling-of-fiat 2022-12-08 09:56:08 +02:00
Serhii
a1dd22232b [skip ci] fix fiat settings display 2022-12-08 09:56:04 +02:00
Omar Hatem
192d45e1b2
Merge pull request #665 from cake-tech/fix-navigation-error-on-app-first-open
Fix navigation error on app first open
2022-12-08 01:26:07 +02:00
OmarHatem
d0c22aa082 - Fix Change now request missing type
- Only send either to or from amount depending on fixed rate
- take the trade amount from the response
2022-12-08 01:21:45 +02:00
OmarHatem
d2fe7b26e0 Remove unused fiat_rate_update.dart [skip ci] 2022-12-08 00:26:19 +02:00
OmarHatem
dac0b02c7d Disable updating fiat rate if the option is disabled [skip ci] 2022-12-08 00:11:09 +02:00
OmarHatem
55b37164dc - Make getters to ease attribute access
- Add the old 'disable_fiat' translation
- rename getters to be more bool like names
2022-12-07 22:07:32 +02:00
OmarHatem
0da48f66fe Delegate returning rate to each provider to handle its logic internally 2022-12-07 21:09:15 +02:00
Godwin Asuquo
0203f686c5 fix issue with custom redeem amount remaining 2022-12-07 18:12:45 +01:00
OmarHatem
8ff8cf38b8 Check if the provider supportsFixedRate only if fixed rate is applied [skip ci] 2022-12-07 18:15:30 +02:00
OmarHatem
8b333f2925 - Add disable exchange to the export/import flow
- Save changes to Disable Exchange
2022-12-07 17:14:27 +02:00
OmarHatem
c235df8935 - Fix reloading settings store
- Revert changes to backup_service.dart
2022-12-07 16:41:04 +02:00
Serhii
37ca795756 [skip ci] change fiat api UI to swich mode 2022-12-07 15:31:33 +02:00
Serhii
228e157b39 [skip ci] Update localization 2022-12-07 14:04:14 +02:00
Serhii
e472c84466 Merge branch 'main' into CW-118-Allow-disabling-of-fiat 2022-12-07 12:47:38 +02:00
Serhii
f4148e0989 [skip ci] rework UI for disable fiat mode 2022-12-07 12:44:08 +02:00
OmarHatem
a9f0466825 Revert SimpleSwap changes since we disabled it for fixed rate 2022-12-06 20:10:26 +02:00
OmarHatem
f14c01303f - Add whether this provide supports fixed rate or not
- Fix Change now fixed rate exchange due to wrong rate id
2022-12-06 19:23:46 +02:00
Serhii
214c1fe0db Merge branch 'main' into CW-118-Allow-disabling-of-fiat 2022-12-06 17:37:12 +02:00
OmarHatem
e65bd87f06 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-271-fixed-rate-incorrect-amount 2022-12-06 17:33:08 +02:00
Omar Hatem
50fd6accef
Merge pull request #623 from cake-tech/fix-trade-datails-screen-for-SideShift
CW-255 SideShift confirm sending screen bug
2022-12-06 17:30:05 +02:00
Omar Hatem
fa5c705bc8
Add nullability to status String [skip ci] 2022-12-06 17:29:44 +02:00
Serhii
f29f17476c add null check [skip ci] 2022-12-06 17:14:07 +02:00
OmarHatem
8514887da6 Negate is Fixed rate mode in simpleswap 2022-12-06 15:40:40 +02:00
OmarHatem
36c2702688 - Recalculate best rate if isFixedRate changed
- check limits against the receive amount if isFixedRate
2022-12-06 13:30:11 +02:00
Serhii
35b7c05bc1 fix null check 2022-12-06 11:41:25 +02:00
Godwin Asuquo
c156691e09 [skip ci] undo formatting in di 2022-12-05 20:14:46 +01:00
Godwin Asuquo
e4576fe699 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-12-05 19:58:42 +01:00
OmarHatem
d19f7b6d38 Remove unused state 'denied' from authentication state [skip ci] 2022-12-05 18:40:53 +02:00
OmarHatem
3aa0e626ff Pass selected currency to the view model instead of the UI 2022-12-05 18:37:35 +02:00
Omar Hatem
945dc8e859
Merge pull request #650 from cake-tech/CW-73-check-support-of-exchange-for-open-alias
[CW-73] check support of exchange for open alias
2022-12-05 16:54:07 +02:00
Godwin Asuquo
65cbdd3fbb Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-12-05 13:33:17 +01:00
OmarHatem
9eb8a442d8 Allow setting the new added node as the current selected node 2022-12-04 17:30:09 +02:00
OmarHatem
7e64399476 remove un-necessary attributes passing 2022-12-04 05:27:49 +02:00
OmarHatem
9d64789983 Fix Conflict with main
Rename classes to advanced privacy settings to avoid confusion between settings/privacy-settings
2022-12-04 05:08:42 +02:00
OmarHatem
f792b58338 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-180-advanced-startup-privacy-settings
 Conflicts:
	lib/di.dart
	lib/routes.dart
	lib/view_model/node_list/node_create_or_edit_view_model.dart
	res/values/strings_de.arb
	res/values/strings_en.arb
	res/values/strings_es.arb
	res/values/strings_fr.arb
	res/values/strings_hi.arb
	res/values/strings_hr.arb
	res/values/strings_it.arb
	res/values/strings_ja.arb
	res/values/strings_ko.arb
	res/values/strings_nl.arb
	res/values/strings_pl.arb
	res/values/strings_pt.arb
	res/values/strings_ru.arb
	res/values/strings_uk.arb
	res/values/strings_zh.arb
2022-12-04 04:34:32 +02:00
Omar Hatem
dc60123f79
Merge pull request #529 from cake-tech/CW-182-allow-trusted-nodes
Cw 182 allow trusted nodes
2022-12-04 02:17:35 +02:00
Omar Hatem
707df3717d
Merge pull request #662 from cake-tech/CW-259-fix-change-now-trade
[CW-259] Fix Change now trade issue
2022-12-03 23:49:45 +02:00
OmarHatem
9330859177 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into fix-navigation-error-on-app-first-open 2022-12-03 23:39:07 +02:00
Omar Hatem
6be2d6f2ef
Merge pull request #648 from cake-tech/CW-251-fix-duplicate-nodes
CW-251-fix-duplicate-nodes
2022-12-03 23:38:07 +02:00
OmarHatem
98da1c221d revert nullability change with navigation in authentication state change [skip_ci] 2022-12-03 23:36:27 +02:00
OmarHatem
11a5e97711 Fix navigation error when state is changed to denied at app first start [skip_ci] 2022-12-03 23:34:23 +02:00
Serhii
4c7a0a8cb9 rework _getCurrencyImage func 2022-12-03 00:34:34 +02:00
Serhii
5f1e8e9d33 remove isEditable parameter 2022-12-02 23:36:22 +02:00
OmarHatem
116e468581 calculate best rate based on deposit/receive amount 2022-12-02 23:20:06 +02:00
OmarHatem
3bcd31ac44 calculate best rate based on min/max amount 2022-12-02 20:38:16 +02:00
OmarHatem
d961a4645e Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-239-fix-restore-from-backup-using-6-digit-pin 2022-12-02 16:59:56 +02:00
Omar Hatem
a281124c18
Merge pull request #654 from cake-tech/CW-234-Gift-cards-filter-button-null-exception
[CW-234] gift cards filter button null exception
2022-12-02 15:03:33 +02:00
OmarHatem
091ac41ee2 allow null minimum amount in limits 2022-12-01 22:37:13 +02:00
OmarHatem
dd99508d3e Fix static amount value for determining best rate and replace it with the input the user types 2022-12-01 22:11:51 +02:00
Omar Hatem
bfcd3ee002
Merge pull request #643 from cake-tech/CW-223-settings-reorganization
Cw 223 settings reorganization
2022-12-01 21:37:43 +02:00
OmarHatem
914fffe51c Initialize wallet directly from constructor argument [skip ci] 2022-12-01 21:33:17 +02:00
Godwin Asuquo
03748d680a [skip ci] format files 2022-12-01 21:21:51 +02:00
OmarHatem
cbe31aa5aa Revert allowing nullable values for input and refund addresses 2022-12-01 18:21:19 +02:00
OmarHatem
47764835c3 Fix nullability issue in create trade response 2022-12-01 18:09:21 +02:00
Omar Hatem
c547295a02
Merge pull request #658 from cake-tech/CW-257-bitcoin-explorer-mempool.space
[CW-257] Change Bitcoin block explorer to mempool.space
2022-12-01 17:26:41 +02:00
OmarHatem
ffd0079e1d Check if user already has onion node before adding it 2022-12-01 14:29:03 +02:00
Serhii
292c4c396c remove HUSD and rename BTTBSC 2022-11-30 23:53:57 +02:00
Godwin Asuquo
34cfe7591f Fix authentication required when minimize app 2022-11-30 22:57:48 +02:00
Godwin Asuquo
8511805ee3 Fix correct adjusted amount for custom redeem 2022-11-30 10:00:05 +02:00
OmarHatem
59ee7aa975 Add onion node to already existing users 2022-11-30 01:37:56 +02:00
Serhii
fa91ccfdbf Merge branch 'main' into fix-trade-datails-screen-for-SideShift 2022-11-29 20:05:38 +02:00
Serhii
5cb4b7e2d4 Merge branch 'main' into fix-trade-details-screen-UI 2022-11-29 20:04:44 +02:00
Justin Ehrenhofer
6685fb5804 [CW-257] Change Bitcoin block explorer to mempool.space 2022-11-29 11:05:38 -06:00
OmarHatem
0d685823ce Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-66-open-app-from-qr-code
 Conflicts:
	res/values/strings_de.arb
	res/values/strings_en.arb
	res/values/strings_es.arb
	res/values/strings_fr.arb
	res/values/strings_hi.arb
	res/values/strings_hr.arb
	res/values/strings_it.arb
	res/values/strings_ja.arb
	res/values/strings_ko.arb
	res/values/strings_nl.arb
	res/values/strings_pl.arb
	res/values/strings_pt.arb
	res/values/strings_ru.arb
	res/values/strings_uk.arb
	res/values/strings_zh.arb
2022-11-29 17:45:31 +02:00
Godwin Asuquo
2eb9db4ca6 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-161-partial-redemption-fix 2022-11-29 17:06:35 +02:00
OmarHatem
03ea516e63 Add initial alert for errors 2022-11-29 14:03:14 +02:00
Serhii
ab499c9069 Merge branch 'main' into CW-122-Rework-filter-on-the-transactions-list-screen 2022-11-28 22:33:54 +02:00
Serhii
1a420a7470 Merge branch 'main' into CW-221-Change-synchronization-status-text 2022-11-28 22:24:25 +02:00
Serhii
189a886fe2 Merge branch 'main' into CW-175-Refactoring-of-crypto-currency-list 2022-11-28 22:21:59 +02:00
Serhii
a5cfc7fa61 Merge branch 'main' into CW-159-Filter-address-book-by-type 2022-11-28 22:20:04 +02:00
Serhii
84c563a922 Merge branch 'main' into CW-167-Custom-redeem-screens-fix 2022-11-28 22:13:15 +02:00
Serhii
87cdd128ef Merge branch 'main' into CW-234-Gift-cards-filter-button-null-exception 2022-11-28 22:04:47 +02:00
Godwin Asuquo
36bf614b4c Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-239-fix-restore-from-backup-using-6-digit-pin 2022-11-28 19:00:33 +02:00
Godwin Asuquo
dca2d94f1f Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-73-check-support-of-exchange-for-open-alias 2022-11-28 18:43:37 +02:00
Godwin Asuquo
7da2de60cb Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-11-28 18:27:21 +02:00
OmarHatem
a51384bd06 Remove unused nodes_list_page.dart 2022-11-28 14:04:03 +02:00
Serhii
ec15a9b229 fix updateTradeList bug 2022-11-28 00:53:20 +02:00
OmarHatem
51ea377a52 Temporarily comment run app on error of run zone guard 2022-11-27 14:44:35 +02:00
OmarHatem
79fb1b91d4 Check for Nodes if exists before adding them in nodes
Fix nullability issue due to early access
Fix Nodes_list,yml file structure
2022-11-26 16:13:54 +02:00
OmarHatem
0188089bd8 Remove unused nodes list page route 2022-11-26 14:07:01 +02:00
OmarHatem
08edd4d8ff Add types for OtherSettingsViewModel dependencies 2022-11-26 02:33:37 +02:00
Godwin Asuquo
3acbfbae79 Fix issues from code review 2022-11-25 22:51:07 +02:00
OmarHatem
7b99e409a9 Send error file via email 2022-11-25 18:59:47 +02:00
Godwin Asuquo
7874009854 Fix restore from backup using 6 digit-pin 2022-11-24 16:34:29 +02:00
OmarHatem
34746c31c8 Save exceptions to local file 2022-11-24 16:27:29 +02:00
OmarHatem
68c20641b9 Save exceptions locally 2022-11-23 23:02:18 +02:00
Godwin Asuquo
63df8c6b6f Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-223-settings-reorganization 2022-11-23 22:54:24 +02:00
Godwin Asuquo
5462836b8d seperate settings view model 2022-11-23 19:06:41 +02:00
OmarHatem
38da6e73d4 Wrap app in zone guard 2022-11-23 18:06:09 +02:00
Serhii
d7d3b78905 refactoring mapFomString method 2022-11-23 13:47:02 +02:00
Godwin Asuquo
0fcd72f821 format indent code 2022-11-23 09:05:47 +02:00
Godwin Asuquo
818a8afe20 [CW-225] Add pin timeout setting 2022-11-22 22:52:28 +02:00
Serhii
50d32021f6 Merge branch 'main' into CW-118-Allow-disabling-of-fiat 2022-11-22 19:48:43 +02:00
Serhii
92328c4102 move logic to viewmodels 2022-11-22 19:33:24 +02:00
Omar Hatem
9b32c9c956
CW-227 Add Disable Exchange option to settings (#642)
* Add Disable Exchange option to settings
2022-11-21 21:18:18 -05:00
Omar Hatem
bcf09b048c
Cw 220 fix grey exchange screen (#641)
* Fix nullability issue for ChangeNow rateId

* Handle concurrent modification error from Splay Tree
2022-11-21 20:52:03 -05:00
Serhii
2db7534480 small fix 2022-11-22 00:07:27 +02:00
Serhii
05f1b17a73 fix contact list bug 2022-11-21 22:41:09 +02:00
Serhii
1a089eaa60 Merge branch 'main' into CW-159-Filter-address-book-by-type 2022-11-21 22:03:06 +02:00
Serhii
19c8a421b2 Merge branch 'main' into CW-221-Change-synchronization-status-text 2022-11-21 13:39:57 +02:00
Godwin Asuquo
c67e8c5037 [CW-233] Fix missing display balance setting 2022-11-18 20:53:35 +02:00
OmarHatem
a82803de3a Fix Casting issue 2022-11-18 20:32:52 +02:00
mkyq
ab305e22a2
Remove duplication for qr codes. (#628) 2022-11-16 18:30:35 -05:00
Serhii
91d7e87334 fix gift card filter colors 2022-11-16 23:31:42 +02:00
Godwin Asuquo
549975ecc1 Reorganize settings 2022-11-16 09:29:14 +02:00
Serhii
9ce8a1944b fix empty containers 2022-11-14 22:50:07 +02:00
Serhii
3f5c637b18 Merge branch 'main' into CW-221-Change-synchronization-status-text 2022-11-14 12:02:33 +02:00
Serhii
269b4c25ab Merge branch 'main' into CW-122-Rework-filter-on-the-transactions-list-screen 2022-11-14 11:21:06 +02:00
Serhii
74cbb6f001 fix UI with new design CW-138 2022-11-13 21:18:01 +02:00
Serhii
6988637266 fix fetching trade state for SideShift 2022-11-13 20:06:45 +02:00
Godwin Asuquo
668e9fcf07 [CW-73] Fix matching .exchange domain to openAlias 2022-11-11 15:55:21 +02:00
Serhii
7d49dc4761
rework confirm sending screen for cake pay (#603)
* rework confirm sending allert

* remove confirm_modal.dart

* fix  text color and buttons size
2022-11-10 13:08:52 -05:00
Serhii
bf86fd6ed0 update localization 2022-11-10 17:38:23 +02:00
Serhii
4269f18d01 fix colors 2022-11-10 16:43:01 +02:00
Serhii
1f08d87471 Rework filter on the transactions list screen 2022-11-10 13:25:03 +02:00
OmarHatem
ec10732eda Save node on continue 2022-11-09 19:40:12 +02:00
OmarHatem
ba783982e4 Update branch to null safety
Fix Conflicts with main
2022-11-09 17:53:50 +02:00
OmarHatem
6210d8fba6 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-180-advanced-startup-privacy-settings
 Conflicts:
	cw_core/lib/node.dart
	lib/di.dart
	lib/router.dart
	lib/routes.dart
	lib/view_model/node_list/node_create_or_edit_view_model.dart
	res/values/strings_de.arb
	res/values/strings_en.arb
	res/values/strings_es.arb
	res/values/strings_fr.arb
	res/values/strings_hi.arb
	res/values/strings_hr.arb
	res/values/strings_it.arb
	res/values/strings_ja.arb
	res/values/strings_ko.arb
	res/values/strings_nl.arb
	res/values/strings_pl.arb
	res/values/strings_pt.arb
	res/values/strings_ru.arb
	res/values/strings_uk.arb
	res/values/strings_zh.arb
2022-11-09 15:40:12 +02:00
Serhii
7d92a964c7 Change synchronization status text
changed the status from "Starting sync" to "Attempting sync".
2022-11-09 12:14:21 +02:00
mkyq
d99aac9d98
Cast rateId as optional String for calculateAmount for ChangeNow api. (#612) 2022-11-08 15:57:33 -05:00
Godwin Asuquo
85ad6fa7ab Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-161-partial-redemption-fix 2022-11-08 19:55:33 +02:00
OmarHatem
f68798dd19 Move handling deep links to app root 2022-11-08 18:12:01 +02:00
Serhii
dfb52223e0 fix increasing brightness
brightness decreases after leaving "gift card barcode screen"
2022-11-08 17:49:51 +02:00
OmarHatem
f078457c7b Update Branch to null safety
Add deep linking to iOS
2022-11-08 16:56:27 +02:00
OmarHatem
7c7de65cdf Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-66-open-app-from-qr-code
 Conflicts:
	lib/di.dart
	lib/src/screens/send/send_page.dart
	lib/src/screens/send/widgets/send_card.dart
	lib/utils/payment_request.dart
	res/values/strings_de.arb
	res/values/strings_en.arb
	res/values/strings_es.arb
	res/values/strings_fr.arb
	res/values/strings_hi.arb
	res/values/strings_hr.arb
	res/values/strings_it.arb
	res/values/strings_ja.arb
	res/values/strings_ko.arb
	res/values/strings_nl.arb
	res/values/strings_pl.arb
	res/values/strings_pt.arb
	res/values/strings_ru.arb
	res/values/strings_uk.arb
	res/values/strings_zh.arb
2022-11-08 14:44:58 +02:00
Omar Hatem
71444219be
Cw 218 fix change pin using bio auth (#599)
* - push change pin page as a replacement for auth page to avoid closing it once its opened
- Add cool-down duration after popping flushbars and pushing new routes
2022-11-07 15:35:34 -05:00
mkyq
2696c242a9
Removed force white background color for CupertinoDatePicker. (#605) 2022-11-07 13:36:57 -05:00
mkyq
8981ebad56
Fix parsing of json to Map<String, dynamic> for ionia api. Update sing in and verify email methods for ionia api. (#604) 2022-11-07 13:16:09 -05:00
Serhii
2cd748c151 filter contacts and wallets by type 2022-11-05 20:05:55 +02:00
mkyq
5d741b183f
Add default values for hive fields for Node, UnspentCoinsInfo, Wallet… (#598)
* Add default values for hive fields for Node, UnspentCoinsInfo, WalletInfo, Order, Contact, TransactionDescription, Trade
2022-11-04 15:55:21 -04:00
Serhii
c99e5f6f31 fix localization 2022-11-04 14:28:41 +02:00
Serhii
d4c7004a3c add Disable fiat mode 2022-11-04 13:58:04 +02:00
mkyq
3ec414ae66
Add adapters for some of bitcoin, litecoin and monero transactions priorities. Replace direct calls of transaction priorities for exchange_view_model. (#593) 2022-11-03 19:13:13 -04:00
Justin Ehrenhofer
30bac3cb6c
Add Anypay token (#518)
* Add AnyPay token

for interacting with the AnyPay API for Cake Pay payments

* Add missing commas

Co-authored-by: mkyq <53115730+mkyq@users.noreply.github.com>
2022-11-03 16:53:33 -04:00
OmarHatem
b8eaf98ff1 Merge branch 'flutter-upgrade' of https://github.com/cake-tech/cake_wallet into CW-182-allow-trusted-nodes 2022-11-03 21:34:20 +02:00
mkyq
0c995330e3
Change default transaction priorities for monero and haven to automatic. (#589) 2022-11-03 15:21:46 -04:00
Serhii
a52f47220e
show warning if exchanging with slow fee (#579)
* show warning if exchanging with slow fee

* Update setDefaultTransactionPriority for return type void; update for use MoneroTransactionPriority.automatic instead of MoneroTransactionPriority.regular.

Co-authored-by: M <m@cakewallet.com>
2022-11-03 15:21:35 -04:00
mkyq
8e70b611d0
move amount_converter to cw_core (#588)
Co-authored-by: Serhii <borodenko.sv@gmail.com>
2022-11-03 14:45:50 -04:00
Serhii
b27b55388c
add warning text to the seed screen (#587)
* Add warning text to the seed screen

* fix font size
2022-11-02 15:53:14 -04:00
Serhii
0040bca853
Add partners contacts (#577)
Contacts of SideShift and SimpleSwap partners added to the Support section
2022-11-02 14:11:05 -04:00
Serhii
8e0ef694d6
fix text color for Dark Mode (#578) 2022-11-02 13:12:39 -04:00
Omar Hatem
e8b3a0648a
Fix Navigation issue where popping 2 routes at the same time (#584) 2022-11-02 13:11:53 -04:00
mkyq
b182c26ff2
Update hive types: UnspentCoinsInfo, Template, ExchangeTemplate. (#583) 2022-11-01 17:43:39 -04:00
mkyq
03d6701bb7
Add stacktrace to main error screen (#582) 2022-10-31 12:38:24 -04:00
mkyq
52aabee658
Remove direct calls of cw_bitcoin BitcoinTransactionPriority from SendViewModel and SettingsViewModel. Add bitcoinTransactionPriorityWithLabel to bitcoin facade. (#574) 2022-10-28 18:09:27 -04:00
Justin Ehrenhofer
12e7b45520
Remove Onramper swap (#573)
It's not supported here, so removing to avoid confusion
2022-10-28 12:21:58 -04:00
mkyq
b2a5c66c37
Add onramper widget for buy screen (#571) 2022-10-27 17:33:58 -04:00
mkyq
bd5a2fa49f
Back EditBackupPasswordViewModel factory (#570) 2022-10-27 10:28:43 -04:00
mkyq
acb03e5530
Xchaha20 poly1305 integration (#569)
* Integration of xchacha20-poly1305

* Remove force unwrap from _exportPreferencesJSON

* Deprecate v1 export

* Fix for open backup screen after auth
2022-10-26 15:28:27 -04:00
Omar Hatem
33935c9b1d
Update flushbar (#568)
* Replace old flushbar package with its updated version
Fix flushbars throughtout the app

* Fix Navigation happening all at once causing debugLocked error

* Remove un-necessary async/await

* Remove un-necessary future delayed

* Make process text flushbar indefinite

* Fix show seeds/keys popping page after being pushed instead of popping the auth route
2022-10-26 14:13:44 -04:00
Serhii
4f2cf983de
check share plugin usage (#567)
* replace share plugin with share_plus

* fix share button on receive screen

* add share button for btc, ltc wallets
2022-10-26 11:05:08 -04:00
Godwin Asuquo
95ecf4ef56
Cw 181 simple swap extra id fix (#532)
* extra id for simple swap
2022-10-25 16:36:28 -04:00
Godwin Asuquo
9f187308d4
Fix gift card purchase (#553)
* Fix gift card purchase

* cast as optional bool
2022-10-24 15:27:10 -04:00
Omar Hatem
d9415af4de
Allow null AccountListItem for create purpose not just editing (#558) 2022-10-24 15:25:14 -04:00
Omar Hatem
fb8017a93c
Used the new barcode_scan2 package instead (#559) 2022-10-24 15:24:20 -04:00
Omar Hatem
ca36a425a7
Fix exchange provider overflow (#560)
Fix splash effect style for the new Flutter button configs
2022-10-24 15:23:06 -04:00
Omar Hatem
12e54426bd
Fix edit/delete option slidable (#561)
* Fix Edit Slidable in receive address cell
Fix Edit/Delete slidable in contact list

* Update Delete node slidable
2022-10-24 15:15:17 -04:00
Omar Hatem
65b87ecae0
Fix nullability of selected provider (#562)
Remove un-necessary null operators
2022-10-24 15:06:03 -04:00
Omar Hatem
c34c3b0737
Cw 199 add wallet deletion confirmation (#555)
* Fix Slidable for deleting wallet
Add confirmation dialog for deleting wallet

* Swap confirmation dialog buttons to be consistent with other alerts
2022-10-21 16:06:59 -04:00
Godwin Asuquo
66949fd41a
Update close button size (#551) 2022-10-21 12:30:36 -04:00
OmarHatem
1eb9e65617 Set trusted daemon after node connection 2022-10-20 20:24:01 +02:00
Omar Hatem
4279b82bca
exclude zzec currency from simple swap (#516) 2022-10-20 13:54:00 -04:00
Omar Hatem
7e7217008c
Cw 171 exchange auto selector bug (#523)
* Fix de-selecting exchange providers not getting saved

* only change field value when the amount is better than the already existing one

* Show calculated amount after getting the best value from all providers

* Catch exceptions to avoid stopping the providers calculate amount APIs

* Fix Splay map only saving the last value obtained

* Show limits for the provider with the highest rate

* Load limits on currency pair change

* Show limits for lowest min provider

* Show limits for lowest min and highest max

* Sync best rate every 10 seconds instead of calculating it on every amount change

* Fix conflicts with flutter upgrade
Add null safety to changes in exchange_view_model.dart

* Remove un-necessary checks
2022-10-20 13:47:36 -04:00
Omar Hatem
6046385236
Cw 178 additional accents for exchange (#526)
* Fix SimpleSwap create exchange (#522)

* Check for status code 201 instead of 200 to follow SimpleSwap API documentation

* allow 200 and 201 success status code

* Changed app version to 4.4.7 (1.1.1 for monero.com)

* Add new currencies
Separate a list for unsupported currencies for SideShift
Fix currencies normalization symbols

* Add new currencies

* Add Currencies validation and possible length

Co-authored-by: M <m@cakewallet.com>
2022-10-20 13:23:36 -04:00
Omar Hatem
d4b5ffd0d6
Adapt error message check in backup errors (#550) 2022-10-20 12:37:02 -04:00
OmarHatem
469f23c09b Merge branch 'flutter-upgrade' of https://github.com/cake-tech/cake_wallet into CW-182-allow-trusted-nodes
 Conflicts:
	cw_core/lib/node.dart
	lib/view_model/node_list/node_create_or_edit_view_model.dart
2022-10-20 13:18:00 +02:00
Serhii
3a9c8be9ca
alerts UI fix (#539)
* fix alerts button UI

* remove comments
2022-10-19 18:28:49 -04:00
Omar Hatem
e1885e44a2
Fix fee priority display (#540)
* Fix transaction priority displaying empty string

* Fix priority label with rate in send screen

* Make price nullable in transaction list items
2022-10-19 18:24:50 -04:00
Omar Hatem
e011ab3e88
Fix parsing .yml files to nodes (#543) 2022-10-19 18:23:53 -04:00
Omar Hatem
3c4ba6da53
Create haven default node instead of loading from YAML (#544) 2022-10-19 18:21:16 -04:00
Omar Hatem
a2dfbc6076
Fix exchange limits issue (#545)
* Allow nullable values from limits API

* Handle null values in SideShift limits API response
2022-10-19 18:20:11 -04:00
Serhii
c7ea9d52ee
fix CakePay icon (#546) 2022-10-19 18:19:23 -04:00
Serhii
9b4fc8f608
fix buttons UI (#548) 2022-10-19 18:18:39 -04:00
M
1ba02af2b8 Merge branch 'flutter-upgrade' of github.com:cake-tech/cake_wallet into flutter-upgrade 2022-10-18 11:39:01 -04:00
M
a0294a16b2 CW-194 Fixes for import backups v1 2022-10-18 11:38:54 -04:00
Omar Hatem
da6fd9a9ff
Cw 188 fix grey screen (#537)
* Fix late initialization exception when using late with Mobx
Fix index out of range exception in picker

* Add haven account list class to configure file to be generated in haven.dart
2022-10-17 17:01:50 -04:00
Omar Hatem
6fbc658156
Cw 187 fix separator color (#538)
* Revert commented color attribute for list separator

* Handle theme nullability
2022-10-17 16:57:04 -04:00
M
902935bc16 CW-193 Fixes for fetching of electrum transactions. 2022-10-17 16:55:41 -04:00
M
1beb18b045 Flutter upgrade 2022-10-12 13:09:57 -04:00
OmarHatem
cb9f690745 Add Native setTrustedDaemon and trustedDaemon functions and integrate them with their wallets 2022-10-07 15:25:20 +02:00
OmarHatem
3c04bd9aa5 Pass wallet type when navigating
Fix UI padding
2022-10-05 20:07:16 +02:00
OmarHatem
299df3c087 Separate node form to be more reusable
Add node form to privacy settings
2022-10-05 19:28:11 +02:00
OmarHatem
6bbedde9b7 Add privacy settings route
Add text translation
2022-10-05 15:58:25 +02:00
OmarHatem
c37bfb2e83 Add Advanced privacy settings page and initial view model 2022-10-05 15:57:17 +02:00
OmarHatem
d748f12e44 Allow marking Monero Nodes as trusted 2022-10-04 14:54:39 +02:00
Omar Hatem
6b8e749abf
Fix SimpleSwap create exchange (#522)
* Check for status code 201 instead of 200 to follow SimpleSwap API documentation

* allow 200 and 201 success status code
2022-09-26 17:12:32 -04:00
Godwin Asuquo
c921ad890a
Truncate to double (#511)
* Truncate to double

* fix format remaining amount
2022-09-19 11:09:23 -04:00
Godwin Asuquo
54bc40c503
hide tips section (#509) 2022-09-16 16:15:34 -04:00
Godwin Asuquo
1a9becbebc
fix color for login back button (#510) 2022-09-16 10:28:43 -04:00
M
cb8cf8e77c Temporary disable more options button on ionia gift card details screen. 2022-09-14 18:22:31 -04:00
Justin Ehrenhofer
bc8900e879
fix zaddr validation (#506)
Sideshift only supports `zs` Sapling addresses now. They do not support `zc` Sprout addresses or `u` unified addresses
2022-09-14 15:46:14 -04:00
Godwin Asuquo
406707fa58 fix partial redemption 2022-09-13 08:13:20 +03:00
Serhii
f6a2b3c74b
Cw 126 check validation for new currencies (#501)
* update address validation

xmr, ape, avaxc, eth, usdc, hbar, sc, sol, usdcsoul, usdttrc20, btt, bttsc, doge,firo, xvg, zen, tzec, zzec

* fix formating
2022-09-07 13:53:33 +01:00
Serhii
f59c2fbd2b
add new coins to exchange (#499)
* add new coins

APE, AVAXC, BTT, BTTBSC, DOGE, FIRO, USDTTRC20, HBAR, SC, SOL, USDC, USDCSOL, ZEN, XVG

* remove UST icon

* remove xhv from excludeDepositCurrencies

* remove xhv from excludeReceiveCurrencies
2022-09-07 13:10:21 +01:00
Godwin Asuquo
bed815e370
update ui bug (#497) 2022-09-07 12:58:37 +01:00
Omar Hatem
244d20d1b6
Skip unsupported providers when calculating best rate provider (#500) 2022-09-07 12:43:03 +01:00
Godwin Asuquo
13a95ab11f fix color for login back button 2022-09-06 09:09:44 +03:00
Serhii
424cf25052
Сake pay filter white screen bug (#491)
* increase touch area for filter button

* rework card list view model

* fix button color

* fix formating
2022-09-02 16:04:19 +01:00
Godwin Asuquo
bd25d047b2
CW-148 cake pay partial redemptions (#490)
* Ionia custom redemption screen

* update ionia gift card remaining amount with custom value

* [NO-TASK] Fix issues with custom redeem

* replace redeem

* update remaining amount

* fixed from code review

* Add localization
2022-09-02 14:47:45 +01:00
Serhii
0aee6e1b8d
rework trade details screen (#449)
* create standart list card item

* create standart list status item

* update localization

* fix date format

* fix theme gradient

* PR comments

* fix issues from code review
2022-09-02 14:10:54 +01:00
mkyq
04be884357
Enable exchange for haven wallets. (#495) 2022-09-01 19:46:14 +01:00
Godwin Asuquo
0931696fa1
CW-143 cake pay custom tip amount (#492)
* Add custom tip logic

* Fix euro currency
2022-09-01 17:29:58 +01:00
Godwin Asuquo
a745319ffa
Fix ionia loading states (#493) 2022-09-01 17:14:01 +01:00
Omar Hatem
c50eeee58b
CW 68 exchange automatic rate selector (#472)
* Add 'Exchange provider picker'
Save user selections

* Save user's exchange providers selection

* Add text for selected providers availability

* Fix selected providers not updating

* Load limits based on highest maximum in the selected providers

* Change received and deposit amount to be the best value from the selected providers

* Add provider name next to Trade ID
Set selected provider based on amount calculated

* Grey out providers who doesn't support selected currency pair

* Fix disabled providers

* Add Provider logo in Confirm Screen

* Only choose a provider if it satisfies its limits

* Fix amount validation

* Fix typo in error message

* Add a queue of possible exchange providers sorted by the best rate to try next if one failed

* Fix string locale typo

* Add Localization for other languages

* Add Placeholder text when there are no providers selected

* Check Exchange provider availability before creating a trade

* Fix "Fixed Rate" changing unconditionally

* Enable "convert to" field regardless of the provider

* Remove "Choose one" from providers picker

* Merge Master

* Fix Conflicts with master

* Add missing isEnabled field in simple swap provider
2022-09-01 15:12:38 +01:00
mkyq
92458e2f4b
Add platform device id package. Send device uuid to ionia for purchase request. (#494) 2022-08-31 17:37:43 +01:00
Godwin Asuquo
d9905a7cf3
Cw 110 integrate simple swap exchange (#459)
* add support for SimpleSwap exchange

* fix edit receive amount field

* fixed merge conflicts

* Fix issues from code review
2022-08-31 16:34:07 +01:00
Serhii
7fae9cf9bb
Cw 150 cake pay introduction card (#486)
* create introducing card

* add ability to close the card

* update walletInfo class

* update localization

* fix intro text

* fix card size

* show card for existing and new wallet types

* disable card for haven wallets

* fixes to PR

* fixes to PR

* fix PR
2022-08-30 19:03:02 +01:00
Serhii
5fcbf3634b
sort Giftcards alphabetically (#469) 2022-08-30 15:14:05 +01:00
Serhii
4a5747c630
increase brightness for gift card detail page (#478)
* increase brightness for gift card detail page

* move logic to view model

* fix format
2022-08-30 15:01:45 +01:00
Serhii
31a57fc4d3
fix display of Yat alert when address is empty (#484) 2022-08-26 16:29:00 +01:00
Serhii
f559b10c97
fix UI validation bug (#439) 2022-08-22 13:42:36 +01:00
Serhii
0754d4cd45
fix search bar color (#470) 2022-08-22 13:18:04 +01:00
Serhii
d22738da64
add note decryption from QR code (#466) 2022-08-11 15:40:38 +01:00
Serhii
08f1976921
fix usd value bug (#467) 2022-08-11 15:39:59 +01:00
M
d62131e649 Remove using of api key for sideshift. 2022-08-09 17:51:52 +01:00
OmarHatem28
e5fac16ef7 Notify user when a different currency is scanned 2022-08-09 17:06:21 +02:00
OmarHatem28
7bccf46832 Send data from URI to send screen 2022-08-09 15:47:41 +02:00
OmarHatem28
01adf863d0 Add the ability to launch app from Crypto QR codes 2022-08-09 13:34:40 +02:00
mkyq
aa9ed08648
Release 4.4.4 (#451)
* Update build versions for Cake Wallet for ios and android.

* Add formatted crypto amount to xmr transaction for anypay transactions. Hide order id and payment id if they are not exists on payment status screen.

* Change build number for Cake Wallet ios and android.

* Change ionia api to production endpoint.

* Update version for monero.com app.

* Update build number to cake wallet.

* Fix for formatting amount for any_pay_payment totalAmount.
2022-08-04 14:27:28 +01:00
mkyq
3cfe2ec532
Fix/xmr anypay tx fix hide order (#447)
* Update build versions for Cake Wallet for ios and android.

* Add formatted crypto amount to xmr transaction for anypay transactions. Hide order id and payment id if they are not exists on payment status screen.

* Change build number for Cake Wallet ios and android.
2022-07-29 19:24:40 +01:00
mkyq
66efb635ce
Update decimals formatting for tips group. (#444) 2022-07-28 19:13:06 +01:00
mkyq
b777dd9e7b
Update avaibility status for ionia merch. (#443) 2022-07-28 19:03:53 +01:00
mkyq
418c9563fe
Ionia (#437)
* Initial ionia service

* Ionia manage card UI (#374)

* design ui for cakepay

* Add manage cards page ui

* create auth ui for ionia

* add authentication logic

* implement user create card

* Add ionia merchant sevic

* Add anypay. Add purschase gift card.

* display virtual card (#385)

* display virtual card

* fix formatting

* Remove IoniaMerchantService from IoniaViewModel

* Add hex and txKey for monero pending transaction.

* Changed monero version and monero repo to cake tech.

* Add anypay payment. Add filter by search for ionia, add get purchased items for ionia.

* Fix for get transactions for hidden addresses for electrum wallet

* Add ionia categories.

* Add anypay commited info for payments.

* Update UI with new fixes (#400)

* Change ionia base url. Add exception throwing for error messaging for some of ionia calls.

* CW-102 fix logic for ionia issues (#403)

* refactor tips (#406)

* refactor tips

* refactor ionia tips implementation

* Cw 115 implement gift cards list for ionia (#405)

* Implement show purchased cards

* fix padding

* Fixes for getting of purchased gift cards.

* Implement gift card details screen (#408)

* Implement gift card details screen

* Add redeem for ionia gift cards

* Fix navigation after ionia opt redirection.

* Fix update gift cards list.

* Add payment status update for ionia.

* Add usage instruction to gift card.

* Add copy for ionia gift card info.

* Change version for Cake Wallet ios.

* Add localisation (#414)

* Fixes for fiat amounts for ionia.

* CW-128 marketplace screen text changes (#416)

* Change text on marketplace

* fix build issues

* fix build

* UI fixes for ionia.

* UI fixes for ionia. (#421)

* CW-129 ionia welcome screen text changes (#418)

* update welcome text

* Update localization

* Cw 133 (#422)

* UI fixes for ionia.

* Fixes for display card item on gift cards screen.

* Fix signup page (#419)

* Changed tips for ionia.

* Cw 132 (#425)

* UI fixes for ionia.

* Changed tips for ionia.

* Cw 131 (#426)

* UI fixes for ionia.

* Changed tips for ionia.

* Fixes for IoniaBuyGiftCardDetailPage screen. Renamed 'Manage Cards' to 'Gift Cards'. Hide discount badge label for 0 discount.

* Change ionia heading font style (#427)

* Fix for AddressResolver in di

* Changed build number for Cake Wallet ios.

* fix currency format for card details and routing for mark as redeemed (#431)

* fix terms and condition overflow in ionia (#430)

* fix terms and condition scroll

* fix color issues

* reuse

* refactor  widget

* Remove IoniaTokenService

* Change api for ionia to staging

* Update versions for Cake Wallet for android and ios.

* Fixes for instructions. Remove diplay error on payment status screen.

* Change build versions for Cake Wallet

* Add ionia sign in.

* Update for discounts and statuses for ionia merch.

* Fixes for qr/barcode on ionia gift card screen.

* Fixed formatting for display ionia discounts.

* Fix merchant.discount.toStringAsFixed issue

* Add savingsPercentage to ionia merch discount.

* Change build number for Cake Wallet ios and android.

* Disable ionia for haven (#440)

Co-authored-by: Godwin Asuquo <41484542+godilite@users.noreply.github.com>
2022-07-28 18:03:16 +01:00
mkyq
b72443a8c4
Release 4.4.3 (#415)
* Add ability for change password for wallets classes.

* Update generateWalletPassword

* Add WalletLoadingService

* Add update monero password after wallet loading.

* Update version for Cake Wallet to 4.4.2 (103)

* Changed version for Cake Wallet to 4.4.3 (104).

* Changed version for Cake Wallet android

* Changed version for Monero.com ios and android.
2022-07-19 15:29:28 +01:00
M
9ea57146f7 Remove backups from menu 2022-07-14 12:56:37 +01:00
M
a63c099f26 Add aditional check if wallet exists with special name 2022-07-14 12:48:59 +01:00
Serhii
52b8bafac9
Exchange screens access improvements (#409)
* move tag prop to the crypto currency

* add currency icons
2022-07-11 16:20:16 +01:00
Serhii-Borodenko
fa2e9cd810 fix exchangenow payment request 2022-07-07 18:02:38 +03:00
Omar Hatem
8321c9fbbe
Enable different currencies (#401) 2022-07-01 12:04:00 +01:00
Omar Hatem
3bd9301be1
Redesign exchange currency picker (#402) 2022-07-01 11:17:09 +01:00
Serhii
02533d68a0
prevent using same wallet name as existing (#391)
* Add wallet name validation
2022-06-29 18:21:21 +01:00
Omar Hatem
dc623f3293
Rework settings pickers (#398)
Updated pickers and settings screen
2022-06-29 13:38:44 +01:00
Serhii
9b9e211c08
cancel yat address request for haven wallet (#396) 2022-06-28 16:46:32 +01:00
Omar Hatem
8bcf70b8f8
Hide keys for BTC & LTC (#392)
* Remove WIF and Keys from BTC and LTC wallets in the Wallet seed/keys screen

* Move Title assigning logic to view model
2022-06-23 14:36:50 +01:00
Omar Hatem
9568c5f932
QR code fullscreen (#390)
* Add fullscreen qr page flow

* Add qr fullscreen text localization

* Add package to control screen brightness when navigating to qr fullscreen and revert when leaving screen

* ios fix trial 1 - Change brightness control package

* Use package imports instead of relevant path
Add Map types
2022-06-23 10:25:00 +01:00
mkyq
cc96e29eaf
Merge pull request #388 from cake-tech/CW-97-fix-haven-wallet-default-node
Save Haven current node
2022-06-20 17:11:56 +01:00
OmarHatem28
06f21e80ec Save Haven current node 2022-06-20 16:21:40 +02:00
OmarHatem28
5074033371 Add paste option to address text field in new contact screen 2022-06-19 00:51:43 +02:00
mkyq
5a6f1a3b2d
Merge pull request #381 from cake-tech/CW-92-Change-restore-from-keys-for-haven
remove restore from date for haven restore form
2022-06-13 15:11:37 +01:00
Serhii
fc58972bf9
Added ability sending to FIO address (#370)
* Added ability sending to FIO address

* remove apiKey property

* fix conditions for FIO address checking
2022-06-13 12:41:46 +01:00
mkyq
427efb44fa
Merge pull request #372 from cake-tech/CW-77-Add-more-addresses-for-haven-validation
added validation of hvx,hvi,hvs Haven addresses
2022-06-13 12:31:16 +01:00
Serhii
e6fe4676ca
fix haven transaction info (#373)
* fix haven transaction info

* fix format
2022-06-13 10:32:15 +01:00
Serhii-Borodenko
997e960a0b remove restore from date for haven restore form 2022-06-10 17:15:53 +03:00
Serhii-Borodenko
4e4c19d3e3 added validation of hvx,hvi,hvs Haven addresses 2022-06-01 14:12:09 +03:00
M
57a5a8b01a Fix grey screen for new account for monero.com app 2022-05-18 17:55:07 +01:00
M
aacc9014ea Change default haven node to nodes.havenprotocol.org:443 2022-05-18 17:13:58 +01:00
Keith Simon
6762207bb8
Select sub address or standard address instead of both. (#346)
* Use the sub address first then the std
2022-05-16 19:51:32 +01:00
mkyq
0caa7337af
Merge pull request #348 from cake-tech/monero.com-explorer
Change Monero block explorer to Monero.com
2022-05-03 11:44:54 +01:00
Serhii
c08f2c1667
Cw 55 allow saving templateswith fiat amount (#343)
* added xhv logo

* Added prefix icon widget

* Added sending fiat template

* template for sending selected fiat currency

* fix issues
2022-05-03 11:44:13 +01:00
Serhii
75da854121
Add collapse button to the address book (#357)
* Added collapsible list to the Address Book

* fix text style
2022-05-03 10:58:25 +01:00
Justin Ehrenhofer
2b81647fe1 Change Monero block explorer to Monero.com
Merge after Monero.com goes live
2022-04-22 11:17:43 -05:00
Mathias Herberts
6cd07278cc
Fixed localization of "View in Block Explorer" (#342)
Fixed localization of "View in Block Explorer
2022-04-22 16:15:05 +01:00
Serhii
873402ad3c
Increased tapping area on the dashbord buttons (#345) 2022-04-22 16:02:31 +01:00
Serhii
2e17c59a00
hidden mode for balance on send screen (#344) 2022-04-22 16:00:28 +01:00