Skip to main content
This article contains the information required to update the Airbridge Unity SDK. We recommend checking the information regarding all versions.

Update to v4.5.0

When upgrading to Airbridge Unity v4.5.0, the intent filter for Android deep link setup will be moved from /Assets/Plugins/Android/AndroidManifest.xml to /Assets/Plugins/Android/Airbridge.androidlib/AndroidManifest.xml. You need to manually remove the intent filter within the /Assets/Plugins/Android/AndroidManifest.xml.

Update from v1.x to v4.0

Check the information below when updating the Unity SDK to v4.0.

Option

Function (Unity)

AttentionThe name of the access function class has been changed from AirbridgeUnity to Airbridge.

Constant (Unity)

Function (Android)

SDK installation and initialization

AttentionWhen updating the Airbridge Unity SDK from v1.x.x to v4.0.0, remove the previously imported folders listed below before adding the Airbridge Unity SDK v4.0.0 package.
  • Assets/Airbridge
  • Assets/Plugins/Airbridge
The key values of Assets/Airbridge/Resources/AirbridgeData.asset have been changed. Change the key values as follows. The AirbridgeUnity.StartTracking function has been replaced with the Airbridge.StartTracking function.
The AirbridgeUnity.StopTracking function has been replaced with the Airbridge.StopTracking function.

Deep Linking

The AirbridgeUnity.SetDeeplinkCallback function has been replaced with the Airbridge.SetOnDeeplinkReceived function.
For Android, the AirbridgeUnity.processDeeplinkData function has been replaced with the AirbridgeUnity.processHandleDeeplink function.

Set up custom domain

In version 1.x, only one custom domain could be specified, but starting from version 4.0, multiple custom domains can be entered.

In-app event and user data

AttentionPlease enter the value into AirbridgeAttribute.VALUE instead of the existing AirbridgeEvent.SetTotalValue.The logic where totalValue overwrites value if totalValue is used and value is defined has been removed from Unity SDK v4.0.0.
The AirbridgeUnity.TrackEvent function has been replaced with the Airbridge.TrackEvent function. Replace the AirbridgeUnity.TrackEvent function to Airbridge.TrackEvent function following the example code below.
AttentionThe AirbridgeEvent class has been removed.The first parameter of the Airbridge.TrackEvent function must include category information contained in the AirbridgeEvent constructor.The second parameter of the Airbridge.TrackEvent function must include values from AirbridgeEvent.SetAction, AirbridgeEvent.SetLabel, AirbridgeEvent.SetValue, and Semantic Attributes.The third parameter of the Airbridge.TrackEvent function must include values from the Custom Attributes.
The AirbridgeUnity.SetUser function has been replaced with the Airbridge.SetUser related functions. The SetUser function is no longer supported.

Additional settings

The AirbridgeUnity.ImpressionTrackingLink function has been replaced with the Airbridge.Impression function.
The AirbridgeUnity.ClickTrackingLink function has been replaced with the Airbridge.Click function.
The AirbridgeUnity.SetOnAttributionReceived function has been replaced with the Airbridge.SetOnAttributionReceived function.

Device Alias

Activation status of the Airbridge SDK

The AirbridgeUnity.CreateWebInterface function has been replaced with the Airbridge.CreateWebInterfaceScript, Airbridge.HandleWebInterfaceCommand function.