Commit graph

102 commits

Author SHA1 Message Date
Godwin Asuquo
a4c279b538
CW-411 Update sideshift api (#959)
* Update sideshift api

* Fix sideShift api v2 rate

* Fix rate calculation on sideshift

* Additional fixes

* Minor: Add additional unsupported
* Add network to quote
* Add amount and affiliateID to quote
* Refactor tag/network assigning

* Fix syntax errors with rate qpi

* Add network for fetching rate

* Remove amount from rate endpoint

* Fix transaction depositAmount

* Fix issues from code review

* Fix issues from code review

* Remove affiliate ID

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
2023-06-09 14:46:00 +03: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
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
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
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
Godwin Asuquo
b0175719b9 Fix issues from code review 2023-03-01 23:44:15 +02:00
OmarHatem
1219cd2c14 Rename package along with app name in app.properties 2023-03-01 16:57:55 +02:00
Omar Hatem
bfaf5d11d1
Update pr_test_build.yml 2023-03-01 16:01:28 +02:00
OmarHatem
c3c1999048 Change package name when renaming test app 2023-03-01 15:39:34 +02:00
OmarHatem
4ab7edf90b Separate test build apk from overriding the original app 2023-03-01 07:01:17 +02:00
OmarHatem
23128dbe3c Separate test build apk from overriding the original app 2023-03-01 05:40:52 +02:00
OmarHatem
9b173f4fc8 Separate test build apk from overriding the original app 2023-03-01 05:12:36 +02:00
Godwin Asuquo
2c9f17e728 Upgrade flutter packages 2023-02-28 20:45:03 +02:00
Godwin Asuquo
2c5b44426f Upgrade flutter packages 2023-02-28 20:34:51 +02:00
OmarHatem
013816e30c Update Flutter version in Github workflow 2023-02-08 00:34:32 +02:00
Godwin Asuquo
a517993961 add trocador key to secrets 2023-02-06 22:20:46 +02:00
Serhii
34db9e5d50 fix key name 2023-01-26 20:20:01 +02:00
Serhii
6825b6e625 minor fixes 2023-01-26 20:05:09 +02:00
Omar Hatem
c673876dd5
Merge branch 'main' into update-build-environment 2023-01-05 21:53:05 +02:00
OmarHatem
5881b55336 Re-add caching after ensuring everything is working with the new Ubuntu version 2023-01-05 18:02:59 +02:00
OmarHatem
d8f29a4ac3 Force build externals to check compatibility with ubuntu version 2023-01-05 16:10:38 +02:00
OmarHatem
d21c879db1 Update Ubuntu version 2023-01-05 15:54:48 +02:00
OmarHatem
d9ec7978b6 Add test variables to workflow for external PR support 2022-12-28 22:20:37 +02:00
OmarHatem
3bcaf06802 Change key to be of the build scripts hash 2022-12-22 23:35:56 +02:00
OmarHatem
0baa0329ac Change key to be of the build scripts hash 2022-12-22 22:54:33 +02:00
OmarHatem
40270e84c9 - Add Cache Dependencies workflow on main branch to be available for all sub branches
- Replace static cache key with hash of dependencies pubspec.yaml
2022-12-22 20:59:40 +02:00
OmarHatem
dfa8ad2fe9 Remove testing steps 2022-12-20 14:37:13 +02:00
OmarHatem
61ae5bf800 Test Caching 2022-12-19 23:32:20 +02:00
OmarHatem
d204669f08 Test Caching 2022-12-19 21:50:44 +02:00
OmarHatem
bb197980f4 Upload to transfer.sh lastly since its taking more time recently 2022-12-19 19:41:00 +02:00
OmarHatem
ecc556e4e3 Cache Generated Externals to Improve the runtime of the workflow 2022-12-19 19:37:58 +02:00
OmarHatem
03a64b1685 Rename app and apk to ease testing process 2022-11-29 15:49:24 +02:00
OmarHatem
d38b3b0e06 Finalize upload to artifacts and renaming 2022-11-29 15:19:51 +02:00
OmarHatem
e264cb326d Try uploading renamed apk file 2022-11-29 15:15:56 +02:00
OmarHatem
5364dd8710 Try uploading renamed apk file 2022-11-29 15:01:20 +02:00
OmarHatem
bd1a5cf3f7 Try uploading renamed apk file 2022-11-29 14:56:27 +02:00
OmarHatem
e516bd7a07 Try uploading renamed apk file 2022-11-29 14:55:29 +02:00
OmarHatem
903cd7bf6f Try uploading renamed apk file 2022-11-29 14:53:15 +02:00
OmarHatem
8daf20753b Try uploading renamed apk file 2022-11-29 14:52:33 +02:00
OmarHatem
71989cf6d7 Try uploading renamed apk file 2022-11-29 14:52:04 +02:00
OmarHatem
12f4b9339c Try uploading renamed apk file 2022-11-29 14:50:46 +02:00
OmarHatem
e78ef3c201 Try uploading renamed apk file 2022-11-29 14:48:01 +02:00
OmarHatem
0c8636a778 Try uploading renamed apk file 2022-11-29 14:46:03 +02:00
OmarHatem
1198b16455 Try uploading single apk file 2022-11-29 14:37:56 +02:00
OmarHatem
9b20af9292 try different file 2022-11-29 14:33:09 +02:00
OmarHatem
28f1afd972 try different file 2022-11-29 14:26:39 +02:00
OmarHatem
fb2e7306ad fix artifact path 2022-11-29 14:23:58 +02:00
OmarHatem
b62e4cb064 fix artifact path 2022-11-29 14:19:43 +02:00
OmarHatem
b70838a308 Upload APK to github artifacts
Rename apk
2022-11-29 14:16:04 +02:00
OmarHatem
bd65fd8782 Upload APK to github artifacts
Rename apk
2022-11-29 14:14:31 +02:00
Omar Hatem
4d91ef6af8
App Center Integration with CI/CD workflow (#644)
Add Ionia client id to secrets
Update how to build android instructions
Change devicelocale version as it caused issues when building
Add trigger for send test build to transfer.sh and notify slack channel
2022-11-27 15:10:21 -05:00