Skip to content

Commit 676e4b0

Browse files
runnerrunner
runner
authored and
runner
committed
Release new version: 5.1.0
1 parent 1204fd4 commit 676e4b0

File tree

123 files changed

+5158
-5693
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+5158
-5693
lines changed

Frameworks/OMSDK_Teadstv.xcframework/Info.plist

+30-5
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,58 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_armv7</string>
9+
<string>tvos-arm64_x86_64-simulator</string>
1010
<key>LibraryPath</key>
1111
<string>OMSDK_Teadstv.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15-
<string>armv7</string>
15+
<string>x86_64</string>
1616
</array>
1717
<key>SupportedPlatform</key>
18-
<string>ios</string>
18+
<string>tvos</string>
19+
<key>SupportedPlatformVariant</key>
20+
<string>simulator</string>
1921
</dict>
2022
<dict>
2123
<key>LibraryIdentifier</key>
22-
<string>ios-arm64_i386_x86_64-simulator</string>
24+
<string>ios-arm64_x86_64-simulator</string>
2325
<key>LibraryPath</key>
2426
<string>OMSDK_Teadstv.framework</string>
2527
<key>SupportedArchitectures</key>
2628
<array>
2729
<string>arm64</string>
28-
<string>i386</string>
2930
<string>x86_64</string>
3031
</array>
3132
<key>SupportedPlatform</key>
3233
<string>ios</string>
3334
<key>SupportedPlatformVariant</key>
3435
<string>simulator</string>
3536
</dict>
37+
<dict>
38+
<key>LibraryIdentifier</key>
39+
<string>ios-arm64</string>
40+
<key>LibraryPath</key>
41+
<string>OMSDK_Teadstv.framework</string>
42+
<key>SupportedArchitectures</key>
43+
<array>
44+
<string>arm64</string>
45+
</array>
46+
<key>SupportedPlatform</key>
47+
<string>ios</string>
48+
</dict>
49+
<dict>
50+
<key>LibraryIdentifier</key>
51+
<string>tvos-arm64</string>
52+
<key>LibraryPath</key>
53+
<string>OMSDK_Teadstv.framework</string>
54+
<key>SupportedArchitectures</key>
55+
<array>
56+
<string>arm64</string>
57+
</array>
58+
<key>SupportedPlatform</key>
59+
<string>tvos</string>
60+
</dict>
3661
</array>
3762
<key>CFBundlePackageType</key>
3863
<string>XFWK</string>
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
//
44

55
#import <UIKit/UIKit.h>
6+
7+
#if !(TARGET_OS_TV)
68
#import <WebKit/WebKit.h>
9+
#endif
10+
711
#import "OMIDPartner.h"
812
#import "OMIDVerificationScriptResource.h"
913

@@ -17,6 +21,8 @@ NS_ASSUME_NONNULL_BEGIN
1721

1822
- (null_unspecified instancetype)init NS_UNAVAILABLE;
1923

24+
#if !(TARGET_OS_TV)
25+
2026
/**
2127
* Initializes a new ad session context providing reference to partner and web view where
2228
* the OM SDK JavaScript service has been injected.
@@ -38,6 +44,8 @@ NS_ASSUME_NONNULL_BEGIN
3844
contentUrl:(nullable NSString *)contentUrl
3945
customReferenceIdentifier:(nullable NSString *)customReferenceIdentifier
4046
error:(NSError *_Nullable *_Nullable)error;
47+
#endif
48+
4149
/**
4250
* Initializes a new ad session context providing reference to partner and a list of
4351
* script resources which should be managed by OMID.
@@ -62,6 +70,7 @@ NS_ASSUME_NONNULL_BEGIN
6270
customReferenceIdentifier:(nullable NSString *)customReferenceIdentifier
6371
error:(NSError *_Nullable *_Nullable)error;
6472

73+
#if !(TARGET_OS_TV)
6574
/**
6675
* Initializes a new ad session context providing reference to partner and web view where
6776
* OM SDK JavaScript service has been injected.
@@ -83,6 +92,7 @@ NS_ASSUME_NONNULL_BEGIN
8392
contentUrl:(nullable NSString *)contentUrl
8493
customReferenceIdentifier:(nullable NSString *)customReferenceIdentifier
8594
error:(NSError *_Nullable *_Nullable)error;
95+
#endif
8696

8797
@end
8898

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
//
2+
// OMIDSDK.h
3+
// AppVerificationLibrary
4+
//
5+
// Created by Daria on 05/06/2017.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
NS_ASSUME_NONNULL_BEGIN;
11+
12+
/**
13+
* 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+
* Any attempt to use other API methods prior to activation will result in an error.
15+
*
16+
* Note that OM SDK may only be used on the main UI thread.
17+
* Make sure you are on the main thread when you initialize the SDK, create its
18+
* objects, and invoke its methods.
19+
*/
20+
@interface OMIDTeadstvSDK : NSObject
21+
22+
/**
23+
* The current semantic version of the integrated OMID library.
24+
*/
25+
+ (NSString *)versionString;
26+
27+
/**
28+
* Shared OMIDSDK instance.
29+
*/
30+
@property(class, readonly) OMIDTeadstvSDK *sharedInstance
31+
NS_SWIFT_NAME(shared);
32+
33+
/**
34+
* A Boolean value indicating whether OM SDK has been activated.
35+
*
36+
* @discussion Check that OM SDK is active prior to creating any ad sessions.
37+
*/
38+
@property(atomic, readonly, getter=isActive) BOOL active;
39+
40+
/**
41+
* Activate OM SDK before calling other API methods.
42+
*
43+
* @discussion Activation sets up the OM SDK environment. In CTV apps (running tvOS), `activate` should be called on launch in
44+
* order to capture a "last activity" timestamp on launch and each time the user foregrounds the app).
45+
*
46+
* @return Boolean indicating success.
47+
*/
48+
- (BOOL)activate;
49+
50+
/**
51+
* Update the last activity time
52+
* After activating OM SDK in CTV apps, refresh the "last activity" timestamp in response to user input prior to starting an ad session.
53+
*/
54+
- (void)updateLastActivity;
55+
56+
@end
57+
58+
NS_ASSUME_NONNULL_END;
Binary file not shown.

