Update from v1.x.x to v4.0.0
Check the information below when updating the Airbridge Unreal SDK to v4.0.List of all changes
List of all changes
SDK installation and initialization
The location of the Airbridge configuration values recorded in theProject > Config > DefaultAirbridge.ini file has been moved to the [/Script/AirbridgeEditor.AirbridgeSettings] section of the Project > Config > DefaultEngine.ini file.
The FAirbridgeUnreal::StartTracking function has been replaced with the FAirbridge::StartTracking function.
FAirbridgeUnreal::StopTracking function has been replaced with the FAirbridge::StopTracking function.
Deep Linking
TheFAirbridgeUnreal::SetDeeplinkCallback function has been replaced with the FAirbridge::SetOnDeeplinkReceived 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 events and user data
TheFAirbridgeUnreal::TrackEvent function has been replaced with the FAirbridge::TrackEvent function.
Attention
Attention
The
AirbridgeConstants::CATEGORY Namespace has been changed to ArbridgeCategory and the AirbridgeConstants::ATTRIBUTES Namespace has been changed to AirbridgeAttribute.The first parameter of the FAirbridge::TrackEvent function should now contain category information.The second parameter of the FAirbridge::TrackEvent function should contain the Semantic Attributes values.The third parameter of the FAirbridge::TrackEvent function should contain the Custom Attributes values.FAirbridgeUnreal::SetUser function has been replaced with the FAirbridge::SetUser function.
Additional settings
TheFAirbridgeUnreal::Impression function has been replaced with the FAirbridge::Impression function.
FAirbridgeUnreal::Click function has been replaced with the FAirbridge::Clickfunction.
FAirbridgeUnreal::SetAttributionCallback function has been replaced with the FAirbridge::SetOnAttributionReceived function.
Device identifier setup
Hybrid app setup
TheFAirbridgeUnreal::CreateWebInterface function has been replaced with the FAirbridge::CreateWebInterfaceScript and the FAirbridge::HandleWebInterfaceCommand functions.