-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
af_deployment
committed
Sep 25, 2017
1 parent
ad05135
commit f6e986b
Showing
12 changed files
with
284 additions
and
12 deletions.
There are no files selected for viewing
Binary file not shown.
25 changes: 25 additions & 0 deletions
25
AppsFlyerLib.framework/Versions/A/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,25 @@ | ||
// | ||
// CrossPromotionHelper.h | ||
// AppsFlyerLib | ||
// | ||
// Created by Gil Meroz on 27/01/2017. | ||
// | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import <UIKit/UIKit.h> | ||
|
||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface AppsFlyerCrossPromotionHelper : NSObject | ||
+ (void) trackCrossPromoteImpression:(nonnull NSString*) appID | ||
campaign:(nullable NSString*) campaign; | ||
|
||
+ (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 |
40 changes: 40 additions & 0 deletions
40
AppsFlyerLib.framework/Versions/A/Headers/AppsFlyerLinkGenerator.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,40 @@ | ||
// | ||
// LinkGenerator.h | ||
// AppsFlyerLib | ||
// | ||
// Created by Gil Meroz on 27/01/2017. | ||
// | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/*! | ||
* Payload container for the `generateInviteUrlWithLinkGenerator:completionHandler:` from `AppsFlyerShareInviteHelper` | ||
*/ | ||
@interface AppsFlyerLinkGenerator: NSObject | ||
|
||
- (instancetype)init NS_UNAVAILABLE; | ||
+ (instancetype)new NS_UNAVAILABLE; | ||
|
||
/// The channel through which the invite was sent (e.g. Facebook/Gmail/etc.). Usage: Recommended | ||
- (void)setChannel :(nonnull NSString *)channel; | ||
- (void)setReferrerCustomerId:(nonnull NSString *)referrerCustomerId; | ||
/// A campaign name. Usage: Optional | ||
- (void)setCampaign :(nonnull NSString *)campaign; | ||
- (void)setReferrerUID :(nonnull NSString *)referrerUID; | ||
- (void)setReferrerName :(nonnull NSString *)referrerName; | ||
/// The URL to referrer user avatar. Usage: Optional | ||
- (void)setReferrerImageURL :(nonnull NSString *)referrerImageURL; | ||
- (void)setAppleAppID :(nonnull NSString *)appleAppID; | ||
- (void)setDeeplinkPath :(nonnull NSString *)deeplinkPath; | ||
- (void)setBaseDeeplink :(nonnull NSString *)baseDeeplink; | ||
/// A single key value custom parameter. Usage: Optional | ||
- (void)addParameterValue :(nonnull NSString *)value forKey:(NSString*)key; | ||
/// Multiple key value custom parameters. Usage: Optional | ||
- (void)addParameters :(nonnull NSDictionary *)parameters; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
33 changes: 33 additions & 0 deletions
33
AppsFlyerLib.framework/Versions/A/Headers/AppsFlyerShareInviteHelper.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,33 @@ | ||
// | ||
// ShareInviteHelper.h | ||
// AppsFlyerLib | ||
// | ||
// Created by Gil Meroz on 27/01/2017. | ||
// | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "AppsFlyerLinkGenerator.h" | ||
|
||
@interface AppsFlyerShareInviteHelper : NSObject | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/*! | ||
* The AppsFlyerShareInviteHelper class builds the invite URL according to various setter methods | ||
* which allow passing on additional information on the click. | ||
* This information is available through `onConversionDataReceived:` when the user accepts the invite and installs the app. | ||
* In addition, campaign and channel parameters are visible within the AppsFlyer Dashboard. | ||
*/ | ||
+ (void) generateInviteUrlWithLinkGenerator:(AppsFlyerLinkGenerator * (^)(AppsFlyerLinkGenerator *generator))generatorCreator | ||
completionHandler:(void (^)(NSURL * _Nullable url))completionHandler; | ||
|
||
/*! | ||
* It is recommended to generate an in-app event after the invite is sent to track the invites from the senders' perspective. | ||
* This enables you to find the users that tend most to invite friends, and the media sources that get you these users. | ||
*/ | ||
+ (void) trackInvite:(nullable NSString *)channel parameters:(nullable NSDictionary *)parameters; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
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
Binary file not shown.
25 changes: 25 additions & 0 deletions
25
AppsFlyerTracker.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,25 @@ | ||
// | ||
// CrossPromotionHelper.h | ||
// AppsFlyerLib | ||
// | ||
// Created by Gil Meroz on 27/01/2017. | ||
// | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import <UIKit/UIKit.h> | ||
|
||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface AppsFlyerCrossPromotionHelper : NSObject | ||
+ (void) trackCrossPromoteImpression:(nonnull NSString*) appID | ||
campaign:(nullable NSString*) campaign; | ||
|
||
+ (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 |
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
40 changes: 40 additions & 0 deletions
40
AppsFlyerTracker.framework/Headers/AppsFlyerLinkGenerator.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,40 @@ | ||
// | ||
// LinkGenerator.h | ||
// AppsFlyerLib | ||
// | ||
// Created by Gil Meroz on 27/01/2017. | ||
// | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/*! | ||
* Payload container for the `generateInviteUrlWithLinkGenerator:completionHandler:` from `AppsFlyerShareInviteHelper` | ||
*/ | ||
@interface AppsFlyerLinkGenerator: NSObject | ||
|
||
- (instancetype)init NS_UNAVAILABLE; | ||
+ (instancetype)new NS_UNAVAILABLE; | ||
|
||
/// The channel through which the invite was sent (e.g. Facebook/Gmail/etc.). Usage: Recommended | ||
- (void)setChannel :(nonnull NSString *)channel; | ||
- (void)setReferrerCustomerId:(nonnull NSString *)referrerCustomerId; | ||
/// A campaign name. Usage: Optional | ||
- (void)setCampaign :(nonnull NSString *)campaign; | ||
- (void)setReferrerUID :(nonnull NSString *)referrerUID; | ||
- (void)setReferrerName :(nonnull NSString *)referrerName; | ||
/// The URL to referrer user avatar. Usage: Optional | ||
- (void)setReferrerImageURL :(nonnull NSString *)referrerImageURL; | ||
- (void)setAppleAppID :(nonnull NSString *)appleAppID; | ||
- (void)setDeeplinkPath :(nonnull NSString *)deeplinkPath; | ||
- (void)setBaseDeeplink :(nonnull NSString *)baseDeeplink; | ||
/// A single key value custom parameter. Usage: Optional | ||
- (void)addParameterValue :(nonnull NSString *)value forKey:(NSString*)key; | ||
/// Multiple key value custom parameters. Usage: Optional | ||
- (void)addParameters :(nonnull NSDictionary *)parameters; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
33 changes: 33 additions & 0 deletions
33
AppsFlyerTracker.framework/Headers/AppsFlyerShareInviteHelper.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,33 @@ | ||
// | ||
// ShareInviteHelper.h | ||
// AppsFlyerLib | ||
// | ||
// Created by Gil Meroz on 27/01/2017. | ||
// | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "AppsFlyerLinkGenerator.h" | ||
|
||
@interface AppsFlyerShareInviteHelper : NSObject | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/*! | ||
* The AppsFlyerShareInviteHelper class builds the invite URL according to various setter methods | ||
* which allow passing on additional information on the click. | ||
* This information is available through `onConversionDataReceived:` when the user accepts the invite and installs the app. | ||
* In addition, campaign and channel parameters are visible within the AppsFlyer Dashboard. | ||
*/ | ||
+ (void) generateInviteUrlWithLinkGenerator:(AppsFlyerLinkGenerator * (^)(AppsFlyerLinkGenerator *generator))generatorCreator | ||
completionHandler:(void (^)(NSURL * _Nullable url))completionHandler; | ||
|
||
/*! | ||
* It is recommended to generate an in-app event after the invite is sent to track the invites from the senders' perspective. | ||
* This enables you to find the users that tend most to invite friends, and the media sources that get you these users. | ||
*/ | ||
+ (void) trackInvite:(nullable NSString *)channel parameters:(nullable NSDictionary *)parameters; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
Oops, something went wrong.