Skip to content

Commit 861a729

Browse files
authored
Integrate WC Modal, Upgrade SDK, Multichain & Multiaccount (#189)
1 parent 80f5652 commit 861a729

File tree

272 files changed

+47373
-1513
lines changed

Some content is hidden

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

272 files changed

+47373
-1513
lines changed

Assets/Plugins/Android/Linker.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
import android.content.Context;
44
import android.content.Intent;
55
import android.net.Uri;
6+
import com.unity3d.player.UnityPlayerActivity;
67

78
public class Linker {
8-
public static boolean canOpenURL(Context context, String url) {
9+
public static boolean canOpenURL(UnityPlayerActivity activity, String url){
910
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
10-
return intent.resolveActivity(context.getPackageManager()) != null;
11+
return intent.resolveActivity(activity.getPackageManager()) != null;
1112
}
12-
}
13+
}

Assets/Plugins/Android/Linker.java.meta

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/iOS/CanOpenUrl.m.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Thirdweb/Core/Plugins/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Fallback.asset

Lines changed: 36 additions & 9 deletions
Large diffs are not rendered by default.

Assets/Thirdweb/Core/Plugins/WalletConnectUnity/Resources.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Thirdweb/Core/Plugins/WalletConnectUnity/Resources/WalletConnectProjectConfig.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ MonoBehaviour:
2323
Native:
2424
Universal:
2525
VerifyUrl:
26+
<RelayUrl>k__BackingField: wss://relay.walletconnect.com
2627
<LoggingEnabled>k__BackingField: 0

Assets/Thirdweb/Core/Plugins/WalletConnectUnity/Resources/WalletConnectProjectConfig.asset.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [3.1.6] - 2024-05-09
9+
10+
### Added
11+
12+
- visionOS support
13+
14+
### Changed
15+
16+
- Upgraded WalletConnectSharp to [v2.3.6](https://github.com/WalletConnect/WalletConnectSharp/releases/tag/v2.3.6)
17+
- Don't use PlayerPrefs for storage in the Editor when targeting WebGL
18+
19+
### [3.1.5] - 2024-04-26
20+
21+
### Added
22+
23+
- `ApplicationFocus` event in UnityEventsDispatcher
24+
25+
### Changed
26+
27+
- Disable reference validation of external DLLs
28+
29+
## [3.1.4] - 2024-04-17
30+
31+
### Changed
32+
33+
- Upgraded WalletConnectSharp to [v2.3.5](https://github.com/WalletConnect/WalletConnectSharp/releases/tag/v2.3.5)
34+
35+
## [3.1.3] - 2024-04-16
36+
37+
### Changed
38+
39+
- Upgraded WalletConnectSharp to [v2.3.4](https://github.com/WalletConnect/WalletConnectSharp/releases/tag/v2.3.4)
40+
- Use Recent Wallet’s redirect when session doesn't have native redirect
41+
- Improve WebSocket reconnection when not having an internet connection from the start
42+
43+
## [3.1.2] - 2024-03-29
44+
45+
### Added
46+
47+
- Dispose WalletConnect on `ApplicationQuit`. This will also dispose the instance when exiting play mode in the Editor.
48+
49+
### Changed
50+
51+
- Don’t pause WebSocket when app loses focus
52+
53+
### Fixed
54+
55+
- Device type detection on Android
56+
57+
## [3.1.1] - 2024-03-25
58+
59+
### Added
60+
61+
- Add `ActiveChainIdChanged` event to `IWalletConnect` interface
62+
63+
### Fixed
64+
65+
- Broken WebGL build
66+
67+
## [3.1.0] - 2024-03-21
68+
69+
### Added
70+
71+
- Types for common EVM methods (e.g. `eth_sendTransaction`, `personal_sign`, etc.)
72+
- Ethereum chain switching with `wallet_switchEthereumChain` and `wallet_addEthereumChain`
73+
- Chain switch event
74+
- Optional `chainID` parameter in `IWalletConnect.RequestAsync` method
75+
- Chain types and constants
76+
- Tests for Core package
77+
- `RelayUrl` customisation
78+
79+
### Changed
80+
81+
- Upgraded WalletConnectSharp to [v2.3.0](https://github.com/WalletConnect/WalletConnectSharp/releases/tag/v2.3.0)
82+
- Disposability of `WebSocket`
83+
- Disable `OrientationTracker` on platforms other than mobile
84+
- Handle more JSON deserialize errors caused by storage corruption
85+
86+
### Fixed
87+
88+
- Session proposal via deep linking didn't work with some wallets
89+
- `com.unity.nuget.newtonsoft-json` dependency version
90+
- Incompatibility with Firebase and Jetifier in Android builds

Assets/Thirdweb/Core/Plugins/WalletConnectUnity/com.walletconnect.core/CHANGELOG.md.meta

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Thirdweb/Core/Plugins/WalletConnectUnity/com.walletconnect.core/Editor/Thirdweb.Editor.WalletConnectUnity.asmdef.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)