Deferred Deep Linking - optimove-tech/Optimove-SDK-Unity GitHub Wiki

Additional project configuration

To enable Deferred Deep Linking update your optimove.json:

{
  ...
  "deferredDeepLinkingHost": "<YOUR_SUBDOMAIN>.lnk.click"
}

Android

Next, modify /Assets/Plugins/Android/AndroidManifest.xml to uncomment the following:

<!-- <intent-filter android:label="deepLabel" android:autoVerify="true">
		<action android:name="android.intent.action.VIEW" />
		<category android:name="android.intent.category.DEFAULT" />
		<category android:name="android.intent.category.BROWSABLE" />
		<data android:scheme="https" android:host="<YOUR_SUBDOMAIN>.lnk.click"/>
     </intent-filter> -->

Note that the subdomain you specify above should match the one you specified on the deep link configuration page on the Optimove UI.

Note that setting android:autoVerify="true" will verify ownership of the domain, so, instead of offering a list of apps to select from your app will open automatically. No further actions are needed to enable this.

iOS

DDL configuration is done automatically based on updated optimove.json. No additional steps required.

Usage examples (C#)

To configure a deep link handler:

Optimove.Shared.SetDeepLinkResolvedHandler ( (DeepLink ddl) =>{
   //
});