Release 4.4.4 (#451)

* Update build versions for Cake Wallet for ios and android. * Add formatted crypto amount to xmr transaction for anypay transactions. Hide order id and payment id if they are not exists on payment status screen. * Change build number for Cake Wallet ios and android. * Change ionia api to production endpoint. * Update version for monero.com app. * Update build number to cake wallet. * Fix for formatting amount for any_pay_payment totalAmount.

mkyq committed Aug 4, 2022 at 14:27 UTC aa9ed08648e158d65501656b2e893162c737b2a7
4 files changed +12 -12
lib/anypay/any_pay_payment.dart
+5 -5
@@ -1,8 +1,8 @@
1 import 'package:cake_wallet/anypay/any_pay_chain.dart';
2 -import 'package:cw_bitcoin/bitcoin_amount_format.dart';
3 -import 'package:cw_core/monero_amount_format.dart';
2 import 'package:flutter/foundation.dart';
3 import 'package:cake_wallet/anypay/any_pay_payment_instruction.dart';
4 +import 'package:cake_wallet/bitcoin/bitcoin.dart';
5 +import 'package:cake_wallet/monero/monero.dart';
6
7 class AnyPayPayment {
8 AnyPayPayment({
@@ -45,11 +45,11 @@ class AnyPayPayment {
45 .fold<int>(0, (int outAcc, out) => outAcc + out.amount));
46 switch (chain) {
47 case AnyPayChain.xmr:
48 - return moneroAmountToString(amount: total);
48 + return monero.formatterMoneroAmountToString(amount: total);
49 case AnyPayChain.btc:
50 - return bitcoinAmountToString(amount: total);
50 + return bitcoin.formatterBitcoinAmountToString(amount: total);
51 case AnyPayChain.ltc:
52 - return bitcoinAmountToString(amount: total);
52 + return bitcoin.formatterBitcoinAmountToString(amount: total);
53 default:
54 return null;
55 }
lib/ionia/ionia_api.dart
+1 -1
@@ -9,7 +9,7 @@ import 'package:cake_wallet/ionia/ionia_category.dart';
9 import 'package:cake_wallet/ionia/ionia_gift_card.dart';
10
11 class IoniaApi {
12 - static const baseUri = 'apistaging.ionia.io';
12 + static const baseUri = 'api.ionia.io';
13 static const pathPrefix = 'cake';
14 static final createUserUri = Uri.https(baseUri, '/$pathPrefix/CreateUser');
15 static final verifyEmailUri = Uri.https(baseUri, '/$pathPrefix/VerifyEmail');
scripts/android/app_env.sh
+3 -3
@@ -14,14 +14,14 @@ TYPES=($MONERO_COM $CAKEWALLET $HAVEN)
14 APP_ANDROID_TYPE=$1
15
16 MONERO_COM_NAME="Monero.com"
17 -MONERO_COM_VERSION="1.0.7"
18 -MONERO_COM_BUILD_NUMBER=14
17 +MONERO_COM_VERSION="1.0.8"
18 +MONERO_COM_BUILD_NUMBER=15
19 MONERO_COM_BUNDLE_ID="com.monero.app"
20 MONERO_COM_PACKAGE="com.monero.app"
21
22 CAKEWALLET_NAME="Cake Wallet"
23 CAKEWALLET_VERSION="4.4.4"
24 -CAKEWALLET_BUILD_NUMBER=111
24 +CAKEWALLET_BUILD_NUMBER=112
25 CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
26 CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
27
scripts/ios/app_env.sh
+3 -3
@@ -13,13 +13,13 @@ TYPES=($MONERO_COM $CAKEWALLET $HAVEN)
13 APP_IOS_TYPE=$1
14
15 MONERO_COM_NAME="Monero.com"
16 -MONERO_COM_VERSION="1.0.7"
17 -MONERO_COM_BUILD_NUMBER=17
16 +MONERO_COM_VERSION="1.0.8"
17 +MONERO_COM_BUILD_NUMBER=18
18 MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
19
20 CAKEWALLET_NAME="Cake Wallet"
21 CAKEWALLET_VERSION="4.4.4"
22 -CAKEWALLET_BUILD_NUMBER=111
22 +CAKEWALLET_BUILD_NUMBER=112
23 CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
24
25 HAVEN_NAME="Haven"