Commit graph

751 commits

Author SHA1 Message Date
Serhii
d4c7004a3c add Disable fiat mode 2022-11-04 13:58:04 +02: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
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
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
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
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
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
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
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
c7ea9d52ee
fix CakePay icon (#546) 2022-10-19 18:19:23 -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
M
1beb18b045 Flutter upgrade 2022-10-12 13:09:57 -04: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
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
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
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
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
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
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
M
9ea57146f7 Remove backups from menu 2022-07-14 12:56:37 +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
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
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
Serhii-Borodenko
997e960a0b remove restore from date for haven restore form 2022-06-10 17:15:53 +03: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
Serhii
873402ad3c
Increased tapping area on the dashbord buttons (#345) 2022-04-22 16:02:31 +01:00
Godwin Asuquo
6378d052ac
Cw 72 implement sideshift exchange (#332)
* add sideshift exchange provider

* add secret key

* Fix issues

* Fix issues

* refactor code

* add permission checks to side shift

* fix formatting issues
2022-04-13 14:28:21 +01:00
M
718ef91749 Exclude xhv from exchange currencies list 2022-04-01 14:31:05 +01:00
M
d4b59d97de Fix for batch sending. Add build haven for cakewallet android app. 2022-04-01 13:48:55 +01:00
clear
5890df86db
cw-60: fill amount on scan qr on exchange page (#309)
* cw-60: fill amount on scan qr on exchange page
2022-03-31 18:54:45 +01:00
Serhii
1cd90cf57d
Cw 09 implement picker screen with ability to search (#250)
* Added new picker screen with search bar and currency icons
2022-03-31 15:16:42 +01:00
mkyq
f3cf20c395
Merge pull request #312 from cake-tech/Fixed-Monero-Nav-Bar-Title
Fixed the render flex error caused by menu widget title in monero wallet
2022-03-31 15:32:20 +02:00
mkyq
01150ef2a7
Hv (#295)
* hv
* Change build version
2022-03-30 17:57:04 +02:00
RafiaChy
612ab94033 Fixed the render flex error caused by menu widget title in monero wallet 2022-03-30 19:13:09 +06:00
Serhii
e7e419bc83
Updated receive screen (#297)
* Updated receive screen

* fixed format
2022-03-23 18:53:53 +01:00
Rafia Rahman Chowdhury
c10d5ef83c
Balance Container redesigned according to Figma (#287)
* Balance Container redesigned according to Figma

* injected BalancePage to di.dart page

* removed an empty line and injected BalancePage using GetIt
2022-03-18 11:47:57 +01:00
Rafia Rahman Chowdhury
987e6f21ee
Redesigned bottom bar of main screen according Figma (#279)
* Redesigned bottom bar of main screen according Figma

* used receiced_icon from figma instead of that present in asset/image folder

* removed border colors for dark and light modes

* removed fixed width and height
2022-03-15 17:13:34 +03:00
Godwin Asuquo
d2cc812884
Cw 45 implement yat sending (#269)
* resolve YAT emoji

* remove animation in route builder

change YAT api

* remove yat sending page

* fix crypto address resolving

* check if text is emoji

* use getter for string extension hasOnlyEmojis

* refactor parsed domain from address

* update PR based on changes from code review

* import missing dependencies
2022-03-15 12:11:53 +03:00
Serhii
23913c01dc
Cw 53 allow renaming of currently selected account and subaddress (#291)
* fixed address cell background

* fixed account title padding

* fixed format
2022-03-15 11:31:45 +03:00
Serhii
d05f392aae
Added routing to the sync indicator (#288)
* Added routing to the sync indicator

* fixed format

* fixed format

* resolved issues
2022-03-08 14:11:55 +03:00
Serhii
12c5ed27dc
fixed subaddress label (#281)
* fixed subaddress label

* Added name length check
2022-03-08 14:11:32 +03:00
Godwin Asuquo
d14150f4b1
Add ach payment amount on buy page (#282) 2022-03-07 13:13:39 +03:00
Serhii
dd47a82a0d
sync status icon added on the Send and Exchange screens (#267)
* added sync status icon

* resolved issues from code review

* resolved issues from code review

* resolved issues from code review
2022-02-21 16:30:48 +02:00
Serhii
872098d6b8
Cw 43 subaddress renaming visual bug (#271)
* changed background

* fixed format

* fix issues from review
2022-02-11 15:49:46 +02:00
mkyq
61478ce479
Merge pull request #265 from cake-tech/CW-37
Changed The QRCode background color from Navy Blue to Black in dark m…
2022-02-10 12:29:59 +02:00
Serhii-Borodenko
19f58d59d7 Fixed divider color 2022-02-09 13:43:22 +02:00
RafiaChy
73338728fb Changed The QRCode background color from Navy Blue to Black in dark mode. 2022-02-07 20:32:09 +06:00
Serhii-Borodenko
68c3304219 fixed format 2022-02-07 00:17:39 +02:00
Serhii-Borodenko
ed0c43d864 Moved currency piker button to the left side 2022-02-07 00:02:13 +02:00
M
4923de4511 Checkbox for fixed mode on exchange screen 2022-02-03 15:49:34 +02:00
mkyq
be473dfd93
Merge pull request #252 from cake-tech/CW-24
soft keyboard dismisses when generate-name icon is pressed
2022-02-03 13:45:56 +02:00
RafiaChy
e0f3eb4b20 removed unused variables and initState 2022-02-03 17:08:39 +06:00
M
05c4d26634 Fixes for backups for monero.com app 2022-02-02 14:40:40 +02:00
Godwin Asuquo
fb7e3662e2 remove itemcount 2022-01-31 15:44:08 +01:00
Godwin Asuquo
26f108ceb6 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-20-rework-templates-on-exchange-screen 2022-01-31 14:20:40 +01:00
Godwin Asuquo
63016825e2 rework templates on exchange screen 2022-01-31 14:17:31 +01:00
mkyq
ae390ecab2
Merge pull request #249 from cake-tech/CW-6-filter-available-templates-on-send-screen
filter templates by current wallet type
2022-01-31 15:17:24 +02:00