To enable the ZBD app to redirect back to your game after the user connects via the ZBD app,we need to know your game’s URL scheme. If you’ve already set this up, please share it with your ZBD contact. If this is your first time setting it up, don’t worry. The process is straightforward, though it differs slightly between iOS and Android.

For iOS:

In Unity, go to :

1

Build Settings

2

Player Settings

3

Other Settings

4

Supported URL Schemes

and add your app’s URL scheme there. Replace appname with the name of your game. For example: bitcoinbash

For Android:

You’ll need to declare your URL scheme in your AndroidManifest.xmlfile. In Unity, go to:

1

Build Settings

2

Player Settings

3

Publishing Settings

Enable Custom Main Manifest, then edit the manifest to include an intent filter for your URL scheme.

the AndroidManifest.xml file is located in Assets/Plugins/Android. in the <activity> section.

<intent-filter>
	<action android:name="android.intent.action.VIEW"/>
	<category android:name="android.intent.category.DEFAULT"/>
	<category android:name="android.intent.category.BROWSABLE" />
	<data android:scheme="myappname" />
</intent-filter>