Skip to content

Commit

Permalink
Flutter dapp now uses WalletConnectModal to connect
Browse files Browse the repository at this point in the history
  • Loading branch information
quetool committed Jul 24, 2024
1 parent 6dc68d9 commit 1a73aac
Show file tree
Hide file tree
Showing 23 changed files with 299 additions and 189 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.3.1-beta01

- Minor changes

## 2.3.0

- One-Click Auth support
Expand Down
12 changes: 12 additions & 0 deletions example/dapp/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
PODS:
- appcheck (1.0.3):
- Flutter
- Flutter (1.0.0)
- flutter_keyboard_visibility (0.0.1):
- Flutter
- package_info_plus (0.4.5):
- Flutter
- shared_preferences_foundation (0.0.1):
Expand All @@ -9,14 +13,20 @@ PODS:
- Flutter

DEPENDENCIES:
- appcheck (from `.symlinks/plugins/appcheck/ios`)
- Flutter (from `Flutter`)
- flutter_keyboard_visibility (from `.symlinks/plugins/flutter_keyboard_visibility/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)

EXTERNAL SOURCES:
appcheck:
:path: ".symlinks/plugins/appcheck/ios"
Flutter:
:path: Flutter
flutter_keyboard_visibility:
:path: ".symlinks/plugins/flutter_keyboard_visibility/ios"
package_info_plus:
:path: ".symlinks/plugins/package_info_plus/ios"
shared_preferences_foundation:
Expand All @@ -25,7 +35,9 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/url_launcher_ios/ios"

SPEC CHECKSUMS:
appcheck: e1ab9d4e03736f03e0401554a134d1ed502d7629
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_keyboard_visibility: 0339d06371254c3eb25eeb90ba8d17dca8f9c069
package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
Expand Down
6 changes: 4 additions & 2 deletions example/dapp/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
import 'dart:convert';
import 'dart:developer';

import 'package:walletconnect_flutter_v2/walletconnect_flutter_v2.dart';
import 'package:flutter/material.dart';

import 'package:walletconnect_flutter_v2_dapp/models/chain_metadata.dart';
import 'package:walletconnect_flutter_v2_dapp/models/page_data.dart';
import 'package:walletconnect_flutter_v2_dapp/pages/auth_page.dart';
import 'package:walletconnect_flutter_v2_dapp/pages/connect_page.dart';
import 'package:walletconnect_flutter_v2_dapp/pages/pairings_page.dart';
import 'package:walletconnect_flutter_v2_dapp/pages/sessions_page.dart';
import 'package:walletconnect_flutter_v2_dapp/utils/constants.dart';
import 'package:flutter/material.dart';
import 'package:walletconnect_flutter_v2_dapp/utils/crypto/chain_data.dart';
import 'package:walletconnect_flutter_v2_dapp/utils/crypto/helpers.dart';
import 'package:walletconnect_flutter_v2_dapp/utils/dart_defines.dart';
import 'package:walletconnect_flutter_v2_dapp/utils/string_constants.dart';
import 'package:walletconnect_flutter_v2_dapp/widgets/event_widget.dart';

import 'package:walletconnect_flutter_v2_dapp/imports.dart';

void main() {
runApp(const MyApp());
}
Expand Down
3 changes: 2 additions & 1 deletion example/dapp/lib/pages/auth_page.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import 'package:flutter/material.dart';
import 'package:walletconnect_flutter_v2/walletconnect_flutter_v2.dart';

import 'package:walletconnect_flutter_v2_dapp/utils/constants.dart';
import 'package:walletconnect_flutter_v2_dapp/widgets/auth_item.dart';
import 'package:walletconnect_flutter_v2_dapp/imports.dart';

class AuthPage extends StatefulWidget {
const AuthPage({
Expand Down
Loading

0 comments on commit 1a73aac

Please sign in to comment.