Troubleshooting guide¶
This guide provides methods to resolve issues that may occur when using the marketing attribution feature.
Resolving Android manifest conflicts when using appsflyer and airbridge together¶
Android¶
If you encounter automatic backup rule errors related to android:fullBackupContent when using AppsFlyer and Airbridge together, follow the steps below to resolve the conflict.
First, create a new file named game_custom_backup_rules.xml in the res/xml folder and add the following code. The file name can be changed arbitrarily.
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<exclude domain="sharedpref" path="appsflyer-data"/>
<exclude domain="sharedpref" path="airbridge-internal" />
<exclude domain="sharedpref" path="airbridge-install" />
<exclude domain="sharedpref" path="airbridge-user-info" />
<exclude domain="sharedpref" path="airbridge-user-alias" />
<exclude domain="sharedpref" path="airbridge-user-attributes" />
<exclude domain="sharedpref" path="airbridge-device-alias" />
<exclude domain="database" path="airbridge.db" />
</full-backup-content>
Next, add the following code to the AndroidManifest.xml file.
<application
android:fullBackupContent="@xml/game_custom_backup_rules"
tools:replace="android:fullBackupContent"
If you do not want to automatically back up any data, set android:fullBackupContent="false" as shown below.
Unreal¶
If you encounter automatic backup rule errors related to android:fullBackupContent when using AppsFlyer and Airbridge together, follow the steps below to resolve the conflict.
First, create a new XML file in the /Plugins/HIVESDK/Source/HIVESDK/ThirdParty/android/resource/res/xml folder and add the following code. In this example, we created a file named game_custom_backup_rules.xml.
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<exclude domain="sharedpref" path="appsflyer-data"/>
<exclude domain="sharedpref" path="airbridge-internal" />
<exclude domain="sharedpref" path="airbridge-install" />
<exclude domain="sharedpref" path="airbridge-user-info" />
<exclude domain="sharedpref" path="airbridge-user-alias" />
<exclude domain="sharedpref" path="airbridge-user-attributes" />
<exclude domain="sharedpref" path="airbridge-device-alias" />
<exclude domain="database" path="airbridge.db" />
</full-backup-content>
Next, go to Project Settings > Platforms > Android > Advanced APK Packaging > Extra Tags for application node and set up as shown in the image below.
If you do not want to automatically back up data, set it up as shown in the image below.