Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.59 KB

File metadata and controls

49 lines (32 loc) · 1.59 KB

AppsFlyer Kit Integration

This repository contains the AppsFlyer integration for the mParticle Apple SDK.

Building the framework (fat .framework.zip and XCFramework)

To build the kit and produce both archives from the repo root:

  1. Install CocoaPods dependencies (generates mParticle-AppsFlyer.xcworkspace):
    pod install
  2. Run the build script:
    ./script/build_xcframework.sh
    Output in the repo root:
    • mParticle_AppsFlyer.framework.zip — fat (universal) framework (device + simulator)
    • mParticle_AppsFlyer.xcframework.zip — XCFramework (device and simulator slices; preferred for App Store)

Open mParticle-AppsFlyer.xcworkspace (not the .xcodeproj) when building or testing from Xcode.

Adding the integration

  1. Add the kit dependency to your app's Podfile or Cartfile:

    pod 'mParticle-AppsFlyer', '~> 8'
    

    OR

    github "mparticle-integrations/mparticle-apple-integration-appsflyer" ~> 8.0
    
  2. Follow the mParticle iOS SDK quick-start, then rebuild and launch your app, and verify that you see "Included kits: { AppsFlyer }" in your Xcode console

(This requires your mParticle log level to be at least Debug)

  1. Reference mParticle's integration docs below to enable the integration.

Documentation

AppsFlyer integration

License

Apache License 2.0