Commit graph

1519 commits

Author SHA1 Message Date
Godwin Asuquo
a472527c6f
CW-33 Add app review after successful transactions and exchange (#864)
* Add app reveiw on transactions and exchange

* Update Onramper page

* Fix issues in popup review
2023-04-17 20:06:58 +02:00
Adegoke David
4a203a43c8
CW-331-Add-option-to-disable-market-place-in-display-settings (#872)
* CW-331-Add-option-to-disable-market-place-in-display-settings [skip ci]

* CW-331-Add-option-to-disable-market-place-in-display-settings [skip ci]
2023-04-16 15:45:35 +02:00
Rafael Saes
77ab6b49f4
feat: Add Click to Copy for the Exchange Amount in the invoice (#882)
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-04-16 15:27:33 +02:00
Serhii
3b69aa8686
CW-273-Don't-add-node-under-Advanced-Privacy-Settings-if-it-already-exists (#876)
* don't add existing node

* minor fixes

* Add back IsExecutingState to connect [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-04-14 20:55:12 +02:00
Rafael Saes
ff7a217d84
CW-338: Currency picker UI when keyboard is showing (#854)
* fix: Currency picker UI when keyboard is showing

* refactor: move picker logic into the common Picker widget

- CurrencyPicker uses the common Picker widget in grid mode
- SeedLanguagePicker uses the common Picker widget in grid mode
- Added logic for keyboard showing UI into Picker widget
- Added `softWrap: true` to the item text, so it doesn't overflow

* fix: remove subPickerItemsList

* fix: add final

* fix: move function out of initState()

* fix: keep build functions separate to remove boolean comparisons

* fix: remove onItemSelected from already selected item

* fix: change Expanded for Flexible widget
2023-04-14 16:52:07 +02:00
Omar Hatem
c5477e4f9e
Dashboard desktop view (#737)
* Add build scripts for macOS. Add macos for cw_monero plugin. Add macos proj to the application.

* - Update Flutter secure storage to work with macos
- Enable uni links only on Mobile
- Update devcelocale to work with macos

* Add network access to mac

* Change Dashboard view on desktop size screens

* Add on Tap to desktop_action_button.dart
Remove unused functions

* Fix arch match for monero lib for darwin x86_64 -> x86-64

* Add Bundle ID in entitlements files through app config script

* Update deployment target to 10.13

* Revert back to Cake fork for secure storage

* Revert back to Cake fork for secure storage

* Revert mac os version

* Revert mac os version

* Add platform channel specific code for mac os

* Add desktop sidebar

* [skip ci] Add desktop sidebar

* [skip ci] Add desktop sidebar

* - Remove legacy migration from macos
- Remove wake lock native code and just use the ready made package

* Remove wake lock native code and just use the ready made package

* Remove unstoppable domain from macos since it's not supported

* Temporarily fetch unstoppable domains only on mobile

* refactor desktop settings sidebar

* Ignore increasing brightness for non-mobile platforms

* Add Wallet selection dropdown to dashboard desktop view

* Generate MacOS icons

* localize settings

* fix dashboard sidebar and responsive utils

* Change Mac os app name and bundle id

* Fix exchange page as fullScreenDialog

* Remove constants

* - Refactor onRamper to have a single point of modification
- Enlarge initial app size
- update Flutter and Packages

* Add pubspec.lock and Podfile.lock to gitignore

* Remove Podfile.lock from cache

* Fix bug on sidebar reset

* Fix issues from code review

* [skip ci] reformat desktop dashboard

* [skip ci] reformat desktop dashboard

* Revert removing .lock files

* Revert changes in .gitignore

* [skip ci] remove .project changes

* [skip ci] remove .project changes

* Separate Dashboard desktop view from mobile view

* constraint images and pincoded box

* Remove drawer from mac os

* - Listen to keyboard events in PIN screen
- Fix PIN buttons style

* Fix desktop nav bar UI

* Add Marketplace to dashboard view

* Update trailing icon to open transaction page

* Update widget contraints

* Add empty trailing to center page title on desktop

* Refresh desktop dashboard actions on wallet change

* Change ionia welcome page animation

* Fix Constrained width screens UI

* Refactor sidebar state management

* remove empty line

* Add max width constrain to Welcome page

* Change Exchange page UI depending on platform

* - Change design/paddings for Send page on desktop view
- Make AddTemplateButton instead of having it duplicated in send/exchange

* Fix Desktop dashboard actions background color

* Constrain primary Buttons width

* Make side menu items toggle back to dashboard

* Add padding to support page

* Add width constraints to desktop dashboard

* Fix UI issues, paddings and alignments

* Rename misleading variable
Change initial mac window size

* Fix wallet create in settings

* remove unnecessary code

* remove unnecessary code

* Remove duplicated constrains

* - Use close icon on main screens
- Minor UI fixes

* fix pageview controller reset index

* Add create and restore wallet options to dropdown menu

* Fix desktop background color and address book view issues

* Fix input field

* Add onFieldSubmitted to allow "enter" button interaction

* Fix issue from code review

* Fix Popup width constraint and add focus orders

* Fix variable name

* Fix issues from code review

* refactor dropdown items

* Fix alignment in create and restore wallet screens

* Fix dropdown change state bug

Hide scanner for desktop

* remove space

* override navbar with desktopnavbar

* Remove autofocus

* remove unused code

* Fix ionia input field alignment

* Replace removed code

* Add app lock feature on mac

* Add assertion to avoid null

* Add Nano currency image

* Enable adding contact from send screen

* Fix UI issues
Add missing translation

* pop only PIN screen after successful auth

* Add back wallet settings page to desktop settings actions

* Fix Navigation animation for settings screens

* Fixate MobX version to fix restore issue

* CW-324 Refresh current settings page if wallet changed (#811)

* Fix refresh current settings page if wallet changed

* Fix refresh current settings page if wallet changed

* Refresh Wallet Seeds/Keys List upon wallet change

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>

* Remove navigation workaround for duplicate key, and fix the issue by handling creation/disposing of global key (#840)

* Cw 323 add wallet list to settings on mac (#843)

* Remove navigation workaround for duplicate key, and fix the issue by handling creation/disposing of global key

* - Register Wallet List as singleton in Desktop to be modify the same instance from settings and dropdown
- General Fixes and Enhancements

* Fix Changing/Restoring wallet from settings

* Fix Create wallet not showing seeds screens if launched from settings

* Add max width constraint for Alerts

* - Add Desktop API keys
- Fix Change back up password issue
- Fix Popup width

* Sync Mac with latest main updates

* Swap Transactions icon with lock icon

* Save backup file locally on desktop

* Sync with latest main updates

* Fix Navigation issues with anonpay

* Update macos build version

* Remove deprecated custom wake lock code for Android

* Remove Legacy CryptoSwift package from MacOS

* - Refactor Payfura page code
- Add OnRamper new configs to onramper_buy_provider.dart
- Fix Conflicts with main

* Updated device locale package

* Update android tools

* Revert changes and update only gradle version

* Downgrade android tools version

* Update gradle version

* Update package/gradle/plugin version

* - Fixate device locale version
- Downgrade gradle version

* Update kotlin version

* Update gradle version

* Trial for a custom fork from devicelocale

* Fixate shared preferences package version

* Revert gradle version

* Revert kotlin version

* Downgrade gradle version

* Downgrade gradle version

* Repair cache and clean before build

* Fixate flutter version

* update google services version

* revert google services version

* Force shared pref android version

* Override shared prefs android package version

* Override shared prefs android package [skip ci]

---------

Co-authored-by: M <m@cakewallet.com>
Co-authored-by: Godwin Asuquo <godilite@gmail.com>
Co-authored-by: Godwin Asuquo <41484542+godilite@users.noreply.github.com>
2023-04-14 06:39:08 +02:00
Godwin Asuquo
4fd8b722e9
Add padding to adjust top (#861)
* Add padding to adjust top

* Update padding
2023-04-07 17:53:01 +02:00
Omar Hatem
37ef63d09e
V4.6.1 report fixes (#859)
* Add exception handler to anypay api response failure

* Check if context is still mounted before fetching iPad position

* Add user connection issue to ignored errors

* Wrap launchURL in empty try catch to avoid package un-needed exceptions
2023-03-31 21:14:22 +02:00
Serhii
72df78ad8c
CW-335-Add-Payfura-widget-for-XMR-Buy (#857)
* add payFura widget

* Update pr_test_build.yml

* Change Buy strings

Also add Sell string to ZH, which was missing

* minor fixes

* update alert for monero.com

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-03-31 20:34:39 +02:00
Justin Ehrenhofer
7cd4e6583c
Add fiatApiKey (#858) 2023-03-31 20:22:51 +02:00
Serhii
9f1325ba0f
Merge pull request #853 from cake-tech/CW-339-Advanced-settings-page-crash-on-a-fresh-install
CW-339-Advanced-settings-page-crash-on-a-fresh-install
2023-03-31 15:53:45 +03:00
Serhii
ca638ebd71 [skip ci] minor fix 2023-03-31 15:52:47 +03:00
Serhii
f579f67c15 [skip ci] minor fix 2023-03-31 15:42:48 +03:00
Serhii
3e43e899a5 truncate exchange amount 2023-03-31 12:45:54 +03:00
Serhii
1ff4b9bf88 fix node editing 2023-03-30 18:39:43 +03:00
Godwin Asuquo
8b7bfd74e3
Fix anonpay clear form buttton (#850) 2023-03-30 16:43:26 +02:00
Serhii
045852ec4d fix fresh install bug 2023-03-30 15:43:34 +03:00
Godwin Asuquo
3006679560
Cw 314 trocador receive screen update (#823)
* Change receive screen ui

* Upgrade flutter packages

* revert Upgrade flutter packages

* revert Upgrade flutter packages

* Adjust flow for anon invoice page navigation

* Add receive screen ui

* Implement anonpay invoice

* Add invoice detail to transactions page

* Implement donation link

* Fix transaction filter and details view

* Save donation link

* Fix transaction display issues

* Fix formatting

* Fix merge conflict

* Fix localization

* Fix transaction amount display

* Fix transaction limit for fiat

* Update fix from code review

* Fix issues from code review

* Make amountTo nullable to avoid potential

* Remove encoding for description in donation link

* Remove optional params from request

* Fix QR image version

* Refactor QRCode, fix issues from code review

* Pass version to QRCode full page

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-03-24 17:26:42 +02:00
Godwin Asuquo
893a267de6
Require pin code on backup and seed/view page (#844)
* Require pin code on backup and seedview page

* Require pin code on backup and seedview page
2023-03-23 18:18:02 +02:00
Omar Hatem
ab4d020560
New Version Updates v4.6.1 and v1.3.1 (#837) 2023-03-20 17:15:14 +02:00
Omar Hatem
4027619ad3
V4.6.0 reports fixes (#835)
* Add user network connection issue to ignored errors

* Check current nodes on each app start

* Add user network connection error to ignored errors

* Fix sharing files issue on iOS
2023-03-17 21:15:28 +02:00
Serhii
df52516964
fix auto valid for receive screen (#834) 2023-03-17 13:33:45 +02:00
Serhii
7dfc5b23bc
CW-243-Better-error-message-for-too-many-decimals (#818)
* update amoung validation

* fix decimal validator

* minor fix
2023-03-15 19:22:08 +02:00
Serhii
fc2627df38
CW-319-Wallet-Seed-keys-URI-QR-code (#831)
* wallet QR code on Wallet/Seed screen

* fix restore height for new wallet

* fix height parameter

* fix currenHeight and HeightByDate for haven

* update configure.dart

* fix coments

* minor fix
2023-03-15 17:30:06 +02:00
Serhii
f458e5b349
CW-277-Allow-editing-nodes (#827)
* allow editing nodes

* fix buttons size

* fix comments
2023-03-15 15:24:38 +02:00
Justin Ehrenhofer
2571bf7fbe
Merge pull request #832 from cake-tech/unstoppable-polygon
Add `.polygon` to unstoppable domains
2023-03-14 16:23:16 -05:00
Justin Ehrenhofer
4ccb395c1e Add .polygon to unstoppable domains
https://unstoppabledomains.com/blog/categories/announcements/article/unstoppable-domains-and-polygon-labs-launch-.polygon
2023-03-14 10:16:20 -05:00
Serhii
3424b9abde
incognito mode for keyboard (#829) 2023-03-14 02:30:05 +02:00
Godwin Asuquo
2bce2eb949
Fix payout and input address swap trocador (#826)
* Fix payout and input address swap trocador

* Fix address swap in trocodor find trade map
2023-03-11 00:21:25 +02:00
OmarHatem
44a9ad7487 Update MobX
Fix auth state not triggering onAuthState changed due to same value
2023-03-06 18:42:15 +02:00
OmarHatem
5775313b1d Merge branch 'main' of https://github.com/cake-tech/cake_wallet into new-fiat-currencies
 Conflicts:
	lib/reactions/on_current_wallet_change.dart
2023-03-03 01:53:23 +02:00
Justin Ehrenhofer
2a48d645ae Revert part of the Haven change 2023-03-02 17:47:10 -06:00
OmarHatem
fce4328a3f Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-317-change-fiat-api 2023-03-02 21:45:51 +02:00
Omar Hatem
3128d458f8
Merge pull request #765 from cake-tech/CW-282-add-trocador-exchange
CW-282 add trocador exchange
2023-03-02 21:42:30 +02:00
Omar Hatem
960f761c05
Merge pull request #794 from cake-tech/error-report-enhancements
Error Reports Enhancements
2023-03-02 21:39:43 +02:00
OmarHatem
60f47e5e9f Fix calling wrong path 2023-03-02 21:13:19 +02:00
OmarHatem
29e9bb2181 Call Onion API from http 2023-03-02 19:24:52 +02:00
OmarHatem
de62987338 Add Fiat API mode to advanced privacy settings page 2023-03-02 19:13:00 +02:00
OmarHatem
8625e33537 Merge branch 'CW-282-add-trocador-exchange' of https://github.com/cake-tech/cake_wallet into CW-317-change-fiat-api
 Conflicts:
	lib/src/screens/settings/privacy_page.dart
2023-03-02 18:58:23 +02:00
Godwin Asuquo
d5c4bd0236 change type to int 2023-03-02 17:43:42 +02:00
Godwin Asuquo
15237d5f79 Fix issues from code review 2023-03-02 17:13:25 +02:00
Godwin Asuquo
9f952cda40 Remove disableExchangeKey from sharedpreference 2023-03-01 23:46:05 +02:00
Godwin Asuquo
b0175719b9 Fix issues from code review 2023-03-01 23:44:15 +02:00
OmarHatem
861616fda2 use Http protocol for onion connection 2023-03-01 23:24:52 +02:00
OmarHatem
248e8037a9 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-317-change-fiat-api 2023-03-01 18:54:10 +02:00
cppethereum
cf25878a61
Merge branch 'main' into add-indonesian-language 2023-03-01 10:04:47 -05:00
Godwin Asuquo
dbfbadffda Filter to use Tor only exchange 2023-03-01 15:50:31 +02:00
OmarHatem
247ec24e46 Re-organize ignored errors in ascending order of errno [skip ci] 2023-03-01 15:47:16 +02:00
OmarHatem
f23a2ccfe6 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into error-report-enhancements 2023-03-01 15:40:26 +02:00
Justin Ehrenhofer
c9726403ec Remove TRY
Ideally this asset would be supported, but it's not worth devoting effort to fix this 1 currency right now
2023-02-28 12:51:44 -06:00
OmarHatem
18af7e7661 remove print statements [skip ci] 2023-02-28 18:36:39 +02:00
OmarHatem
ce4b1cd4ae Update fiat API version
Enable Tor support for Fiat
2023-02-28 18:23:21 +02:00
Godwin Asuquo
8419767c4f Add limit query to trocador 2023-02-28 18:12:24 +02:00
Justin Ehrenhofer
dfcdfd87d1 [skip ci] Remove Haven USD hardcode 2023-02-28 10:03:31 -06:00
Justin Ehrenhofer
7ba88699d4 [skip ci] Remove AED 2023-02-28 10:02:23 -06:00
holecekp
c14fd50625 Merge remote-tracking branch 'remotes/upstream/main' 2023-02-28 16:44:44 +01:00
OmarHatem
d05f77d16c Merge branch 'main' of https://github.com/cake-tech/cake_wallet into error-report-enhancements 2023-02-28 15:37:37 +02:00
cr0mll
11da732ad1
Merge branch 'main' into bulgarian_support 2023-02-28 09:57:48 +02:00
Justin Ehrenhofer
c6f6ab0bc9 Add missing clp 2023-02-27 12:29:05 -06:00
Justin Ehrenhofer
b500540072 Test fix for TRY
As suspected: https://github.com/cake-tech/cake_wallet/actions/runs/4285241568/jobs/7463282181#step:13:306

This might not work depending on how the const is used, so will test the build
2023-02-27 11:55:01 -06:00
Justin Ehrenhofer
afb3c7ddaf Add fiat currencies
Adds:
AED, ARS, BDT, CLP, COP, EGP, GHS, GTQ, IRR, MAD, NGN, PKR, SAR, THB, TRY, UAH, VND

This may mess things up because of TRY, so I'll test the PR and make changes as needed
2023-02-27 11:43:07 -06:00
Omar Hatem
d96dda319f
Merge pull request #764 from rex4539/typos
Fix typos
2023-02-27 18:50:28 +02:00
Omar Hatem
9fcb379d19
Merge pull request #784 from cake-tech/fix-support-page-links
Fix Support links
2023-02-27 18:39:35 +02:00
Omar Hatem
18a8ad04d4
Merge pull request #808 from cake-tech/fix-null-checks-on-disposed-screens
Fix null checks on disposed screens
2023-02-27 18:39:16 +02:00
Omar Hatem
db861c036e
Merge pull request #783 from cake-tech/fix-share-backup-on-ipad
Fix Share issue on iPad
2023-02-27 18:37:27 +02:00
OmarHatem
9c26912ce9 Add Socket exception to ignored errors [skip ci] 2023-02-27 18:28:30 +02:00
OmarHatem
f470723ece Add try/catch block in case launch url throws a platform exception 2023-02-27 16:07:22 +02:00
OmarHatem
2c43f29d64 Check if context is still mounted before showing a popup [skip ci] 2023-02-27 15:59:20 +02:00
cr0mll
cf5cee946b Added Bulgarian language 2023-02-25 19:34:23 +02:00
Waffle Man
e099133ae8
Merge branch 'cake-tech:main' into main 2023-02-24 14:56:55 +02:00
OmarHatem
db1fdac2b5 Add connection timed out error to ignored exceptions [skip ci] 2023-02-22 04:15:18 +02:00
OmarHatem
37ea2d341f Add Exception handler to report loading wallet issues 2023-02-20 22:25:54 +02:00
OmarHatem
7b35604ff5 Add app version and device info to error report 2023-02-20 22:17:41 +02:00
OmarHatem
54dab5883f Check for context first before showing popup 2023-02-15 17:50:48 +02:00
Omar Hatem
13ee217502
Merge pull request #770 from cake-tech/CW-285-Show-number-of-confirmations-in-transactions-screen-for-Monero-and-Haven-if-10
add number of confirmations to transactions
2023-02-14 16:02:39 +02:00
Omar Hatem
f77a9592b2
Add nullability check on description [skip ci] 2023-02-14 15:17:28 +02:00
Serhii
7235d8c9c2 redesign user object 2023-02-14 00:23:57 +02:00
OmarHatem
6d7ce369bf Add connection timed out error to ignored errors [skip ci] 2023-02-13 23:05:08 +02:00
OmarHatem
f49695f417 Fix support links/emails not opening 2023-02-13 20:44:23 +02:00
OmarHatem
b5542d9f7d Add share files to share utils and unify the fix for ipad 2023-02-13 20:41:18 +02:00
Dimitris Apostolou
1fe1b2fd87
Fix typos 2023-02-13 18:50:03 +02:00
Serhii
a3f332342f minor fix 2023-02-13 18:46:53 +02:00
Justin Ehrenhofer
891a9d3368 Add 5 new assets and map TRX -> TRC20 2023-02-13 08:51:26 -06:00
Serhii
5c663c5596 redesign user object 2023-02-13 00:38:12 +02:00
Serhii
8bae7d2179 minor fix 2023-02-12 16:22:05 +02:00
Serhii
e464d4a70a Merge branch 'main' into CW-285-Show-number-of-confirmations-in-transactions-screen-for-Monero-and-Haven-if-10 2023-02-10 00:06:57 +02:00
Serhii
25228eb633 fix confirmations 2023-02-10 00:01:58 +02:00
Justin Ehrenhofer
6711d9530f Normalize remaining tags/networks
Also rename Cake `C-CHAIN` tag to `AVAXC`, which will result in a clearer situation for user if we later add USDT (AVAXC), for example.
2023-02-09 10:52:24 -06:00
Godwin Asuquo
5f6b447706 Fix _network normalize function 2023-02-09 18:24:59 +02:00
Serhii
624036d00c add address lookup for pinned tweet 2023-02-09 12:23:13 +02:00
Justin Ehrenhofer
11a5831b08 Fix support URLs 2023-02-08 13:33:54 -06:00
OmarHatem
51a11d0bc2 Make coolDownDuration private 2023-02-08 20:47:23 +02:00
OmarHatem
8a45cb4dc7 - Add Linter rules for return types and final fields
- Enhance exception_handler code
- Add ShareUtil to unify modification point
2023-02-08 20:16:12 +02:00
Serhii
c10105872c add number of confirmations to transactions 2023-02-08 18:47:12 +02:00
OmarHatem
27f242a5ee Use view model variable hasRescan instead [skip ci] 2023-02-08 18:45:38 +02:00
OmarHatem
9a5244ffed Revert changes to show_pop_up.dart 2023-02-08 17:12:41 +02:00
OmarHatem
fa54ebe855 Fix popup null context as it was using a dismissed (unmounted) context [skip ci] 2023-02-08 17:01:23 +02:00
OmarHatem
1b42d2b61c Fix Share on iPad and Mac "https://pub.dev/packages/share_plus#known-issues" 2023-02-08 00:06:47 +02:00
OmarHatem
e67b484613 - Fix RangeError due to changes in _tradeAvailableProviders while the Futures complete
- Silently catch "Concurrent modification during iteration"
2023-02-07 23:48:10 +02:00
OmarHatem
74b571fc77 Add exceptions for user errors 2023-02-07 22:11:25 +02:00