Skip to content

Commit

Permalink
- Framework v. 1.4.0 update
Browse files Browse the repository at this point in the history
  • Loading branch information
vladasdrejeris committed Jan 23, 2020
1 parent dee40c7 commit 03dd641
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 48 deletions.
Binary file modified AdformTracking.framework/Versions/A/AdformTracking
Binary file not shown.
25 changes: 0 additions & 25 deletions AdformTracking.framework/Versions/A/Headers/AFTrackPoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,30 +99,5 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)setOrder:(nullable AFOrder *)order;


//Deprecated

/**
Returns custom parameters set to the tracking point.
@return A dictionary with parameters or nil if none were set.
*/
- (NSDictionary *)getParameters __deprecated_msg("To get custom parameters set to trackpoint use 'order:' instead!");

/**
Adds a custom parameter to the track point.
@param key A key for a parameter.
@param parameter A parameter for a key.
*/
- (void)addParameter:(NSString *)key withValue:(NSString *)parameter __deprecated_msg("To add custom parameters to trackpoint use 'setOrder:' instead!");

/**
Sets multiple custom parameters to the track point.
@param parameters A dictionary containing parameters.
*/
- (void)setParameters:(NSDictionary *)parameters __deprecated_msg("To add custom parameters to trackpoint use 'setOrder:' instead!");

@end
NS_ASSUME_NONNULL_END
38 changes: 15 additions & 23 deletions AdformTracking.framework/Versions/A/Headers/AdformTrackingSDK.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)setOrder:(nullable AFOrder *)order;

/**
Used to proccess the url that opend the application to handle deep linking and interactions with SDK.
Must be called in [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
@param url URL that was passed in [UIApplicationDelegate application:openURL:sourceApplication:annotation:] method.
@param sourceApplication sourceApplication that was passed in [UIApplicationDelegate application:openURL:sourceApplication:annotation:] method.
@return YES if the call was intended for AdformTrackingSDK, else NO.
*/
- (BOOL )applicationOpenUrl:(NSURL *)url sourceApplication:(nullable NSString *)sourceApplication;

/**
You can use this method to manually specifying if GDPR is applied.
Must be a BOOL value wraped in a NSNumber.
Expand Down Expand Up @@ -183,26 +171,30 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (nullable NSString *)customUserAgent;

@end
/// Used to proccess the url that opend the application to handle deep linking and interactions with SDK.
///
/// Must be called in [UIApplicationDelegate application:openURL:options:].
///
/// @param url URL that was passed to [UIApplicationDelegate application:openURL:options:] method.
/// @param options Options dictionary that was passed to [UIApplicationDelegate application:openURL:options:] method.
- (BOOL)applicationOpenURL:(NSURL *)url options:(NSDictionary *)options;

@interface AdformTrackingSDK ()
@end

//Deprecated
@interface AdformTrackingSDK ()

/**
Adds custom parameter for initial tracking points ("Start" and "Download").
Used to proccess the url that opend the application to handle deep linking and interactions with SDK.
@param key A key for a parameter.
@param parameter A parameter for a key.
*/
- (void)addParameter:(NSString *)key withValue:(NSString *)parameter __deprecated_msg("To add custom parameters to trackpoint use 'setOrder:' instead!");
Must be called in [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
/**
Sets multiple custom parameters for initial tracking points ("Start" and "Download").
@param url URL that was passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:] method.
@param sourceApplication sourceApplication that was passed in [UIApplicationDelegate application:openURL:sourceApplication:annotation:] method.
@param parameters A dictionary containing parameters.
@return YES if the call was intended for AdformTrackingSDK, else NO.
*/
- (void)setParameters:(NSDictionary *)parameters __deprecated_msg("To add custom parameters to trackpoint use 'setOrder:' instead!");
- (BOOL )applicationOpenUrl:(NSURL *)url sourceApplication:(nullable NSString *)sourceApplication __deprecated_msg("To add custom parameters to trackpoint use 'setOrder:' instead!");

@end
NS_ASSUME_NONNULL_END
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,12 @@ Instructions on how to do it can be found [here](https://github.com/google/proto

# Release notes

## 1.4.0

### New Features

* IAB Transparent Consent Framework 2.0 support.

## 1.3.3

### New Features
Expand Down

0 comments on commit 03dd641

Please sign in to comment.