Skip to content

Commit

Permalink
5.1.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andr-ggn committed Nov 20, 2019
1 parent 7e1054a commit 8b0a060
Show file tree
Hide file tree
Showing 54 changed files with 2,971 additions and 0 deletions.
36 changes: 36 additions & 0 deletions AppsFlyerFramework.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Pod::Spec.new do |s|
s.name = 'AppsFlyerFramework'
s.version = '5.1.0-beta.1'
s.summary = 'AppsFlyer iOS SDK'

s.description = <<-DESC
AppsFlyer native track allows you to find what attracts new users to your app,
measure all your app marketing activities on one dashboard, and add new traffic sources in minutes,
all without having to update SDK.
DESC

s.homepage = 'https://www.appsflyer.com'
s.license = { :type => 'Proprietary', :text => 'Copyright 2019 AppsFlyer Ltd. All rights reserved.' }
s.author = { 'Maxim' => 'maxim\@appsflyer.com', 'Andrii' => 'andrii.h\@appsflyer.com' }
s.source = { :git => 'https://github.com/AppsFlyerSDK/AppsFlyerFramework.git', :tag => s.version.to_s }
s.requires_arc = true
s.platform = :ios, :tvos, :osx

s.ios.deployment_target = '8.0'
s.tvos.deployment_target = '9.0'
s.osx.deployment_target = '10.11'

s.ios.frameworks = 'AdSupport', 'iAd', 'Security', 'SystemConfiguration', 'CoreTelephony'
s.tvos.frameworks = 'AdSupport', 'Security'
s.osx.frameworks = 'AdSupport', 'Security'

s.ios.preserve_paths = 'iOS/AppsFlyerLib.framework'
s.ios.vendored_frameworks = 'iOS/AppsFlyerLib.framework'

s.tvos.preserve_paths = 'tvOS/AppsFlyerLib.framework'
s.tvos.vendored_frameworks = 'tvOS/AppsFlyerLib.framework'

s.osx.preserve_paths = 'macOS/AppsFlyerAttribution.framework'
s.osx.vendored_frameworks = 'macOS/AppsFlyerAttribution.framework'

end
File renamed without changes.
File renamed without changes.
55 changes: 55 additions & 0 deletions Mac Catalyst/AppsFlyerLib.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>AppsFlyerLib.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-armv7_arm64</string>
<key>LibraryPath</key>
<string>AppsFlyerLib.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>armv7</string>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>AppsFlyerLib.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
framework module AppsFlyerLib {
umbrella header "AppsFlyerTracker.h"

export *
module * { export * }
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
//
// CrossPromotionHelper.h
// AppsFlyerLib
//
// Created by Gil Meroz on 27/01/2017.
//
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/**
AppsFlyer allows you to track and attribute installs originating
from cross promotion campaigns of your existing apps.
Afterwards, you can optimize on your cross-promotion traffic to get even better results.
*/
@interface AppsFlyerCrossPromotionHelper : NSObject

/**
To track an impression use the following API call.
Make sure to use the promoted App ID as it appears within the AppsFlyer dashboard.
@param appID Promoted App ID
@param campaign A campaign name
*/
+ (void)trackCrossPromoteImpression:(nonnull NSString *)appID
campaign:(nullable NSString *)campaign;

/**
iOS allows you to utilize the StoreKit component to open
the App Store while remaining in the context of your app.
More details at https://support.appsflyer.com/hc/en-us/articles/115004481946-Cross-Promotion-Tracking#tracking-cross-promotion-impressions
@param appID Promoted App ID
@param campaign A campaign name
@param parameters Additional params like `@{@"af_sub1": @"val", @"custom_param": @"val2" }`
@param openStoreBlock Contains promoted `clickURL`
*/
+ (void)trackAndOpenStore:(nonnull NSString *)appID
campaign:(nullable NSString *)campaign
paramters:(nullable NSDictionary *)parameters
openStore:(void (^)(NSURLSession *urlSession, NSURL *clickURL))openStoreBlock;

@end

NS_ASSUME_NONNULL_END
Loading

0 comments on commit 8b0a060

Please sign in to comment.