Frameworks/OMSDK_Teadstv.xcframework/ios-arm64_armv7/OMSDK_Teadstv.framework/Headers/OMIDSDK.h

-44
This file was deleted.

Frameworks/OMSDK_Teadstv.xcframework/ios-arm64_i386_x86_64-simulator/OMSDK_Teadstv.framework/Headers/OMIDSDK.h

-44
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
//
44

55
#import <UIKit/UIKit.h>
6+
7+
#if !(TARGET_OS_TV)
68
#import <WebKit/WebKit.h>
9+
#endif
10+
711
#import "OMIDPartner.h"
812
#import "OMIDVerificationScriptResource.h"
913

@@ -17,6 +21,8 @@ NS_ASSUME_NONNULL_BEGIN
1721

1822
- (null_unspecified instancetype)init NS_UNAVAILABLE;
1923

24+
#if !(TARGET_OS_TV)
25+
2026
/**
2127
* Initializes a new ad session context providing reference to partner and web view where
2228
* the OM SDK JavaScript service has been injected.
@@ -38,6 +44,8 @@ NS_ASSUME_NONNULL_BEGIN
3844
contentUrl:(nullable NSString *)contentUrl
3945
customReferenceIdentifier:(nullable NSString *)customReferenceIdentifier
4046
error:(NSError *_Nullable *_Nullable)error;
47+
#endif
48+
4149
/**
4250
* Initializes a new ad session context providing reference to partner and a list of
4351
* script resources which should be managed by OMID.
@@ -62,6 +70,7 @@ NS_ASSUME_NONNULL_BEGIN
6270
customReferenceIdentifier:(nullable NSString *)customReferenceIdentifier
6371
error:(NSError *_Nullable *_Nullable)error;
6472

73+
#if !(TARGET_OS_TV)
6574
/**
6675
* Initializes a new ad session context providing reference to partner and web view where
6776
* OM SDK JavaScript service has been injected.
@@ -83,6 +92,7 @@ NS_ASSUME_NONNULL_BEGIN
8392
contentUrl:(nullable NSString *)contentUrl
8493
customReferenceIdentifier:(nullable NSString *)customReferenceIdentifier
8594
error:(NSError *_Nullable *_Nullable)error;
95+
#endif
8696

8797
@end
8898

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
//
2+
// OMIDSDK.h
3+
// AppVerificationLibrary
4+
//
5+
// Created by Daria on 05/06/2017.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
NS_ASSUME_NONNULL_BEGIN;
11+
12+
/**
13+
* 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+
* Any attempt to use other API methods prior to activation will result in an error.
15+
*
16+
* Note that OM SDK may only be used on the main UI thread.
17+
* Make sure you are on the main thread when you initialize the SDK, create its
18+
* objects, and invoke its methods.
19+
*/
20+
@interface OMIDTeadstvSDK : NSObject
21+
22+
/**
23+
* The current semantic version of the integrated OMID library.
24+
*/
25+
+ (NSString *)versionString;
26+
27+
/**
28+
* Shared OMIDSDK instance.
29+
*/
30+
@property(class, readonly) OMIDTeadstvSDK *sharedInstance
31+
NS_SWIFT_NAME(shared);
32+
33+
/**
34+
* A Boolean value indicating whether OM SDK has been activated.
35+
*
36+
* @discussion Check that OM SDK is active prior to creating any ad sessions.
37+
*/
38+
@property(atomic, readonly, getter=isActive) BOOL active;
39+
40+
/**
41+
* Activate OM SDK before calling other API methods.
42+
*
43+
* @discussion Activation sets up the OM SDK environment. In CTV apps (running tvOS), `activate` should be called on launch in
44+
* order to capture a "last activity" timestamp on launch and each time the user foregrounds the app).
45+
*
46+
* @return Boolean indicating success.
47+
*/
48+
- (BOOL)activate;
49+
50+
/**
51+
* Update the last activity time
52+
* After activating OM SDK in CTV apps, refresh the "last activity" timestamp in response to user input prior to starting an ad session.
53+
*/
54+
- (void)updateLastActivity;
55+
56+
@end
57+
58+
NS_ASSUME_NONNULL_END;

0 commit comments

Comments
 (0)