Skip to main content

iOS

Problem

Users may see the domain of passwords stored with the Password AutoFill feature as airbridge.io or abr.ge.

Cause

After setting up deep links for the Airbridge SDK, if you utilize the Password AutoFill feature, the domain is saved as the applinks domain of the Airbridge deep link, which is airbridge.io or abr.ge.

Solution

The problem can be solved by setting up the webcredentials domain used in the Password AutoFill.
  1. Prepare the domain that will store the password.
  2. Host the JSON below at https://YOUR_DOMAIN/.well-known/apple-app-site-association with Content-Type: application/json. Your prepared domain should be entered instead of YOUR_DOMAIN.
You can find the App ID Prefix and Bundle ID in the [Identifiers]>[YOUR_APP] menu of the Apple Developer Portal.
  1. Navigate to [YOUR_PROJECT]>[Signing & Capabilities] in Xcode.
  2. Click + Capability to add Associated Domains. Enter webcredentials:YOUR_DOMAIN in Associated Domains.
An error like below may occur when creating iOS builds with Cordova-Ionic SDK v2.0.1+.
Since Cordova-Ionic SDK v2.0.1+ uses Airbridge iOS SDK v1.28.0+, Bitcode is no longer supported. Please refer to the Bitcode compile error guide for more details.

Android

Issue

A coroutine dependency error occurs during the build process with the following message.
Text

Cause

If the kotlinx-coroutines-core library version is 1.3.5 or later, the kotlin-stdlib library version must be at a certain level or later.

Solution

Check whether the kotlin-stdlib library version is v.1.3.70 or later with the gradlew dependencies command. If the version is earlier than v.1.3.70, you need to update it.

Issue

The “Manifest merger failed” error occurs during the build process.

Cause

The Airbridge SDK’s AndroidManifest.xml includes rules to opt out of backing up the Shared Preferences data. The purpose of this rule is to avoid retaining the same Airbridge settings during the reinstallation of the app so that new installs or reinstalls can be detected accurately.Merging Airbridge SDK backup rules with your app backup rules can cause conflicts.

Solution

Below are the opt-out rules defined in the Airbridge SDK.
Fix conflict with fullBackupContent=“string”
Adding android:fullBackupContent="string" to the AndroidManifest.xml file may cause an error like the following.
Build Output
To fix this error,
  • add xmlns:tools="http://schemas.android.com/tools" to the <manifest> tag
  • add tools:replace="android:fullBackupContent" to the <application> tag
in the AndroidManifest.xml file.
Fix conflict with dataExtractionRules=“string resource”
Adding android:dataExtractionRules="string resource" to the AndroidManifest.xml file may cause an error like the following.
Build Output
To fix this error,
  • add xmlns:tools="http://schemas.android.com/tools" to the <manifest> tag
  • add tools:replace="android:dataExtractionRules" to the <application> tag
in the AndroidManifest.xml file.
Fix conflict with allowBackup=“false”
Adding android:allowBackup="false" to the AndroidManifest.xml file may cause an error like the following.
Build Output
To fix this error,
  • add xmlns:tools="http://schemas.android.com/tools" to the <manifest> tag
  • add tools:replace="android:allowBackup" to the <application> tag
in the AndroidManifest.xml file.
If compileSdkVersion is lower than 31
The android:dataExtractionRules has been added in API Level 31. Therefore, if the compileSdkVersion is lower than 31, an error like the following may occur.
Build Output
To fix this error,
  • add xmlns:tools="http://schemas.android.com/tools" to the <manifest> tag
  • add tools:remove="android:dataExtractionRules" to the <application> tag
in the AndroidManifest.xml file.For more guidance, refer to the articles below.

Issue

If an Airbridge SDK backup rule and a backup rule for a different third-party SDK (e.g., AppsFlyer SDK) overlap, you will see the build error below.

Cause

Overlapping of the Airbridge SDK backup rules and third-party SDK backup rules can cause build errors.

Solution

backup_rules.xml setup
  1. Create a android/app/src/main/res/xml folder.
  2. Within the new xml folder, create a file (e.g. custom_backup_rules.xml).
  3. Add the data backup rules defined in the Airbridge SDK as follows.
data_extraction_rules.xml setup
  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.
AndroidManifest.xml setup

Issue

GAID is being collected as 00000000-0000-0000-0000-000000000000 even though LAT (Limited Ad Tracking) is deactivated.

Cause

The AD_ID permission has been excluded due to other third-party libraries.

Solution

Add AD_ID permission.