-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from HGPoint/pull_to_of
feat: update android and ios sdk
- Loading branch information
Showing
29 changed files
with
1,303 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
name: "AppsflyerExt" | ||
name: "AppsflyerExt" | ||
|
||
platforms: | ||
ios: | ||
context: | ||
frameworks: ["iAd", "AdServices", "AdSupport", "AppTrackingTransparency", "AudioToolbox", "AVFoundation", "CoreGraphics", "CoreMedia", "CoreMotion", "CoreTelephony", "Foundation", "MessageUI", "SafariServices", "StoreKit", "SystemConfiguration", "UIKit", "WebKit"] | ||
linkFlags: ["-ObjC"] |
Binary file not shown.
49 changes: 49 additions & 0 deletions
49
extension-appsflyer/lib/ios/AppsFlyerLib.framework/Headers/AppsFlyerCrossPromotionHelper.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// | ||
// CrossPromotionHelper.h | ||
// AppsFlyerLib | ||
// | ||
// Created by Gil Meroz on 27/01/2017. | ||
// | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/** | ||
AppsFlyer allows you to log 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 log 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 | ||
@param parameters Additional params like `@{@"af_sub1": @"val", @"custom_param": @"val2" }` | ||
*/ | ||
+ (void)logCrossPromoteImpression:(nonnull NSString *)appID | ||
campaign:(nullable NSString *)campaign | ||
parameters:(nullable NSDictionary *)parameters; | ||
|
||
/** | ||
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)logAndOpenStore:(nonnull NSString *)appID | ||
campaign:(nullable NSString *)campaign | ||
parameters:(nullable NSDictionary *)parameters | ||
openStore:(void (^)(NSURLSession *urlSession, NSURL *clickURL))openStoreBlock; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
36 changes: 36 additions & 0 deletions
36
extension-appsflyer/lib/ios/AppsFlyerLib.framework/Headers/AppsFlyerDeepLink.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// | ||
// AFSDKDeeplink.h | ||
// AppsFlyerLib | ||
// | ||
// Created by Andrii Hahan on 20.08.2020. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
NS_SWIFT_NAME(DeepLink) | ||
@interface AppsFlyerDeepLink : NSObject | ||
|
||
- (nonnull instancetype)init NS_UNAVAILABLE; | ||
+ (nonnull instancetype)new NS_UNAVAILABLE; | ||
|
||
@property (readonly, nonnull) NSDictionary<NSString *, id> *clickEvent; | ||
@property (readonly, nullable) NSString *deeplinkValue; | ||
@property (readonly, nullable) NSString *matchType; | ||
@property (readonly, nullable) NSString *clickHTTPReferrer; | ||
@property (readonly, nullable) NSString *mediaSource; | ||
@property (readonly, nullable) NSString *campaign; | ||
@property (readonly, nullable) NSString *campaignId; | ||
@property (readonly, nullable) NSString *afSub1; | ||
@property (readonly, nullable) NSString *afSub2; | ||
@property (readonly, nullable) NSString *afSub3; | ||
@property (readonly, nullable) NSString *afSub4; | ||
@property (readonly, nullable) NSString *afSub5; | ||
@property (readonly) BOOL isDeferred; | ||
|
||
- (NSString *)toString; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
29 changes: 29 additions & 0 deletions
29
extension-appsflyer/lib/ios/AppsFlyerLib.framework/Headers/AppsFlyerDeepLinkResult.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// | ||
// AFSDKDeeplinkResult.h | ||
// AppsFlyerLib | ||
// | ||
// Created by Andrii Hahan on 20.08.2020. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@class AppsFlyerDeepLink; | ||
|
||
typedef NS_CLOSED_ENUM(NSUInteger, AFSDKDeepLinkResultStatus) { | ||
AFSDKDeepLinkResultStatusNotFound, | ||
AFSDKDeepLinkResultStatusFound, | ||
AFSDKDeepLinkResultStatusFailure, | ||
} NS_SWIFT_NAME(DeepLinkResultStatus); | ||
|
||
NS_SWIFT_NAME(DeepLinkResult) | ||
@interface AppsFlyerDeepLinkResult : NSObject | ||
|
||
- (nonnull instancetype)init NS_UNAVAILABLE; | ||
+ (nonnull instancetype)new NS_UNAVAILABLE; | ||
|
||
@property(readonly) AFSDKDeepLinkResultStatus status; | ||
|
||
@property(readonly, nullable) AppsFlyerDeepLink *deepLink; | ||
@property(readonly, nullable) NSError *error; | ||
|
||
@end |
Oops, something went wrong.