Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionia #437

Merged
merged 64 commits into from
Jul 28, 2022
Merged

Ionia #437

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
5314d49
Initial ionia service
mkyq May 30, 2022
de0ca1d
Ionia manage card UI (#374)
godilite Jun 15, 2022
3753b16
Add ionia merchant sevic
mkyq Jun 16, 2022
716c082
Merge branch 'ionia' of github.com:cake-tech/cake_wallet into ionia
mkyq Jun 16, 2022
6c947cd
Add anypay. Add purschase gift card.
mkyq Jun 20, 2022
44efd56
display virtual card (#385)
godilite Jun 21, 2022
aab6d89
Merge branch 'ionia' of github.com:cake-tech/cake_wallet into ionia
mkyq Jun 21, 2022
06a6d8d
Remove IoniaMerchantService from IoniaViewModel
mkyq Jun 21, 2022
76fe14c
Add hex and txKey for monero pending transaction.
mkyq Jun 22, 2022
1447ea3
Changed monero version and monero repo to cake tech.
mkyq Jun 22, 2022
657265a
Add anypay payment. Add filter by search for ionia, add get purchased…
mkyq Jun 28, 2022
1d1bffa
Fix for get transactions for hidden addresses for electrum wallet
mkyq Jun 28, 2022
e9b27f9
Add ionia categories.
mkyq Jun 29, 2022
0a7f8bf
Add anypay commited info for payments.
mkyq Jun 29, 2022
03800e0
Update UI with new fixes (#400)
godilite Jun 29, 2022
def28ba
Change ionia base url. Add exception throwing for error messaging for…
mkyq Jun 30, 2022
828d14b
Merge branch 'ionia' of github.com:cake-tech/cake_wallet into ionia
mkyq Jun 30, 2022
73cbdc4
CW-102 fix logic for ionia issues (#403)
godilite Jul 6, 2022
f320e74
refactor tips (#406)
godilite Jul 7, 2022
28ff890
Cw 115 implement gift cards list for ionia (#405)
godilite Jul 7, 2022
d85cc72
Fixes for getting of purchased gift cards.
mkyq Jul 7, 2022
2a0206c
Implement gift card details screen (#408)
godilite Jul 11, 2022
abb6ff4
Add redeem for ionia gift cards
mkyq Jul 14, 2022
b9cc776
Fix navigation after ionia opt redirection.
mkyq Jul 14, 2022
ce47984
Fix update gift cards list.
mkyq Jul 14, 2022
3b61edc
Add payment status update for ionia.
mkyq Jul 18, 2022
d47887e
Add usage instruction to gift card.
mkyq Jul 18, 2022
8ad3a40
Add copy for ionia gift card info.
mkyq Jul 18, 2022
effe163
Change version for Cake Wallet ios.
mkyq Jul 18, 2022
c8b18ad
Add localisation (#414)
godilite Jul 19, 2022
9d3e265
Fixes for fiat amounts for ionia.
mkyq Jul 19, 2022
6e79b3a
Merge branch 'ionia' of github.com:cake-tech/cake_wallet into ionia
mkyq Jul 19, 2022
622914f
CW-128 marketplace screen text changes (#416)
godilite Jul 19, 2022
61bf2f1
UI fixes for ionia.
mkyq Jul 20, 2022
4eedc72
UI fixes for ionia. (#421)
mkyq Jul 20, 2022
c1fbd74
CW-129 ionia welcome screen text changes (#418)
godilite Jul 20, 2022
8b4fa5a
Cw 133 (#422)
mkyq Jul 20, 2022
ddedba6
Merge branch 'ionia' of github.com:cake-tech/cake_wallet into ionia
mkyq Jul 20, 2022
c23c648
Fix signup page (#419)
godilite Jul 20, 2022
100bb0f
Merge branch 'ionia' of github.com:cake-tech/cake_wallet into ionia
mkyq Jul 20, 2022
f849e96
Changed tips for ionia.
mkyq Jul 20, 2022
32f5a79
Cw 132 (#425)
mkyq Jul 20, 2022
24d6a30
Merge branch 'ionia' of github.com:cake-tech/cake_wallet into ionia
mkyq Jul 20, 2022
1d4a9f9
Cw 131 (#426)
mkyq Jul 20, 2022
720caa6
Merge branch 'ionia' of github.com:cake-tech/cake_wallet into ionia
mkyq Jul 20, 2022
69577e1
Merge branch 'main' of github.com:cake-tech/cake_wallet into ionia
mkyq Jul 21, 2022
bfa904f
Change ionia heading font style (#427)
godilite Jul 21, 2022
83245b2
Fix for AddressResolver in di
mkyq Jul 21, 2022
41064b4
Changed build number for Cake Wallet ios.
mkyq Jul 21, 2022
58d135e
fix currency format for card details and routing for mark as redeemed…
godilite Jul 22, 2022
83d5c17
fix terms and condition overflow in ionia (#430)
godilite Jul 22, 2022
0b60a03
Remove IoniaTokenService
mkyq Jul 26, 2022
02ac690
Change api for ionia to staging
mkyq Jul 26, 2022
232ed89
Update versions for Cake Wallet for android and ios.
mkyq Jul 26, 2022
1cfd1df
Fixes for instructions. Remove diplay error on payment status screen.
mkyq Jul 26, 2022
2bc5b70
Change build versions for Cake Wallet
mkyq Jul 26, 2022
0c8caf8
Add ionia sign in.
mkyq Jul 27, 2022
8bd66b6
Update for discounts and statuses for ionia merch.
mkyq Jul 27, 2022
cb1ca8c
Fixes for qr/barcode on ionia gift card screen.
mkyq Jul 27, 2022
3a9210c
Fixed formatting for display ionia discounts.
mkyq Jul 27, 2022
5148272
Fix merchant.discount.toStringAsFixed issue
mkyq Jul 27, 2022
7e32ba4
Add savingsPercentage to ionia merch discount.
mkyq Jul 28, 2022
eeaecae
Change build number for Cake Wallet ios and android.
mkyq Jul 28, 2022
2cf0532
Disable ionia for haven (#440)
godilite Jul 28, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' of github.com:cake-tech/cake_wallet into ionia
  • Loading branch information
mkyq committed Jul 21, 2022
commit 69577e192a24b3ba976ced4d5f29ed3e23d7ebed
Binary file added assets/images/mini_search_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/search_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions lib/di.dart
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ import 'package:cake_wallet/src/screens/ionia/cards/ionia_payment_status_page.da
import 'package:cake_wallet/view_model/ionia/ionia_payment_status_view_model.dart';
import 'package:cake_wallet/anypay/any_pay_payment_committed_info.dart';
import 'package:cake_wallet/ionia/ionia_any_pay_payment_info.dart';
import 'package:cake_wallet/src/screens/receive/fullscreen_qr_page.dart';
import 'package:cake_wallet/core/wallet_loading_service.dart';

final getIt = GetIt.instance;

Expand Down Expand Up @@ -661,6 +663,11 @@ Future setup(

getIt.registerFactory(() => YatService());

getIt.registerFactory(() => AddressResolver(yatService: getIt.get<YatService>(),
walletType: getIt.get<AppStore>().wallet.type));

getIt.registerFactoryParam<FullscreenQRPage, String, bool>(
(String qrData, bool isLight) => FullscreenQRPage(qrData: qrData, isLight: isLight,));
getIt.registerFactory(() => AddressResolver(yatService: getIt.get<YatService>()));

getIt.registerFactory(() => IoniaApi());
Expand Down
11 changes: 11 additions & 0 deletions lib/router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ import 'package:cake_wallet/src/screens/exchange_trade/exchange_trade_page.dart'
import 'package:flutter/services.dart';
import 'package:cake_wallet/wallet_types.g.dart';
import 'package:cake_wallet/src/screens/dashboard/widgets/address_page.dart';
import 'package:cake_wallet/src/screens/receive/fullscreen_qr_page.dart';
import 'package:cake_wallet/src/screens/ionia/ionia.dart';
import 'package:cake_wallet/src/screens/ionia/cards/ionia_payment_status_page.dart';
import 'package:cake_wallet/anypay/any_pay_payment_committed_info.dart';
Expand Down Expand Up @@ -398,6 +399,16 @@ Route<dynamic> createRoute(RouteSettings settings) {
getIt.get<UnspentCoinsDetailsPage>(
param1: args));

case Routes.fullscreenQR:
final args = settings.arguments as Map<String, dynamic>;

return MaterialPageRoute<void>(
builder: (_) =>
getIt.get<FullscreenQRPage>(
param1: args['qrData'] as String,
param2: args['isLight'] as bool,
));

case Routes.ioniaWelcomePage:
return CupertinoPageRoute<void>(builder: (_) => getIt.get<IoniaWelcomePage>());

Expand Down
1 change: 1 addition & 0 deletions lib/routes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class Routes {
static const moneroRestoreWalletFromWelcome = '/monero_restore_wallet';
static const moneroNewWalletFromWelcome = '/monero_new_wallet';
static const addressPage = '/address_page';
static const fullscreenQR = '/fullscreen_qr';
static const ioniaWelcomePage = '/cake_pay_welcome_page';
static const ioniaCreateAccountPage = '/cake_pay_create_account_page';
static const ioniaLoginPage = '/cake_pay_login_page';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/screens/ionia/cards/ionia_manage_cards_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class _SearchWidget extends StatelessWidget {
final searchIcon = Padding(
padding: EdgeInsets.all(8),
child: Image.asset(
'assets/images/search_icon.png',
'assets/images/mini_search_icon.png',
color: Theme.of(context).textTheme.caption.decorationColor,
),
);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/screens/ionia/widgets/ionia_filter_modal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class IoniaFilterModal extends StatelessWidget {
final searchIcon = Padding(
padding: EdgeInsets.all(10),
child: Image.asset(
'assets/images/search_icon.png',
'assets/images/mini_search_icon.png',
color: Theme.of(context).accentColor,
),
);
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@
"search_currency": "Währung suchen",
"new_template" : "neue Vorlage",
"electrum_address_disclaimer": "Wir generieren jedes Mal neue Adressen, wenn Sie eine verwenden, aber vorherige Adressen funktionieren weiterhin",
"wallet_name_exists": "Wallet mit diesem Namen existiert bereits",
"market_place": "Marktplatz",
"cake_pay_title": "Cake Pay-Geschenkkarten",
"cake_pay_subtitle": "Geschenkkarten kaufen und sofort einlösen",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@
"search_currency": "Search currency",
"new_template" : "New Template",
"electrum_address_disclaimer": "We generate new addresses each time you use one, but previous addresses continue to work",
"wallet_name_exists": "Wallet with that name has already existed",
"market_place": "Marketplace",
"cake_pay_title": "Cake Pay Gift Cards",
"cake_pay_subtitle": "Buy gift cards and redeem instantly",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@
"search_currency": "Moneda de búsqueda",
"new_template" : "Nueva plantilla",
"electrum_address_disclaimer": "Generamos nuevas direcciones cada vez que usa una, pero las direcciones anteriores siguen funcionando",
"wallet_name_exists": "Wallet con ese nombre ya ha existido",
"market_place": "Mercado",
"cake_pay_title": "Tarjetas de regalo Cake Pay",
"cake_pay_subtitle": "Compra tarjetas de regalo y canjéalas al instante",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@
"search_currency": "Devise de recherche",
"new_template" : "Nouveau Modèle",
"electrum_address_disclaimer": "Nous générons de nouvelles adresses à chaque fois que vous en utilisez une, mais les adresses précédentes continuent à fonctionner",
"wallet_name_exists": "Le portefeuille portant ce nom existe déjà",
"market_place": "Place de marché",
"cake_pay_title": "Cartes cadeaux Cake Pay",
"cake_pay_subtitle": "Achetez des cartes-cadeaux et échangez-les instantanément",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_hi.arb
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@
"search_currency": "मुद्रा खोजें",
"new_template" : "नया टेम्पलेट",
"electrum_address_disclaimer": "हर बार जब आप एक का उपयोग करते हैं तो हम नए पते उत्पन्न करते हैं, लेकिन पिछले पते काम करना जारी रखते हैं",
"wallet_name_exists": "उस नाम वाला वॉलेट पहले से मौजूद है",
"market_place": "मार्केटप्लेस",
"cake_pay_title": "केक पे गिफ्ट कार्ड्स",
"cake_pay_subtitle": "उपहार कार्ड खरीदें और तुरंत रिडीम करें",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_hr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@
"search_currency": "Traži valutu",
"new_template" : "novi predložak",
"electrum_address_disclaimer": "Minden egyes alkalommal új címeket generálunk, de a korábbi címek továbbra is működnek",
"wallet_name_exists": "Novčanik s tim nazivom već postoji",
"market_place": "Tržnica",
"cake_pay_title": "Cake Pay poklon kartice",
"cake_pay_subtitle": "Kupite darovne kartice i odmah ih iskoristite",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_it.arb
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@
"search_currency": "Cerca valuta",
"new_template" : "Nuovo modello",
"electrum_address_disclaimer": "Generiamo nuovi indirizzi ogni volta che ne utilizzi uno, ma gli indirizzi precedenti continuano a funzionare",
"wallet_name_exists": "Il portafoglio con quel nome è già esistito",
"market_place": "Mercato",
"cake_pay_title": "Carte regalo Cake Pay",
"cake_pay_subtitle": "Acquista carte regalo e riscattale all'istante",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_ja.arb
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@
"search_currency": "検索通貨",
"new_template" : "新しいテンプレート",
"electrum_address_disclaimer": "使用するたびに新しいアドレスが生成されますが、以前のアドレスは引き続き機能します",
"wallet_name_exists": "その名前のウォレットはすでに存在しています",
"market_place": "Marketplace",
"cake_pay_title": "ケーキペイギフトカード",
"cake_pay_subtitle": "ギフトカードを購入してすぐに利用できます",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_ko.arb
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@
"search_currency": "통화 검색",
"new_template" : "새 템플릿",
"electrum_address_disclaimer": "사용할 때마다 새 주소가 생성되지만 이전 주소는 계속 작동합니다.",
"wallet_name_exists": "해당 이름의 지갑이 이미 존재합니다.",
"market_place": "마켓플레이스",
"cake_pay_title": "케이크 페이 기프트 카드",
"cake_pay_subtitle": "기프트 카드를 구매하고 즉시 사용",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_nl.arb
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@
"search_currency": "Zoek valuta",
"new_template" : "Nieuwe sjabloon",
"electrum_address_disclaimer": "We generate new addresses each time you use one, but previous addresses continue to work",
"wallet_name_exists": "Portemonnee met die naam bestaat al",
"market_place": "Marktplaats",
"cake_pay_title": "Cake Pay-cadeaubonnen",
"cake_pay_subtitle": "Koop cadeaubonnen en wissel ze direct in",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_pl.arb
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@
"search_currency": "Wyszukaj walutę",
"new_template" : "Nowy szablon",
"electrum_address_disclaimer": "Za każdym razem, gdy korzystasz z jednego z nich, generujemy nowe adresy, ale poprzednie adresy nadal działają",
"wallet_name_exists": "Portfel o tej nazwie już istnieje",
"market_place": "Rynek",
"cake_pay_title": "Karty podarunkowe Cake Pay",
"cake_pay_subtitle": "Kup karty podarunkowe i wykorzystaj je natychmiast",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_pt.arb
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@
"search_currency": "Pesquisar moeda",
"new_template" : "Novo modelo",
"electrum_address_disclaimer": "Geramos novos endereços cada vez que você usa um, mas os endereços anteriores continuam funcionando",
"wallet_name_exists": "A carteira com esse nome já existe",
"market_place": "Mercado",
"cake_pay_title": "Cartões de presente de pagamento de bolo",
"cake_pay_subtitle": "Compre vales-presente e resgate instantaneamente",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_ru.arb
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@
"search_currency": "Валюта поиска",
"new_template" : "Новый шаблон",
"electrum_address_disclaimer": "Мы генерируем новые адреса каждый раз, когда вы их используете, но предыдущие адреса продолжают работать.",
"wallet_name_exists": "Кошелек с таким именем уже существует",
"market_place": "Торговая площадка",
"cake_pay_title": "Подарочные карты Cake Pay",
"cake_pay_subtitle": "Купите подарочные карты и моментально погасите их",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_uk.arb
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@
"search_currency": "Шукати валюту",
"new_template" : "Новий шаблон",
"electrum_address_disclaimer": "Ми створюємо нові адреси щоразу, коли ви використовуєте їх, але попередні адреси продовжують працювати",
"wallet_name_exists": "Гаманець з такою назвою вже існує",
"market_place": "Ринок",
"cake_pay_title": "Подарункові картки Cake Pay",
"cake_pay_subtitle": "Купуйте подарункові картки та використовуйте їх миттєво",
Expand Down
1 change: 1 addition & 0 deletions res/values/strings_zh.arb
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@
"search_currency": "搜索货币",
"new_template" : "新模板",
"electrum_address_disclaimer": "每次您使用一个地址时,我们都会生成新地址,但之前的地址仍然有效",
"wallet_name_exists": "同名的钱包已经存在",
"market_place": "市场",
"cake_pay_title": "Cake Pay 礼品卡",
"cake_pay_subtitle": "购买礼品卡并立即兑换",
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.