Configuration
Create Project Variables scriptable asset in the Resources folder:
Go to the Resources folder in the Project window.
Right-click in the Project window, and select
Create > DubbzSdk > ProjectVariables
.Fill in the fields with the data you will receive from the Dubbz manager.
Setup project ID and metadata in WalletConnectProjectConfig ScriptableAsset:
This asset is created automatically and located at
Assets/WalletConnectUnity/Resources/WalletConnectProjectConfig.asset
(do not move it outside of Resources directory). You will receive the project ID from the Dubbz manager.
Enabling Deep Linking
Android
Navigate to
Edit > Project Settings > Player
.In the Android settings tab, expand the Publishing Settings section.
Enable Custom Main Manifest.
Add the intent filter code snippet inside the
<activity>
element inAndroidManifest.xml
.
iOS
Go to
Edit > Project Settings > Player > Other Settings > Configuration
.Expand Supported URL schemes and set
dubbzsdk
.
IL2CPP Build
If you're using IL2CPP, add a
link.xml
file to your Asset folder to prevent code stripping, listing all AWSSDK assemblies you are using.
Set Managed Stripping Level
For iOS builds, set Managed Stripping Level to the minimal value under
Edit > Project Settings > Player > iOS
.
Last updated