From fcd17a485f473e779ca5842607ae6d2d770b546f Mon Sep 17 00:00:00 2001 From: hawkbee1 Date: Fri, 28 Jul 2023 11:22:20 +0200 Subject: [PATCH 1/4] add wc-altme scheme --- android/app/src/main/AndroidManifest.xml | 6 ++++++ ios/Runner/Info.plist | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 1ee4a754f..5f24526a1 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -75,6 +75,12 @@ + + + + + + diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 3b573a4ea..ab0867845 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -76,6 +76,16 @@ openid + + CFBundleTypeRole + Editor + CFBundleURLName + wc-altme + CFBundleURLSchemes + + wc-altme + + CFBundleTypeRole Editor From eda0aaa3b5ecc9b8d258d4808cbc9b05ad136d1d Mon Sep 17 00:00:00 2001 From: hawkbee1 Date: Fri, 28 Jul 2023 11:23:25 +0200 Subject: [PATCH 2/4] version: 1.18.4+235 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 752a3d6d2..4e108f960 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: altme description: AltMe Flutter App -version: 1.18.3+234 +version: 1.18.4+235 publish_to: none environment: From 1e35c51e426abf8d88e59b2fe4a150b5b26df07b Mon Sep 17 00:00:00 2001 From: hawkbee1 Date: Sat, 29 Jul 2023 10:30:33 +0200 Subject: [PATCH 3/4] start wallet connect pairing if url start with wc-altme --- .../qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dashboard/qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart b/lib/dashboard/qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart index 5bb82b67f..74908c763 100644 --- a/lib/dashboard/qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart +++ b/lib/dashboard/qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart @@ -85,7 +85,8 @@ class QRCodeScanCubit extends Cubit { await beacon.pair(pairingRequest: pairingRequest); emit(state.copyWith(qrScanStatus: QrScanStatus.goBack)); - } else if (scannedResponse.startsWith('wc:')) { + } else if (scannedResponse.startsWith('wc:') || + scannedResponse.startsWith('wc-altme:')) { /// wallet connect await walletConnectCubit.connect(scannedResponse); emit(state.copyWith(qrScanStatus: QrScanStatus.goBack)); From 227aa95d4f8d627595277baf8967aa968f081ac4 Mon Sep 17 00:00:00 2001 From: hawkbee1 Date: Sat, 29 Jul 2023 10:31:10 +0200 Subject: [PATCH 4/4] version: 1.18.5+236 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 4e108f960..795911475 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: altme description: AltMe Flutter App -version: 1.18.4+235 +version: 1.18.5+236 publish_to: none environment: