Skip to main content
If you install the Airbridge SDK manually, you may encounter a compilation error due to a BillingClient dependency issue.Starting from Airbridge SDK 2.26.1, a feature for collecting In-App purchase history has been added. To accommodate this, the SDK sets the In-App purchase library dependency as compileOnly, which does not cause issues during Gradle builds. However, when installed manually, a missing dependency may lead to compilation errors.To resolve this issue, please refer to the following instructions.
GAID is being collected as 00000000-0000-0000-0000-000000000000 even though LAT (Limited Ad Tracking) is deactivated.
  1. Open the AndroidManifest.xml file.
  2. Follow the method below to add the com.google.android.gms.permission.AD_ID permission.
For more details, refer to the Google Play Services document.
Deeplink Open events that occur through the push notifications generated by the Braze SDK are not collected by Airbridge. Instead, the App Open event is collected.The Airbridge Android SDK uses the dataString in the action and intent of the Activity to distinguish between Deeplink Open events and App Open events.When a user opens the app through a push notification using the Braze SDK, the app goes through an activity called NotificationTrampolineActivity. This activity handles push notifications, but the dataString is not included in its action and intent, preventing the SDK from determining if it’s a Deeplink Open event or an App Open event.The problem can be solved using the code snippet below for Airbridge Android SDK versions v2.21.5 and later.

java.lang.NoClassDefFoundError: kotlin/coroutines/AbstractCoroutineContextKey Error

According to @qwwdfsad, the use of kotlin-stdlib library v.1.3.70 and later is enforced when using kotlinx-coroutines-core library v1.3.5 and later.Make sure that you use kotlin-stdlib library v1.3.70 and later if you’re using kotlinx-coroutines-core library v.1.3.5 and later through the gradlew dependencies command.
The Airbridge SDK’s AndroidManifest.xml includes rules to opt out of backing up the Shared Preferences data. This is done to prevent keeping the same Airbridge settings during reinstallation, ensuring that new installations or reinstalls can be detected accurately.To merge the Airbridge SDK backup rules with your app backup rules and prevent conflicts, refer to the following instructions.Below are the opt-out rules defined in the Airbridge SDK.
If you add android:fullBackupContent="string" in the AndroidManifest.xml, you might get the following error:
Build Output
To fix this error, add tools:replace="android:fullBackupContent" in the <application> tag in the AndroidManifest.xml file.
If you add android:dataExtractionRules="string resource" in the AndroidManifest.xml, you might get the following error:
Build Output
To fix this error, add tools:replace="android:dataExtractionRules" in the <application> tag in the AndroidManifest.xml file.
If you add android:allowBackup="false" in the AndroidManifest.xml, you might get the following error:
Build Output
To fix this error, add tools:replace="android:allowBackup" in the <application> tag in the AndroidManifest.xml file.
Since the android:dataExtractionRules feature was added from API Level 31, you might get the following error if compileSdkVersion is less than 31:
Build Output
To fix this error, add tools:remove="android:dataExtractionRules" in the <application> tag in the AndroidManifest.xml file.
If you are experiencing build errors caused by overlapping of the Airbridge SDK backup rules and third-party SDK backup rules, please refer to the workaround below.e.g) If you have an Airbridge SDK backup rule and an Appsflyer SDK backup rule that overlap, you will see the build error below.
To resolve this issue, please set up as follows.
  1. Create a src/main/res/xml folder.
  2. Within the created xml folder, create a file (e.g. custom_backup_rules.xml).
  3. Add the data backup rules defined in the Airbridge SDK as follows.
NoteThe data_extraction_rules.xml setting is required for Airbridge Android SDK v2.27.1 and above.
  1. Within the created xml folder, create a file (e.g. custom_data_extraction_rules.xml).
  2. Add the data backup rules defined in the Airbridge SDK as follows.
Airbridge Android SDK v2.27.1 or above
Airbridge Android SDK version less than v2.27.1
The Android SDK uses Google’s GSON library and there is a known issue regarding the double brace initialization. The product data may be missing when using double brace initialization for creating the product items as shown in the above Java code. Therefore, it is recommended to create the product items (e.g., Order Complete event) manually.