Skip to content

Commit 3165a44

Browse files
author
Thibaud Saint-Etienne
committed
Revert "v$(MARKETING_VERSION)"
This reverts commit 4fe844e.
1 parent 4fe844e commit 3165a44

25 files changed

+667
-1919
lines changed

TeadsSDK.framework/B5B6455D-A0B5-39BA-BEDF-71E512732775.bcsymbolmap renamed to TeadsSDK.framework/33FE0AA7-2778-3F9D-8D84-28A917FE4D18.bcsymbolmap

Lines changed: 123 additions & 248 deletions
Large diffs are not rendered by default.

TeadsSDK.framework/CE77990C-04B0-3659-A19E-B85608EF1099.bcsymbolmap renamed to TeadsSDK.framework/40509611-DDF0-3F73-AC80-E4801BB5C02E.bcsymbolmap

Lines changed: 209 additions & 348 deletions
Large diffs are not rendered by default.

TeadsSDK.framework/44BB4FB1-22CE-386F-B856-FC0A652B861E.bcsymbolmap renamed to TeadsSDK.framework/C6E84942-ED40-3AEF-B768-26FFCBEBE7C1.bcsymbolmap

Lines changed: 209 additions & 348 deletions
Large diffs are not rendered by default.

TeadsSDK.framework/Headers/OMIDAdEvents.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@
88
#import <Foundation/Foundation.h>
99
#import "OMIDAdSession.h"
1010

11-
/**
12-
* Ad event API enabling the integration partner to signal to all verification providers when key events have occurred.
11+
/*!
12+
* @discussion Ad event API enabling the integration partner to signal to all verification providers when key events have occurred.
1313
* Only one ad events implementation can be associated with the ad session and any attempt to create multiple instances will result in an error.
1414
*/
1515
@interface OMIDTeadstvAdEvents : NSObject
1616

17-
/**
18-
* Initializes ad events instance associated with the supplied ad session.
17+
/*!
18+
* @abstract Initializes ad events instance associated with the supplied ad session.
1919
*
2020
* @param session The ad session associated with the ad events.
2121
* @return A new ad events instance associated with the supplied ad session. Returns nil if the supplied ad session is nil or if an ad events instance has already been registered with the ad session.
2222
*/
2323
- (nullable instancetype)initWithAdSession:(nonnull OMIDTeadstvAdSession *)session error:(NSError * _Nullable * _Nullable)error;
2424

25-
/**
26-
* Notifies the ad session that an impression event has occurred.
25+
/*!
26+
* @abstract Notifies the ad session that an impression event has occurred.
2727
*
28-
* When triggered all registered verification providers will be notified of this event.
28+
* @discussion When triggered all registered verification providers will be notified of this event.
2929
*
3030
* NOTE: the ad session will be automatically started if this method has been called first.
3131
*/

TeadsSDK.framework/Headers/OMIDAdSession.h

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,23 @@ typedef NS_ENUM(NSUInteger, OMIDErrorType) {
1414
OMIDErrorVideo = 2 // will translate into "VIDEO" when published to the OMID JS service.
1515
};
1616

17-
/**
18-
* Ad session API enabling the integration partner to notify OMID of key state relating to viewability calculations.
17+
/*!
18+
* @discussion Ad session API enabling the integration partner to notify OMID of key state relating to viewability calculations.
1919
* In addition to viewability this API will also notify all verification providers of key ad session lifecycle events.
2020
*/
2121
@interface OMIDTeadstvAdSession : NSObject
2222

23-
/**
24-
* The AdSession configuration is used for check owners.
23+
/*!
24+
* @abstract The AdSession configuration is used for check owners.
2525
*/
2626
@property(nonatomic, readonly, nonnull) OMIDTeadstvAdSessionConfiguration *configuration;
27-
/**
28-
* The native view which is used for viewability tracking.
27+
/*!
28+
* @abstract The native view which is used for viewability tracking.
2929
*/
3030
@property(nonatomic, weak, nullable) UIView *mainAdView;
3131

