v4.20.0 (#1759)
* new version * fix android manifest [skip ci] * fix sp scanning [skip ci]
Omar Hatem committed
Oct 21, 2024 at 13:03 UTC
34166c3a11af78c876f983131e2ea12809330692
11 files changed
+22
-28
android/app/src/main/AndroidManifestBase.xml
+1
-1
@@ -14,7 +14,7 @@
14
<!-- required for API 18 - 30 -->
15
<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
16
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30" />
17
- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" android:maxSdkVersion="30" />
17
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
18
19
<!-- required for API <= 29 -->
20
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="29" />
assets/text/Monerocom_Release_Notes.txt
+3
-4
@@ -1,4 +1,3 @@
1
-Monero enhancements for sending and address generation
2
-StealthEx
3
-LetsExchange
4
-Visual enhancements and bug fixes
\ No newline at end of file
1
+Monero enhancements
2
+Introducing StealthEx and LetxExchange
3
+Bug fixes
\ No newline at end of file
assets/text/Release_Notes.txt
+6
-9
@@ -1,9 +1,6 @@
1
-Add Litecoin MWEB
2
-Wallet groups (same seed, multiple wallets)
3
-Silent Payments enhancements
4
-Monero enhancements for sending and address generation
5
-StealthEx
6
-LetsExchange
7
-Replace-By-Fee improvements
8
-ERC20 tokens potential scam detection
9
-Visual enhancements and bug fixes
\ No newline at end of file
1
+Added Litecoin MWEB
2
+Added wallet groups
3
+Silent Payment enhancements for speed & reliability
4
+Monero enhancements
5
+Introducing StealthEx and LetxExchange
6
+Additional ERC20 tokens scam detection
\ No newline at end of file
cw_bitcoin/lib/electrum.dart
+3
-3
@@ -423,7 +423,7 @@ class ElectrumClient {
423
BehaviorSubject<T>? subscribe<T>(
424
{required String id, required String method, List<Object> params = const []}) {
425
try {
426
- if (socket == null || !isConnected) {
426
+ if (socket == null) {
427
return null;
428
}
429
final subscription = BehaviorSubject<T>();
@@ -439,7 +439,7 @@ class ElectrumClient {
439
440
Future<dynamic> call(
441
{required String method, List<Object> params = const [], Function(int)? idCallback}) async {
442
- if (socket == null || !isConnected) {
442
+ if (socket == null) {
443
return null;
444
}
445
final completer = Completer<dynamic>();
@@ -455,7 +455,7 @@ class ElectrumClient {
455
Future<dynamic> callWithTimeout(
456
{required String method, List<Object> params = const [], int timeout = 5000}) async {
457
try {
458
- if (socket == null || !isConnected) {
458
+ if (socket == null) {
459
return null;
460
}
461
final completer = Completer<dynamic>();
cw_bitcoin/lib/litecoin_wallet.dart
-2
@@ -7,7 +7,6 @@ import 'package:crypto/crypto.dart';
7
import 'package:cw_bitcoin/bitcoin_transaction_credentials.dart';
8
import 'package:cw_core/cake_hive.dart';
9
import 'package:cw_core/mweb_utxo.dart';
10
-import 'package:cw_core/unspent_coin_type.dart';
10
import 'package:cw_mweb/mwebd.pbgrpc.dart';
11
import 'package:fixnum/fixnum.dart';
12
import 'package:bip39/bip39.dart' as bip39;
@@ -425,7 +424,6 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
424
bool? usingElectrs,
425
}) async {
426
_syncTimer?.cancel();
428
- int oldHeight = walletInfo.restoreHeight;
427
await walletInfo.updateRestoreHeight(height);
428
429
// go through mwebUtxos and clear any that are above the new restore height:
cw_core/lib/wallet_addresses.dart
+1
-1
@@ -23,7 +23,7 @@ abstract class WalletAddresses {
23
return _localAddress ?? address;
24
}
25
26
- String get primaryAddress;
26
+ String get primaryAddress => address;
27
28
String? _localAddress;
29
lib/src/screens/dashboard/pages/balance_page.dart
+1
-1
@@ -1061,7 +1061,7 @@ class BalanceRowWidget extends StatelessWidget {
1061
),
1062
),
1063
),
1064
- SizedBox(width: 32),
1064
+ SizedBox(width: 24),
1065
Expanded(
1066
child: Semantics(
1067
label: S.of(context).litecoin_mweb_pegout,
scripts/android/app_env.sh
+2
-2
@@ -16,14 +16,14 @@ APP_ANDROID_TYPE=$1
16
17
MONERO_COM_NAME="Monero.com"
18
MONERO_COM_VERSION="1.17.0"
19
-MONERO_COM_BUILD_NUMBER=102
19
+MONERO_COM_BUILD_NUMBER=103
20
MONERO_COM_BUNDLE_ID="com.monero.app"
21
MONERO_COM_PACKAGE="com.monero.app"
22
MONERO_COM_SCHEME="monero.com"
23
24
CAKEWALLET_NAME="Cake Wallet"
25
CAKEWALLET_VERSION="4.20.0"
26
-CAKEWALLET_BUILD_NUMBER=230
26
+CAKEWALLET_BUILD_NUMBER=232
27
CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
28
CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
29
CAKEWALLET_SCHEME="cakewallet"
scripts/ios/app_env.sh
+2
-2
@@ -14,12 +14,12 @@ APP_IOS_TYPE=$1
14
15
MONERO_COM_NAME="Monero.com"
16
MONERO_COM_VERSION="1.17.0"
17
-MONERO_COM_BUILD_NUMBER=100
17
+MONERO_COM_BUILD_NUMBER=101
18
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
19
20
CAKEWALLET_NAME="Cake Wallet"
21
CAKEWALLET_VERSION="4.20.0"
22
-CAKEWALLET_BUILD_NUMBER=269
22
+CAKEWALLET_BUILD_NUMBER=276
23
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
24
25
HAVEN_NAME="Haven"
scripts/linux/app_env.sh
+1
-1
@@ -15,7 +15,7 @@ fi
15
16
CAKEWALLET_NAME="Cake Wallet"
17
CAKEWALLET_VERSION="1.10.0"
18
-CAKEWALLET_BUILD_NUMBER=35
18
+CAKEWALLET_BUILD_NUMBER=36
19
20
if ! [[ " ${TYPES[*]} " =~ " ${APP_LINUX_TYPE} " ]]; then
21
echo "Wrong app type."
scripts/macos/app_env.sh
+2
-2
@@ -17,12 +17,12 @@ fi
17
18
MONERO_COM_NAME="Monero.com"
19
MONERO_COM_VERSION="1.7.0"
20
-MONERO_COM_BUILD_NUMBER=33
20
+MONERO_COM_BUILD_NUMBER=34
21
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
22
23
CAKEWALLET_NAME="Cake Wallet"
24
CAKEWALLET_VERSION="1.13.0"
25
-CAKEWALLET_BUILD_NUMBER=90
25
+CAKEWALLET_BUILD_NUMBER=92
26
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
27
28
if ! [[ " ${TYPES[*]} " =~ " ${APP_MACOS_TYPE} " ]]; then