Commit graph

157 commits

Author SHA1 Message Date
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
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
ae0f9df041 Prevent multiple UI errors from showing multiple alerts [skip ci] 2023-01-27 03:49:25 +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
OmarHatem
d79b481d3e Wrap sending error file in try/catch for unexpected behaviors [skip ci] 2023-01-12 17:08:38 +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
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
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
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
Godwin Asuquo
f15bc28219 [skip ci] fix issues from code review 2022-12-13 16:19:31 +01: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
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
OmarHatem
59ee7aa975 Add onion node to already existing users 2022-11-30 01:37:56 +02:00
OmarHatem
03ea516e63 Add initial alert for errors 2022-11-29 14:03:14 +02:00
OmarHatem
51ea377a52 Temporarily comment run app on error of run zone guard 2022-11-27 14:44:35 +02:00
OmarHatem
7b99e409a9 Send error file via email 2022-11-25 18:59:47 +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
OmarHatem
38da6e73d4 Wrap app in zone guard 2022-11-23 18:06:09 +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
mkyq
03d6701bb7
Add stacktrace to main error screen (#582) 2022-10-31 12:38:24 -04:00
M
1beb18b045 Flutter upgrade 2022-10-12 13:09:57 -04: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
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
aacc9014ea Change default haven node to nodes.havenprotocol.org:443 2022-05-18 17:13:58 +01:00
M
524dbb3e2a Remove extra error handling 2022-03-31 14:00:31 +01:00
mkyq
01150ef2a7
Hv (#295)
* hv
* Change build version
2022-03-30 17:57:04 +02: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
M
2e1f1e2c79 Fix for UnspentCoinsInfo Hive Box. Add checkbox for fixed rates for exchange. 2022-01-24 16:12:25 +02:00
M
f591f188c5 Temporary comment yat code 2022-01-12 15:32:23 +02:00
M
cfb82dd02d Changed way for generation of change address for electrum wallets. Remove some yats call. 2022-01-12 15:20:43 +02:00
M
67ad389caf Fixes for unspent coins box initialization. Change cakewallet icons. Add wallet naming for new wallets. 2022-01-08 16:33:17 +02:00
M
e6b1da376d Configure wallet types for the app 2021-12-24 14:41:34 +02:00
M
42104fd825 Yat, electrum addresses fixes 2021-12-08 11:09:38 +00:00
M
fe3d00f1a8 Fixes for yat 2021-11-02 09:17:24 +00:00
OleksandrSobol
f353442a2a CAKE-360 | merged all yat branches into current; saving information about yat to connected wallet; fixed qr widget; applied yat, unstoppable domains and open alias to contact book 2021-10-01 18:13:10 +03:00
OleksandrSobol
7fd4772121 CAKE-356 | fixed _fetchEmojiFromUri method in the main.dart and fetchYatAddress method in the yat_record.dart 2021-09-17 11:14:17 +03:00
OleksandrSobol
cdddc12c81 CAKE-356 | added isYatDevMode parameter to the yat_alert.dart; deleted yat_webview_page.dart and yat_view_model.dart; applied localization of Yat to the app 2021-09-16 12:43:43 +03:00
OleksandrSobol
455efeb91f CAKE-356 | replaced yatAddress to emoji in yat_store.dart, wallet_address_list_view_model.dart and qr_widget.dart; added _fetchEmojiFromUri method to main.dart; changed url for yat service in the yat_alert.dart 2021-09-07 19:43:49 +03:00
OleksandrSobol
39c40255d3 CAKE-356 | applied deep links to the app 2021-09-06 11:19:13 +03:00
OleksandrSobol
20e0c830cf CAKE-334 | applied unspent coins control to the app; added unspent_coins_info.dart; reworked createTransaction(), calculateEstimatedFee() and updateUnspent() methods in the electrum_wallet.dart; fixed unspent_coins_list_view_model.dart, unspent_coins_details_view_model.dart, unspent_coins_list_item.dart, unspent_coins_list_page.dart and unspent_coins_details_page.dart; fixed bitcoin_transaction_wrong_balance_exception.dart; added properties to bitcoin_unspent.dart; applied localization to unspent coins pages 2021-07-05 16:52:24 +03:00
OleksandrSobol
1fccb0b546 Merge branch 'main' into CAKE-306-add-moonpay-option-for-btc-buying
# Conflicts:
#	lib/buy/wyre/wyre_buy_provider.dart
#	lib/di.dart
#	lib/src/screens/dashboard/dashboard_page.dart
#	lib/view_model/dashboard/dashboard_view_model.dart
#	res/values/strings_de.arb
#	res/values/strings_en.arb
#	res/values/strings_es.arb
#	res/values/strings_hi.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
2021-05-28 12:06:50 +03:00
M
a439560d4d Fixes for LTC and added banner for old bitcoin electrum wallets. 2021-05-11 16:52:48 +03:00
M
1cb27d9da3 Fixes for LTC electrum nodes available. 2021-05-10 19:00:20 +03:00
M
1330966794 Reworked electrum wallet. Added Litecoin wallet. 2021-05-07 10:36:38 +03:00
OleksandrSobol
346a034d0a CAKE-306 | added MoonPay option for BTC buying; applied PreOrderPage to the app; created Wyre and MoonPay buy providers 2021-04-12 21:22:22 +03:00
OleksandrSobol
ff8ed30483 CAKE-272 | added parameters to script; added possibility to generate locales.dart from arb file list; added loadLocaleList() method to language_service.dart 2021-03-24 18:52:30 +02:00
OleksandrSobol
60333e235d CAKE-279 | applied order details to the app 2021-03-12 21:04:37 +02:00
M
0bc804c284 Fixes. Changed terms of use text. 2021-02-01 20:12:37 +02:00
M
e3b8ea1128 CAKE-234 2021-01-27 15:51:51 +02:00
M
47ceac2dd6 Backup stuff. 2021-01-15 19:41:30 +02:00
M
9a79fcdc23 Merged 4.1.0 2021-01-13 19:18:28 +02:00
M
c09a41b090 Backup. 2021-01-13 18:43:34 +02:00
M
9db6e233c7 Another beautiful day changes 2021-01-11 19:15:27 +02:00
M
bef18de7a6 Added auto saving of wallet address to wallet info. Added users wallet addresses into address book. 2021-01-08 20:10:37 +02:00
M
6a9720d5d6 Fixes and changed build versions for ios and android projects. 2021-01-06 22:53:59 +02:00
M
798d9a1edf Fixes 2021-01-05 20:31:03 +02:00
M
89c240091b Merged btc and 4.1.0 branches. 2020-12-18 20:42:28 +02:00
OleksandrSobol
8a0f815216 CAKE-182 | fixed status bar 2020-12-16 22:58:10 +02:00
OleksandrSobol
6639238ca7 CAKE-182 | moved themes directory from src to lib 2020-12-15 21:43:50 +02:00
OleksandrSobol
10b419fbbe CAKE-182 | applied new color scheme to alert buttons; deleted themes.dart; added theme_base.dart, light_theme.dart, bright_theme.dart, dark_theme.dart, theme_list.dart to the app 2020-12-15 21:30:16 +02:00
M
8cb9bd15cd Fixes for update fiat rate after change of current wallet type. Fixes for change amount for btc transactions. Changed displaying of balance for btc wallet. General fixes. 2020-12-15 18:29:10 +02:00
OleksandrSobol
85497a1218 CAKE-182 | changed colors on dashboard page for light theme; changed action buttons icons on dashboard page; changed buttons colors on alerts for light theme; deleted item_from_theme.dart; added getters (isLightTheme, isBrightTheme, isDarkTheme) to Themes class; applied getters to the app 2020-12-14 19:54:56 +02:00
OleksandrSobol
3053c0f3fb CAKE-207 | changed Themes class; removed isDarkTheme from settings store and screens; added currentTheme to settings store; changed SwitcherListItem to PickerListItem for themes in the settings_view_model.dart; created item_from_theme.dart; changed currentDarkTheme property on currentTheme in the preferences_key.dart; applied themes to keyboard bar color in the exchange_page.dart, receive_page.dart, send_page.dart and send_template_page.dart; applied itemFromTheme() to new_wallet_page.dart, new_wallet_type_page.dart, pre_seed_page.dart, wallet_seed_page.dart, seed_language_page.dart, welcome_page.dart, base_page.dart and main.dart 2020-12-10 19:53:40 +02:00
M
43e602b71e Added p2sh address to output script. 2020-12-08 23:47:08 +02:00
M
62a877dd61 Fixes 2020-11-30 19:17:44 +02:00
M
5c4e1b4d01 Fixes. 2020-11-08 22:44:09 +02:00
M
b17e7744c6 Fixes 2020-11-06 20:54:00 +02:00
M
6b86cfbea2 Updated to flutter v1.22.2 2020-10-19 14:20:24 +03:00
M
598b8c9b9c TMP 2020-10-14 00:11:04 +03:00
M
f9cc21478a TMP 2020-10-09 21:34:21 +03:00
OleksandrSobol
f6e099eb0a CAKE-114 | applied disclaimer page when user install wallet first time; applied route to disclaimer page as initial route (main.dart); change leading widget in the disclaimer page; applied call of welcome page when user press accept button in the disclaimer page 2020-10-08 19:38:33 +03:00
M
696b808698 Fixes 2020-09-29 20:56:11 +03:00
M
e3678d2cf9 Fixes 2020-09-28 18:47:43 +03:00
M
73991e1c9c Fixes for load wallet from wallet list. Fixed updating of balance after current wallet change 2020-09-24 12:16:13 +03:00
M
b0a31147dd Migration for iOS. 2020-09-23 21:26:10 +03:00
M
e4ebfc94b2 Part 1 2020-09-21 14:50:26 +03:00
M
95917b2cdb Merge redesign part 7. 2020-09-15 23:35:49 +03:00
M
d67ab4934d Merge redesign part 6. 2020-09-14 15:08:33 +03:00
M
c950f8bfc0 Merge redesign part 1. 2020-09-01 14:18:07 +03:00
M
6aaac93fa8 TMP 0 2020-08-27 19:54:34 +03:00
Oleksandr Sobol
731f12cd63 CAKE-27 | applied light theme to send and send template pages; made status bar is transparent; reworked menu widget and base send widget; applied switch between light and dark themes 2020-08-20 20:43:54 +03:00
Oleksandr Sobol
fe9deecd03 CAKE-20 | updated send and send template pages; added send_template_store and exchange_template_store; created base_send_widget; applied send_template_store to send_view_model; applied base_send_widget to send and send template pages; added properties to address_text_field, base_text_field and template_tile 2020-07-29 19:55:42 +03:00
Oleksandr Sobol
1055c1b539 CAKE-18 | created fiat convertation service and fiat convertation store; added calculating price to bootstrap; applied fiat convertation store to balance view model 2020-07-24 19:29:16 +03:00
Oleksandr Sobol
bdfe208d20 CAKE-15 | created header row, transaction page, balance view model, formatted item list, wallet balance; applied new design to trade and transaction rows; applied transaction page to dashboard page; applied balance view model, trade store, trade filter store and transaction filter store to dashboard view model; changed trade list item and transaction list item 2020-07-23 15:20:52 +03:00
M
f45875ba3a General changes. CAKE-1. 2020-07-06 23:09:03 +03:00
M
81cee186db TMP 4 2020-06-20 10:10:00 +03:00
M
cfde445d32 TMP 3 2020-06-03 12:56:23 +03:00
M
5a45ffef40 TMP 2 2020-06-01 21:56:21 +03:00
Oleksandr Sobol
7daf74c9f5 CWA-206 | fixed status bar text and icon colors for light and dark modes 2020-06-01 20:36:25 +03:00
M
b605a98811 TMP 2020-05-26 18:27:10 +03:00