32-
/**
33-
* Initializes new ad session supplying the context.
32+
/*!
33+
* @abstract Initializes new ad session supplying the context.
3434
*
3535
* Note that creating an OMIDAdSession sends a message to the OM SDK JS Service running in the
3636
* webview. If the OM SDK JS Service has not loaded before the ad session is created, the
@@ -51,17 +51,17 @@ typedef NS_ENUM(NSUInteger, OMIDErrorType) {
5151
error:(NSError *_Nullable *_Nullable)error;
5252

5353

54-
/**
55-
* Notifies all verification providers that the ad session has started and ad view tracking will begin.
54+
/*!
55+
* @abstract Notifies all verification providers that the ad session has started and ad view tracking will begin.
5656
*
57-
* This method will have no affect if called after the ad session has finished.
57+
* @discussion This method will have no affect if called after the ad session has finished.
5858
*/
5959
- (void)start;
6060

61-
/**
62-
* Notifies all verification providers that the ad session has finished and all ad view tracking will stop.
61+
/*!
62+
* @abstract Notifies all verification providers that the ad session has finished and all ad view tracking will stop.
6363
*
64-
* This method will have no affect if called after the ad session has finished.
64+
* @discussion This method will have no affect if called after the ad session has finished.
6565
*
6666
* Note that ending an OMID ad session sends a message to the verification scripts running inside
6767
* the webview supplied by the integration. So that the verification scripts have enough time to
@@ -70,35 +70,35 @@ typedef NS_ENUM(NSUInteger, OMIDErrorType) {
7070
*/
7171
- (void)finish;
7272

73-
/**
74-
* Adds friendly obstruction which should then be excluded from all ad session viewability calculations.
73+
/*!
74+
* @abstract Adds friendly obstruction which should then be excluded from all ad session viewability calculations.
7575
*
76-
* This method will have no affect if called after the ad session has finished.
76+
* @discussion This method will have no affect if called after the ad session has finished.
7777
*
7878
* @param friendlyObstruction The view to be excluded from all ad session viewability calculations.
7979
*/
8080
- (void)addFriendlyObstruction:(nonnull UIView *)friendlyObstruction;
8181

82-
/**
83-
* Removes registered friendly obstruction.
82+
/*!
83+
* @abstract Removes registered friendly obstruction.
8484
*
85-
* This method will have no affect if called after the ad session has finished.
85+
* @discussion This method will have no affect if called after the ad session has finished.
8686
*
8787
* @param friendlyObstruction The view to be removed from the list of registered friendly obstructions.
8888
*/
8989
- (void)removeFriendlyObstruction:(nonnull UIView *)friendlyObstruction;
9090

91-
/**
92-
* Utility method to remove all registered friendly obstructions.
91+
/*!
92+
* @abstract Utility method to remove all registered friendly obstructions.
9393
*
94-
* This method will have no affect if called after the ad session has finished.
94+
* @discussion This method will have no affect if called after the ad session has finished.
9595
*/
9696
- (void)removeAllFriendlyObstructions;
9797

98-
/**
99-
* Notifies the ad session that an error has occurred.
98+
/*!
99+
* @abstract Notifies the ad session that an error has occurred.
100100
*
101-
* When triggered all registered verification providers will be notified of this event.
101+
* @discussion When triggered all registered verification providers will be notified of this event.
102102
*
103103
* @param errorType The type of error.
104104
* @param message The message containing details of the error.

TeadsSDK.framework/Headers/OMIDAdSessionConfiguration.h

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,22 @@
77

88
#import <UIKit/UIKit.h>
99

10-
/**
11-
* Identifies which integration layer is responsible for sending certain events.
12-
*/
1310
typedef NS_ENUM(NSUInteger, OMIDOwner) {
14-
/** The integration will send the event from a JavaScript session script. */
15-
OMIDJavaScriptOwner = 1,
16-
/** The integration will send the event from the native layer. */
17-
OMIDNativeOwner = 2,
18-
/** The integration will not send the event. */
19-
OMIDNoneOwner = 3
11+
OMIDJavaScriptOwner = 1, // will translate into "JAVASCRIPT" when published to the OMID JS service.
12+
OMIDNativeOwner = 2, // will translate into "NATIVE" when published to the OMID JS service.
13+
OMIDNoneOwner = 3 // will translate into "NONE" when published to the OMID JS service.
2014
};
2115

