New versions 4.6.6 and 1.3.7 (#949)
Disable 'prevent screenshots' option from Desktop since it's not supported yet
Omar Hatem committed
May 26, 2023 at 21:13 UTC
19cbc40e81dc13fc88667949c7d187300ec5ffd1
8 files changed
+38
-27
assets/text/Monerocom_Release_Notes.txt
+6
-3
@@ -1,3 +1,6 @@
1
-Reliability fixes for PIN login, transaction appearance, keyboard inputs, and QR codes
2
-Show amount received by each Monero account in account overview
3
-Other bugfixes
\ No newline at end of file
1
+Opt-in to Cake 2FA for security. More info: https://guides.cakewallet.com/docs/advanced-features/authentication/#cake-2fa
2
+Auto generate restore height for Monero restore QR codes
3
+Hausa and Yoruba languages
4
+Additional privacy settings
5
+Update Monero to 0.18.2.2
6
+Refactoring and bug fixes
\ No newline at end of file
assets/text/Release_Notes.txt
+6
-3
@@ -1,3 +1,6 @@
1
-Reliability fixes for PIN login, transaction appearance, keyboard inputs, and QR codes
2
-Show amount received by each Monero account in account overview
3
-Other bugfixes
\ No newline at end of file
1
+Opt-in to Cake 2FA for security. More info: https://guides.cakewallet.com/docs/advanced-features/authentication/#cake-2fa
2
+Auto generate restore height for Monero restore QR codes
3
+Hausa and Yoruba languages
4
+Additional privacy settings
5
+Update Monero to 0.18.2.2
6
+Refactoring and bug fixes
\ No newline at end of file
lib/src/screens/settings/privacy_page.dart
+8
-6
@@ -4,6 +4,7 @@ import 'package:cake_wallet/generated/i18n.dart';
4
import 'package:cake_wallet/src/screens/base_page.dart';
5
import 'package:cake_wallet/src/screens/settings/widgets/settings_choices_cell.dart';
6
import 'package:cake_wallet/src/screens/settings/widgets/settings_switcher_cell.dart';
7
+import 'package:cake_wallet/utils/device_info.dart';
8
import 'package:cake_wallet/view_model/settings/choices_list_item.dart';
9
import 'package:cake_wallet/view_model/settings/privacy_settings_view_model.dart';
10
import 'package:flutter/material.dart';
@@ -48,12 +49,13 @@ class PrivacyPage extends BasePage {
49
onValueChange: (BuildContext _, bool value) {
50
_privacySettingsViewModel.setShouldSaveRecipientAddress(value);
51
}),
51
- SettingsSwitcherCell(
52
- title: S.current.prevent_screenshots,
53
- value: _privacySettingsViewModel.isAppSecure,
54
- onValueChange: (BuildContext _, bool value) {
55
- _privacySettingsViewModel.setIsAppSecure(value);
56
- }),
52
+ if (DeviceInfo.instance.isMobile)
53
+ SettingsSwitcherCell(
54
+ title: S.current.prevent_screenshots,
55
+ value: _privacySettingsViewModel.isAppSecure,
56
+ onValueChange: (BuildContext _, bool value) {
57
+ _privacySettingsViewModel.setIsAppSecure(value);
58
+ }),
59
SettingsSwitcherCell(
60
title: S.current.disable_buy,
61
value: _privacySettingsViewModel.disableBuy,
lib/store/settings_store.dart
+7
-4
@@ -4,6 +4,7 @@ import 'package:cake_wallet/bitcoin/bitcoin.dart';
4
import 'package:cake_wallet/entities/exchange_api_mode.dart';
5
import 'package:cake_wallet/entities/pin_code_required_duration.dart';
6
import 'package:cake_wallet/entities/preferences_key.dart';
7
+import 'package:cake_wallet/utils/device_info.dart';
8
import 'package:cw_core/transaction_priority.dart';
9
import 'package:cake_wallet/themes/theme_base.dart';
10
import 'package:cake_wallet/themes/theme_list.dart';
@@ -135,12 +136,14 @@ abstract class SettingsStoreBase with Store {
136
(bool shouldSaveRecipientAddress) => sharedPreferences.setBool(
137
PreferencesKey.shouldSaveRecipientAddressKey, shouldSaveRecipientAddress));
138
138
- setIsAppSecureNative(isAppSecure);
139
+ if (DeviceInfo.instance.isMobile) {
140
+ setIsAppSecureNative(isAppSecure);
141
140
- reaction((_) => isAppSecure, (bool isAppSecure) {
141
- sharedPreferences.setBool(PreferencesKey.isAppSecureKey, isAppSecure);
142
+ reaction((_) => isAppSecure, (bool isAppSecure) {
143
+ sharedPreferences.setBool(PreferencesKey.isAppSecureKey, isAppSecure);
144
setIsAppSecureNative(isAppSecure);
143
- });
145
+ });
146
+ }
147
148
reaction(
149
(_) => disableBuy,
macos/Flutter/GeneratedPluginRegistrant.swift
+1
-1
@@ -25,7 +25,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
25
CwMoneroPlugin.register(with: registry.registrar(forPlugin: "CwMoneroPlugin"))
26
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
27
DevicelocalePlugin.register(with: registry.registrar(forPlugin: "DevicelocalePlugin"))
28
- FlutterSecureStorageMacosPlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStorageMacosPlugin"))
28
+ FlutterSecureStoragePlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStoragePlugin"))
29
InAppReviewPlugin.register(with: registry.registrar(forPlugin: "InAppReviewPlugin"))
30
FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin"))
31
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
scripts/android/app_env.sh
+4
-4
@@ -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.3.6"
18
-MONERO_COM_BUILD_NUMBER=49
17
+MONERO_COM_VERSION="1.3.7"
18
+MONERO_COM_BUILD_NUMBER=50
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.6.5"
24
-CAKEWALLET_BUILD_NUMBER=159
23
+CAKEWALLET_VERSION="4.6.6"
24
+CAKEWALLET_BUILD_NUMBER=160
25
CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
26
CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
27
scripts/ios/app_env.sh
+4
-4
@@ -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.3.6"
17
-MONERO_COM_BUILD_NUMBER=47
16
+MONERO_COM_VERSION="1.3.7"
17
+MONERO_COM_BUILD_NUMBER=48
18
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
19
20
CAKEWALLET_NAME="Cake Wallet"
21
-CAKEWALLET_VERSION="4.6.5"
22
-CAKEWALLET_BUILD_NUMBER=154
21
+CAKEWALLET_VERSION="4.6.6"
22
+CAKEWALLET_BUILD_NUMBER=155
23
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
24
25
HAVEN_NAME="Haven"
scripts/macos/app_env.sh
+2
-2
@@ -15,8 +15,8 @@ if [ -n "$1" ]; then
15
fi
16
17
CAKEWALLET_NAME="Cake Wallet"
18
-CAKEWALLET_VERSION="1.0.4"
19
-CAKEWALLET_BUILD_NUMBER=22
18
+CAKEWALLET_VERSION="1.0.5"
19
+CAKEWALLET_BUILD_NUMBER=24
20
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
21
22
if ! [[ " ${TYPES[*]} " =~ " ${APP_MACOS_TYPE} " ]]; then