Commit graph

698 commits

Author SHA1 Message Date
Godwin Asuquo
5462836b8d seperate settings view model 2022-11-23 19:06:41 +02:00
Godwin Asuquo
c67e8c5037 [CW-233] Fix missing display balance setting 2022-11-18 20:53:35 +02:00
Godwin Asuquo
549975ecc1 Reorganize settings 2022-11-16 09:29:14 +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
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
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
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
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