Latest 1.0.3
Homepage https://github.com/AppsFlyerSDK/AppsFlyerAdobeExtension
License proprietary
Platforms ios 11.0
Dependencies AppsFlyerFramework, ACPCore
Authors

AppsFlyer SDK Extension for Adobe Mobile SDK

Version
Platform

Table of content

Installation

For instructions on using AppsFlyer’s Adobe Mobile SDK Extension please see: https://aep-sdks.gitbook.io/docs/getting-started/create-a-mobile-property

After adding the extension to the mobile property, please set the App ID and Dev Key fields and save the extension settings.
AppsFlyerAdobeSDK

For more information on adding applications to the AppsFlyer dashboard see here

Information on adding the extension to xCode is available on the Launch dashboard.

Event Tracking

All events that are invoked using the [ACPCore trackAction] API are automatically tracked to the AppsFlyer Platform as in-app events; For example, calling this API:

[ACPCore  trackAction:@"testAnalyticsAction" data:@{@"revenue":@"200",@"currency":@"USD"];

will result in a testAnalyticsAction event tracked on the AppsFlyer Dashboard with a revenue of 200USD.

revenue and currency parameters are mapped to af_revenue and af_currency.

Extension Callbacks

Registering for deferred deep link and deep link callbacks:

   [AppsFlyerAdobeExtension registerCallbacks:^(NSDictionary *dictionary) {
        NSLog(@"[AppsFlyerAdobeExtension] Received callback: %@", dictionary);
    }];

Handling Errors:

    [AppsFlyerAdobeExtension callbacksErrorHandler:^(NSError *error) {
        NSLog(@"[AppsFlyerAdobeExtension] Error receivng callback: %@" , error);
    }];

The returned map should contain a callback_type key to distinguish between onConversionDataReceived (deferred deep link) and onAppOpenAttribution (deep link).

Tracking Deep Links

Tracking Universal Links using the AppsFlyerAdobeExtension requires the developer to pass the userActivity and restorationHandler to the extension:

- (BOOL) application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray<id<UIUserActivityRestoring>> *restorableObjects))restorationHandler {
    [AppsFlyerAdobeExtension continueUserActivity:userActivity restorationHandler:restorationHandler];
    return  YES;

}

Tracking URL Types (Schemes) using the AppsFlyerAdobeExtension requires the developer to pass the url and options to the extension:

- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary *) options {
    [AppsFlyerAdobeExtension  openURL:url options:options];
    return  YES;
}

Latest podspec

{
    "name": "AppsFlyerAdobeExtension",
    "version": "1.0.3",
    "summary": "AppsFlyer iOS SDK Extension for Adobe Mobile SDK",
    "description": "AppsFlyer iOS SDK Extension for Adobe Mobile SDK.",
    "homepage": "https://github.com/AppsFlyerSDK/AppsFlyerAdobeExtension",
    "license": {
        "type": "proprietary",
        "file": "LICENSE"
    },
    "authors": {
        "AppsFlyer": "[email protected]"
    },
    "source": {
        "git": "https://github.com/AppsFlyerSDK/AppsFlyerAdobeExtension.git",
        "tag": "1.0.3"
    },
    "platforms": {
        "ios": "11.0"
    },
    "source_files": "AppsFlyerAdobeExtension/Classes/**/*",
    "static_framework": true,
    "public_header_files": "AppsFlyerAdobeExtension/Classes/**/*.h",
    "dependencies": {
        "AppsFlyerFramework": [],
        "ACPCore": []
    }
}

Pin It on Pinterest

Share This