Commit graph

363 commits

Author SHA1 Message Date
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
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
Omar Hatem
65b87ecae0
Fix nullability of selected provider (#562)
Remove un-necessary null operators
2022-10-24 15:06:03 -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
d4b5ffd0d6
Adapt error message check in backup errors (#550) 2022-10-20 12:37:02 -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
3c4ba6da53
Create haven default node instead of loading from YAML (#544) 2022-10-19 18:21:16 -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
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
Omar Hatem
244d20d1b6
Skip unsupported providers when calculating best rate provider (#500) 2022-09-07 12:43:03 +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
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
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
a63c099f26 Add aditional check if wallet exists with special name 2022-07-14 12:48:59 +01:00
Omar Hatem
8321c9fbbe
Enable different currencies (#401) 2022-07-01 12:04:00 +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
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
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
2e17c59a00
hidden mode for balance on send screen (#344) 2022-04-22 16:00:28 +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
clear
135ede6a78
Cw-58: Show subaddress label on the transaction details page (#333)
* CW-58: Show subaddress label on the transaction details page

* add translations

* Fix interface
2022-04-12 16:38:47 +01:00
M
3e43ef9a0e Fixes for haven dependencies 2022-04-07 12:19:10 +01:00
M
718ef91749 Exclude xhv from exchange currencies list 2022-04-01 14:31:05 +01:00
Rafia Rahman Chowdhury
dee69310ce
Fixed CW-61 app now saves notes permanently (#299)
* Fixed CW-61 app now saves notes permanently.
2022-03-31 13:00:22 +01:00
mkyq
01150ef2a7
Hv (#295)
* hv
* Change build version
2022-03-30 17:57:04 +02:00
Serhii
d88ecdb2bb
Fixed qr image on Receive screen for Litecoin (#296) 2022-03-23 18:13: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
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
Godwin Asuquo
d14150f4b1
Add ach payment amount on buy page (#282) 2022-03-07 13:13:39 +03:00
RafiaChy
3a6f69fd73 coded to hide available balance in hidden mode 2022-02-08 21:30:41 +06:00
M
01735a998c Fix for transaction details for electrum transactions 2022-02-03 14:37:32 +02:00
M
05c4d26634 Fixes for backups for monero.com app 2022-02-02 14:40:40 +02: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