From 5201c4496495fbcb34818e5e1be32dbb82821734 Mon Sep 17 00:00:00 2001 From: Alfreedom <00tango.bromine@icloud.com> Date: Wed, 30 Oct 2024 15:59:48 +0100 Subject: [PATCH] Added logs --- .../example/modal/lib/home_page.dart | 24 +++++++++---------- .../lib/modal/appkit_modal_impl.dart | 10 ++++---- packages/reown_appkit/pubspec.yaml | 18 +++++++------- packages/reown_sign/lib/sign_engine.dart | 2 +- packages/reown_walletkit/pubspec.yaml | 18 +++++++------- 5 files changed, 36 insertions(+), 36 deletions(-) diff --git a/packages/reown_appkit/example/modal/lib/home_page.dart b/packages/reown_appkit/example/modal/lib/home_page.dart index 18a86ed..1391713 100644 --- a/packages/reown_appkit/example/modal/lib/home_page.dart +++ b/packages/reown_appkit/example/modal/lib/home_page.dart @@ -242,18 +242,18 @@ class _MyHomePageState extends State { metadata: _pairingMetadata(), siweConfig: _siweConfig(siweAuthValue), enableAnalytics: analyticsValue, // OPTIONAL - null by default - featuresConfig: emailWalletValue - ? FeaturesConfig( - email: true, - socials: [ - AppKitSocialOption.Farcaster, - AppKitSocialOption.X, - AppKitSocialOption.Apple, - AppKitSocialOption.Discord, - ], - // showMainWallets: false, // OPTIONAL - true by default - ) - : null, + // featuresConfig: emailWalletValue + // ? FeaturesConfig( + // email: true, + // socials: [ + // AppKitSocialOption.Farcaster, + // AppKitSocialOption.X, + // AppKitSocialOption.Apple, + // AppKitSocialOption.Discord, + // ], + // // showMainWallets: false, // OPTIONAL - true by default + // ) + // : null, // requiredNamespaces: {}, // optionalNamespaces: {}, // includedWalletIds: {}, diff --git a/packages/reown_appkit/lib/modal/appkit_modal_impl.dart b/packages/reown_appkit/lib/modal/appkit_modal_impl.dart index 6c0a67d..9055be0 100644 --- a/packages/reown_appkit/lib/modal/appkit_modal_impl.dart +++ b/packages/reown_appkit/lib/modal/appkit_modal_impl.dart @@ -809,11 +809,11 @@ class ReownAppKitModal with ChangeNotifier implements IReownAppKitModal { await _explorerService.storeConnectedWallet(_selectedWallet); } else { await buildConnectionUri(); - await _uriService.openRedirect( - walletRedirect, - wcURI: wcUri!, - pType: pType, - ); + // await _uriService.openRedirect( + // walletRedirect, + // wcURI: wcUri!, + // pType: pType, + // ); } } on LaunchUrlException catch (e) { if (e is CanNotLaunchUrl) { diff --git a/packages/reown_appkit/pubspec.yaml b/packages/reown_appkit/pubspec.yaml index ec6a7c6..4b95d87 100644 --- a/packages/reown_appkit/pubspec.yaml +++ b/packages/reown_appkit/pubspec.yaml @@ -26,12 +26,12 @@ dependencies: json_annotation: ^4.8.1 plugin_platform_interface: ^2.1.8 qr_flutter_wc: ^0.0.3 - reown_core: ^1.0.2 - # reown_core: - # path: ../reown_core/ - reown_sign: ^1.0.2 - # reown_sign: - # path: ../reown_sign/ + # reown_core: ^1.0.3 + reown_core: + path: ../reown_core/ + # reown_sign: ^1.0.3 + reown_sign: + path: ../reown_sign/ shimmer: ^3.0.0 uuid: ^4.5.1 webview_flutter: ^4.8.0 @@ -50,9 +50,9 @@ dev_dependencies: logger: ^2.2.0 mockito: ^5.4.3 package_info_plus: ^8.0.2 - reown_walletkit: ^1.0.2 - # reown_walletkit: - # path: ../reown_walletkit/ + # reown_walletkit: ^1.0.3 + reown_walletkit: + path: ../reown_walletkit/ # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/packages/reown_sign/lib/sign_engine.dart b/packages/reown_sign/lib/sign_engine.dart index 0435a38..552e6e1 100644 --- a/packages/reown_sign/lib/sign_engine.dart +++ b/packages/reown_sign/lib/sign_engine.dart @@ -2283,7 +2283,7 @@ class ReownSign implements IReownSign { ttl: ttl, appLink: isLinkMode ? walletUniversalLink : null, // We don't want to open the appLink in this case as it will be opened by the host app - openUrl: false, + // openUrl: false, ); result = WcSessionAuthRequestResult.fromJson(response); } catch (error) { diff --git a/packages/reown_walletkit/pubspec.yaml b/packages/reown_walletkit/pubspec.yaml index 60d46b7..799f14c 100644 --- a/packages/reown_walletkit/pubspec.yaml +++ b/packages/reown_walletkit/pubspec.yaml @@ -12,12 +12,12 @@ dependencies: event: ^2.1.2 flutter: sdk: flutter - reown_core: ^1.0.3 - # reown_core: - # path: ../reown_core/ - reown_sign: ^1.0.3 - # reown_sign: - # path: ../reown_sign/ + # reown_core: ^1.0.3 + reown_core: + path: ../reown_core/ + # reown_sign: ^1.0.3 + reown_sign: + path: ../reown_sign/ dev_dependencies: build_runner: ^2.4.7 @@ -30,9 +30,9 @@ dev_dependencies: logger: ^2.2.0 mockito: ^5.4.3 package_info_plus: ^8.0.2 - reown_appkit: ^1.0.2 - # reown_appkit: - # path: ../reown_appkit/ + # reown_appkit: ^1.0.2 + reown_appkit: + path: ../reown_appkit/ platforms: android: