appsflyer-capacitor-plugin
v7.0.2-v2
Published
AppsFlyer SDK plugin for Capacitor
Readme
AppsFlyer Capacitor plugin for Android and iOS.
🛠 In order for us to provide optimal support, please contact AppsFlyer support through the Customer Assistant Chatbot for assistance with troubleshooting issues or product guidance. To do so, please follow this article.
This plugin is built for:
Android AppsFlyer SDK 7.0.1 iOS AppsFlyer SDK 7.0.2 Capacitor 8
❗❗ Breaking changes when updating to v7.0.2 ❗❗
Starting from v7.0.2, this plugin is built on the js-core RPC architecture and its public API changed (method names, argument shapes, and the OAOA listener were all affected). See the migration guide before upgrading.
❗❗ Breaking changes when updating to v6.17.91 ❗❗
Starting from v6.17.91, this plugin works only with Capacitor 8. If you are still interested in using Capacitor 7, please follow the instructions here to install the latest version that supports Capacitor 7.
❗❗ Breaking changes when updating to v6.17.0 ❗❗
Starting from v6.17.0, this plugin works only with Capacitor 7. If you are still interested in using Capacitor 6, please follow the instructions here to install the latest version that supports Capacitor 6.
❗❗ Breaking changes when updating to v6.15.0 ❗❗
Starting from v6.15.0, this plugin works only with Capacitor 6. If you are still interested in using Capacitor 5, please follow the instructions here to install the latest version that supports Capacitor 5.
❗❗ Breaking changes when updating to v6.12.1 ❗❗
Starting from v6.12.1, this plugin works only with Capacitor 5. If you are still interested in using Capacitor 4, please follow the instructions here to install the latest version that supports Capacitor 4.
❗❗ Breaking changes when updating to v6.9.2 ❗❗
Starting from v6.9.2, this plugin works only with Capacitor 4. If you are still interested in using Capacitor 3, please follow the instructions here to install the latest version that supports Capacitor 3.
⏩ Migration
Upgrading from a pre-7.0 version? See MIGRATION.md for the full 6.x → 7.x method/argument mapping, including a ready-to-use prompt for an LLM coding assistant.
Strict mode for kids apps (iOS)
Use strict mode to remove IDFA collection and AdSupport framework dependencies (for example, in kids apps).
To enable strict mode:
- Add
$AppsFlyerStrictMode = trueto yourios/App/Podfilebeforetarget 'App' do:
$AppsFlyerStrictMode = true
target 'App' do
# ...
end- Sync and reinstall CocoaPods dependencies:
npx cap sync iosTo revert to regular mode, remove $AppsFlyerStrictMode = true from your Podfile and run npx cap sync ios again.
Note: Strict mode requires CocoaPods. If your iOS project integrates plugins through Swift Package Manager, switch to CocoaPods for strict mode builds.