22-
/**
23-
* The ad session configuration supplies the owner for both the impression and video events.
24-
* The OMID JS service will use this information to help identify where the source of these
25-
* events is expected to be received.
26-
*/
2716
@interface OMIDTeadstvAdSessionConfiguration : NSObject
2817

2918
@property OMIDOwner impressionOwner;
3019
@property OMIDOwner videoEventsOwner;
3120
@property BOOL isolateVerificationScripts;
3221

33-
/**
34-
* Returns nil and sets error if OMID isn't active or arguments are invalid.
35-
* @param impressionOwner providing details of who is responsible for triggering the impression event.
36-
* @param videoEventsOwner providing details of who is responsible for triggering video events. This is only required for video ad sessions and should be set to videoEventsOwner:OMIDNoneOwner for display ad sessions.
37-
* @param isolateVerificationScripts determines whether verification scripts will be placed in a sandboxed environment. This will not have any effect for native sessions.
38-
*/
22+
/// Returns nil and sets error if OMID isn't active or arguments are invalid.
23+
/// @param impressionOwner providing details of who is responsible for triggering the impression event.
24+
/// @param videoEventsOwner providing details of who is responsible for triggering video events. This is only required for video ad sessions and should be set to videoEventsOwner:OMIDNoneOwner for display ad sessions.
25+
/// @param isolateVerificationScripts determines whether verification scripts will be placed in a sandboxed environment. This will not have any effect for native sessions.
3926
- (nullable instancetype)initWithImpressionOwner:(OMIDOwner)impressionOwner
4027
videoEventsOwner:(OMIDOwner)videoEventsOwner
4128
isolateVerificationScripts:(BOOL)isolateVerificationScripts

TeadsSDK.framework/Headers/OMIDAdSessionContext.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
#import "OMIDPartner.h"
77
#import "OMIDVerificationScriptResource.h"
88

9-
/**
10-
* This class will provide the ad session both details of the partner and whether this is considered HTML or native.
9+
/*!
10+
* @discussion This class will provide the ad session both details of the partner and whether this is considered HTML or native.
1111
*/
1212
@interface OMIDTeadstvAdSessionContext : NSObject
1313

1414
- (null_unspecified instancetype)init NS_UNAVAILABLE;
1515

16-
/**
17-
* Initializes a new ad session context providing reference to partner and web view where OMID JS has been injected.
16+
/*!
17+
* @abstract Initializes a new ad session context providing reference to partner and web view where OMID JS has been injected.
1818
*
19-
* Calling this method will set the ad session type to “html”.
19+
* @discussion Calling this method will set the ad session type to “html”.
2020
* <p>
2121
* NOTE: any attempt to create a new ad session will fail if OMID has not been activated (see {@link OMIDSDK} class for more information).
2222
*
@@ -30,10 +30,10 @@
3030
customReferenceIdentifier:(nullable NSString *)customReferenceIdentifier
3131
error:(NSError *_Nullable *_Nullable)error;
3232

33-
/**
34-
* Initializes a new ad session context providing reference to partner and a list of script resources which should be managed by OMID.
33+
/*!
34+
* @abstract Initializes a new ad session context providing reference to partner and a list of script resources which should be managed by OMID.
3535
*
36-
* Calling this method will set the ad session type to “native”.
36+
* @discussion Calling this method will set the ad session type to “native”.
3737
* <p>
3838
* NOTE: any attempt to create a new ad session will fail if OMID has not been activated (see {@link OMIDSDK} class for more information).
3939
*

TeadsSDK.framework/Headers/OMIDPartner.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77

88
#import <Foundation/Foundation.h>
99

10-
/**
11-
* Details about the integration partner which will be supplied to the ad session.
10+
/*!
11+
* @discussion Details about the integration partner which will be supplied to the ad session.
1212
*/
1313
@interface OMIDTeadstvPartner : NSObject
1414

1515
@property(nonatomic, readonly, nonnull) NSString *name;
1616
@property(nonatomic, readonly, nonnull) NSString *versionString;
1717

