Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.17 KB

Installation.md

File metadata and controls

27 lines (21 loc) · 1.17 KB

Adding appsflyer-capacitor-plugin to your project

📲 Adding the SDK to your project

The plugin available via npm. To install the plugin, please run the following commands in your project root directory.

npm install appsflyer-capacitor-plugin  
npx cap sync  

The latest version that supports Capacitor 3 uses the following SDK versions:

  • Android AppsFlyer SDK 6.9.2️
  • iOS AppsFlyer SDK 6.8.1️

The plugin available via npm under the tag latest-3. To install the plugin, please run the following commands in your project root directory.

npm install appsflyer-capacitor-plugin@latest-3
npx cap sync  

⚠️ Adding AD_ID permission for Android ⚠️

In v6.8.0 of the AppsFlyer SDK, we added the normal permission com.google.android.gms.permission.AD_ID to the SDK's AndroidManifest, to allow the SDK to collect the Android Advertising ID on apps targeting API 33. If your app is targeting children, you need to revoke this permission to comply with Google's Data policy. You can read more about it here.