Configuration

  1. 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.

  2. 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

  1. Navigate to Edit > Project Settings > Player.

  2. In the Android settings tab, expand the Publishing Settings section.

  3. Enable Custom Main Manifest.

  4. Add the intent filter code snippet inside the <activity> element in AndroidManifest.xml.

iOS

  1. Go to Edit > Project Settings > Player > Other Settings > Configuration.

  2. 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