Skip to content

Commit befd4ad

Browse files
authored
Merge pull request #885 from SatoshiPortal/develop
5.0.3
2 parents 616efa2 + 069a9f3 commit befd4ad

90 files changed

Lines changed: 3122 additions & 1725 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def flutterVersionName = localProperties.getProperty('flutter.versionName') ?: '
2323

2424

2525
android {
26-
compileSdk = 34
26+
compileSdk = 35
2727

2828
ndkVersion flutter.ndkVersion
2929
compileOptions {
@@ -43,7 +43,7 @@ android {
4343
applicationId = 'com.bullbitcoin.mobile'
4444
minSdkVersion 24
4545
// TODO: targetSdkVersion flutter.targetSdkVersion
46-
targetSdkVersion 34
46+
targetSdkVersion 35
4747
versionCode flutterVersionCode.toInteger()
4848
versionName flutterVersionName
4949
}

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ subprojects {
88
if (project.plugins.hasPlugin("com.android.application") ||
99
project.plugins.hasPlugin("com.android.library")) {
1010
project.android {
11-
compileSdk = 34
12-
buildToolsVersion "34.0.0"
11+
compileSdk = 35
12+
buildToolsVersion "35.0.0"
1313
}
1414
}
1515
if (project.hasProperty('android')) {

android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pluginManagement {
1818

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version "8.5.0" apply false
21+
id "com.android.application" version "8.6.0" apply false
2222
id "org.jetbrains.kotlin.android" version "1.9.20" apply false
2323
}
2424

assets/QR-Placeholder.png

121 KB
Loading

ios/Podfile.lock

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ PODS:
1616
- boltz (0.1.6)
1717
- camera_avfoundation (0.0.1):
1818
- Flutter
19+
- dart_bbqr (0.0.1):
20+
- Flutter
1921
- DKImagePickerController/Core (4.3.9):
2022
- DKImagePickerController/ImageDataManager
2123
- DKImagePickerController/Resource
@@ -140,6 +142,7 @@ DEPENDENCIES:
140142
- bip85 (from `.symlinks/plugins/bip85/ios`)
141143
- boltz (from `.symlinks/plugins/boltz/ios`)
142144
- camera_avfoundation (from `.symlinks/plugins/camera_avfoundation/ios`)
145+
- dart_bbqr (from `.symlinks/plugins/dart_bbqr/ios`)
143146
- file_picker (from `.symlinks/plugins/file_picker/ios`)
144147
- Flutter (from `Flutter`)
145148
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
@@ -183,6 +186,8 @@ EXTERNAL SOURCES:
183186
:path: ".symlinks/plugins/boltz/ios"
184187
camera_avfoundation:
185188
:path: ".symlinks/plugins/camera_avfoundation/ios"
189+
dart_bbqr:
190+
:path: ".symlinks/plugins/dart_bbqr/ios"
186191
file_picker:
187192
:path: ".symlinks/plugins/file_picker/ios"
188193
Flutter:
@@ -221,39 +226,40 @@ EXTERNAL SOURCES:
221226
SPEC CHECKSUMS:
222227
AppAuth: d4f13a8fe0baf391b2108511793e4b479691fb73
223228
AppCheckCore: cc8fd0a3a230ddd401f326489c99990b013f0c4f
224-
bdk_flutter: cef9180019b4c6b67a3e3dfb74611683fe140107
225-
bip85: 3059e217a3a606a100dd244f21d2fc61b0a1aa83
229+
bdk_flutter: 86c9ba59ee282dee08c3a29599abe867d10a8b10
230+
bip85: f656a7e6b23afda4960efb11c87d51d68e8be3db
226231
boltz: 6388ec2412f3753b63a9e65c97f87ea26f43bddc
227-
camera_avfoundation: be3be85408cd4126f250386828e9b1dfa40ab436
232+
camera_avfoundation: adb0207d868b2d873e895371d88448399ab78d87
233+
dart_bbqr: 10143a83ef3919f9ac06974e3bbe23cac4abc39b
228234
DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c
229235
DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60
230-
file_picker: a0560bc09d61de87f12d246fc47d2119e6ef37be
236+
file_picker: b159e0c068aef54932bb15dc9fd1571818edaf49
231237
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
232-
flutter_native_splash: c32d145d68aeda5502d5f543ee38c192065986cf
233-
flutter_secure_storage: 1ed9476fba7e7a782b22888f956cce43e2c62f13
234-
google_sign_in_ios: b48bb9af78576358a168361173155596c845f0b9
238+
flutter_native_splash: df59bb2e1421aa0282cb2e95618af4dcb0c56c29
239+
flutter_secure_storage: d33dac7ae2ea08509be337e775f6b59f1ff45f12
240+
google_sign_in_ios: 7411fab6948df90490dc4620ecbcabdc3ca04017
235241
GoogleSignIn: ce8c89bb9b37fb624b92e7514cc67335d1e277e4
236242
GoogleUtilities: 26a3abef001b6533cf678d3eb38fd3f614b7872d
237243
GTMAppAuth: f69bd07d68cd3b766125f7e072c45d7340dea0de
238244
GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6
239-
integration_test: 4a889634ef21a45d28d50d622cf412dc6d9f586e
245+
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
240246
lwk: 22e06bc5664247d6b2dac91cfe209b63b70dd580
241-
no_screenshot: 6d183496405a3ab709a67a54e5cd0f639e94729e
242-
package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499
243-
path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564
247+
no_screenshot: 67d110f12466f4913b488803d4e498d03ef2889e
248+
package_info_plus: c0502532a26c7662a62a356cebe2692ec5fe4ec4
249+
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
244250
payjoin_flutter: 6397d7b698cdad6453be4949ab6aca1863f6c5e5
245251
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
246252
ScreenProtectorKit: 83a6281b02c7a5902ee6eac4f5045f674e902ae4
247253
SDWebImage: f84b0feeb08d2d11e6a9b843cb06d75ebf5b8868
248-
share_plus: 50da8cb520a8f0f65671c6c6a99b3617ed10a58a
254+
share_plus: 8b6f8b3447e494cca5317c8c3073de39b3600d1f
249255
sqlite3: 3c950dc86011117c307eb0b28c4a7bb449dce9f1
250-
sqlite3_flutter_libs: 74334e3ef2dbdb7d37e50859bb45da43935779c4
256+
sqlite3_flutter_libs: e702a3214d49107c89b40bd2777c14057531d149
251257
SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4
252-
tor: 767208930250ef7be241963b75568c55c0a81890
253-
url_launcher_ios: 694010445543906933d732453a59da0a173ae33d
254-
webview_cookie_manager: d63a76cabdf42a7ea3d92768ac67d4853a1367f8
255-
webview_flutter_wkwebview: 1821ceac936eba6f7984d89a9f3bcb4dea99ebb2
258+
tor: 662a9f5b980b5c86decb8ba611de9bcd4c8286eb
259+
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
260+
webview_cookie_manager: eaf920722b493bd0f7611b5484771ca53fed03f7
261+
webview_flutter_wkwebview: a4af96a051138e28e29f60101d094683b9f82188
256262

257263
PODFILE CHECKSUM: 38934b16624b4fa72035a092e777e96d352e7058
258264

259-
COCOAPODS: 1.16.2
265+
COCOAPODS: 1.15.2

lib/core/transaction/data/electrum_service.dart renamed to lib/core/electrum/data/datasources/electrum_remote_datasource.dart

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1-
import 'dart:async';
21
import 'dart:convert';
3-
import 'dart:io';
2+
import 'dart:io' show SecureSocket;
43

4+
import 'package:bb_mobile/core/electrum/data/models/electrum_server_model.dart';
55
import 'package:convert/convert.dart';
66

7-
class ElectrumService {
8-
final String host;
9-
final int port;
7+
class ElectrumRemoteDatasource {
8+
final ElectrumServerModel _server;
9+
late Uri _uri;
1010

11-
ElectrumService({required this.host, this.port = 50001});
11+
ElectrumRemoteDatasource({required ElectrumServerModel server})
12+
: _server = server {
13+
_uri = Uri.parse(_server.url);
14+
}
1215

1316
Future<List<int>> getTransaction(String txid) async {
1417
try {
15-
final socket = await SecureSocket.connect(host, port);
18+
final socket = await SecureSocket.connect(_uri.host, _uri.port);
1619

1720
final request = {
1821
'id': 1,

lib/core/exchange/domain/usecases/get_api_key_usecase.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import 'package:bb_mobile/core/exchange/data/models/api_key_model.dart';
44
class GetApiKeyUsecase {
55
final ApiKeyStorageDatasource _apiKeyStorage;
66

7-
GetApiKeyUsecase({
8-
required ApiKeyStorageDatasource apiKeyStorage,
9-
}) : _apiKeyStorage = apiKeyStorage;
7+
GetApiKeyUsecase({required ApiKeyStorageDatasource apiKeyStorage})
8+
: _apiKeyStorage = apiKeyStorage;
109

1110
Future<ExchangeApiKeyModel?> execute() async {
11+
// await _apiKeyStorage.delete();
1212
return await _apiKeyStorage.get();
1313
}
1414
}

lib/core/payjoin/payjoin_locator.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ class PayjoinLocator {
3131
}
3232

3333
static void registerRepositories() {
34-
locator.registerLazySingleton<PayjoinRepository>(
35-
() => PayjoinRepositoryImpl(
34+
// Not a lazy singleton, because it should resume payjoins from the
35+
// moment the app starts.
36+
locator.registerSingleton<PayjoinRepository>(
37+
PayjoinRepositoryImpl(
3638
localPayjoinDatasource: locator<LocalPayjoinDatasource>(),
3739
pdkPayjoinDatasource: locator<PdkPayjoinDatasource>(),
3840
walletMetadataDatasource: locator<WalletMetadataDatasource>(),

lib/core/recoverbull/data/constants/backup_providers.dart

Lines changed: 0 additions & 24 deletions
This file was deleted.

lib/core/recoverbull/data/constants/backup_security_infos.dart

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)