Skip to content

Commit

Permalink
Final changes
Browse files Browse the repository at this point in the history
  • Loading branch information
quetool committed Dec 18, 2024
1 parent 4f47b21 commit 2be9d37
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
namespace "com.walletconnect.flutterdapp"
compileSdkVersion flutter.compileSdkVersion
ndkVersion flutter.ndkVersion
ndkVersion = "27.0.12077973"

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion packages/reown_appkit/example/base/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.7.2'
classpath 'com.android.tools.build:gradle:8.7.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/reown_appkit/example/base/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class _MyHomePageState extends State<MyHomePage> {
AppKitSocialOption.Apple,
AppKitSocialOption.Discord,
],
showMainWallets: false, // OPTIONAL - true by default
showMainWallets: true, // OPTIONAL - true by default
),
// requiredNamespaces: {},
// optionalNamespaces: {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ class MagicService implements IMagicService {
final cid = (_connectionChainId ?? '');
final queryParams = {
'projectId': _core.projectId,
'bundleId': _packageName,
if (cid.isNotEmpty) 'chainId': cid,
};
final requestUri = uri.replace(queryParameters: queryParams);
Expand Down
2 changes: 1 addition & 1 deletion packages/reown_core/lib/relay_client/relay_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ class RelayClient implements IRelayClient {
final reconnectCodes = [1001, 4008, 4010, 1002, 1005, 10002];
if (code != null) {
if (reconnectCodes.contains(code)) {
await connect();
await _connect();
} else {
await disconnect();
final errorReason = code == 3000
Expand Down
1 change: 1 addition & 0 deletions packages/reown_walletkit/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ dependencies:
dependency_overrides:
pinenacl: ^0.6.0
# because of solana
shelf_web_socket: ^2.0.1
web_socket_channel: ^3.0.1

dev_dependencies:
Expand Down

0 comments on commit 2be9d37

Please sign in to comment.