18-
/**
19-
* Initializes new partner instance providing both name and versionString.
18+
/*!
19+
* @abstract Initializes new partner instance providing both name and versionString.
2020
*
21-
* Both name and version are mandatory.
21+
* @discussion Both name and version are mandatory.
2222
*
2323
* @param name It is used to uniquely identify the integration partner.
2424
* @param versionString It is used to uniquely identify the integration partner.

TeadsSDK.framework/Headers/OMIDSDK.h

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,55 +9,52 @@
99

1010
/// API Note: this value must be copied into the ad SDK's binary. It cannot be an extern defined in
1111
/// the OMID library.
12-
#define OMIDSDKAPIVersionString @"{\"v\":\"1.2.20\",\"a\":\"1\"}"
12+
#define OMIDSDKAPIVersionString @"{\"v\":\"1.2.1\",\"a\":\"1\"}"
1313

14-
/**
15-
* This application level class will be called by all integration partners to ensure OM SDK has been activated before calling any other API methods.
14+
/*!
15+
* @discussion This application level class will be called by all integration partners to ensure OM SDK has been activated before calling any other API methods.
1616
* Any attempt to use other API methods prior to activation will result in an error.
1717
*
18-
* Note that OM SDK may only be used on the main UI thread.
18+
* Note that OM SDK may only be used on the main UI thread.
1919
* Make sure you are on the main thread when you initialize the SDK, create its
2020
* objects, and invoke its methods.
2121
*/
2222
@interface OMIDTeadstvSDK : NSObject
2323

24-
/**
25-
* The current semantic version of the integrated OMID library.
24+
/*!
25+
* @abstract The current semantic version of the integrated OMID library.
2626
*/
2727
+ (nonnull NSString *)versionString;
2828

29-
/**
30-
* Allows the integration partner to check that they are compatible with the running OMID library version.
29+
/*!
30+
* @abstract Allows the integration partner to check that they are compatible with the running OMID library version.
3131
*
3232
* @param OMIDAPIVersion The version of OMID library integrated by the partner.
3333
* @return YES if the version supplied is compatible with the integrated OMID library version.
34-
*
35-
* Note: Planned to be deprecated in next major release
3634
*/
3735

3836
+ (BOOL)isCompatibleWithOMIDAPIVersion:(nonnull NSString *)OMIDAPIVersion
3937
NS_SWIFT_NAME(isCompatible(withOMIDAPIVersion:));
4038

41-
/**
42-
* Shared OMIDSDK instance.
39+
/*!
40+
* @abstract Shared OMIDSDK instance.
4341
*/
4442
@property(class, readonly, nonnull) OMIDTeadstvSDK *sharedInstance
4543
NS_SWIFT_NAME(shared);
4644

47-
/**
48-
* A Boolean value indicating whether the OMID library has been activated.
45+
/*!
46+
* @abstract A Boolean value indicating whether the OMID library has been activated.
4947
*
50-
* The value of this property is YES if the OMID library has already been activated. Allows the integration partner to check that they are compatible with the running OMID library version.
48+
* @discussion The value of this property is YES if the OMID library has already been activated. Allows the integration partner to check that they are compatible with the running OMID library version.
5149
*/
5250
@property(atomic, readonly, getter = isActive) BOOL active;
5351

54-
/**
55-
* Enables the integration partner to activate OMID prior to calling any other API methods.
52+
/*!
53+
* @abstract Enables the integration partner to activate OMID prior to calling any other API methods.
5654
*
5755
* @param OMIDAPIVersion The version of OMID library integrated by the partner.
5856
* @param error If an error occurs, contains an NSError object that describes the problem.
5957
* @return YES if activation was successful when checking the supplied version number for compatibility.
60-
*
6158
*/
6259
- (BOOL)activateWithOMIDAPIVersion:(nonnull NSString *)OMIDAPIVersion
6360
error:(NSError *_Nullable *_Nullable)error;

TeadsSDK.framework/Headers/OMIDScriptInjector.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
#import <Foundation/Foundation.h>
99

10-
/**
11-
* Utility class which enables integration partners to use a standard approach for injecting OM SDK JS into the served tag HTML content.
10+
/*!
11+
* @discussion Utility class which enables integration partners to use a standard approach for injecting OM SDK JS into the served tag HTML content.
1212
*/
1313
@interface OMIDTeadstvScriptInjector : NSObject
1414

0 commit comments

Comments
 (0)