Skip to content

Commit 8bcd922

Browse files
committed
new early access v5.0.1 version
1 parent aeaa73b commit 8bcd922

File tree

52 files changed

+613
-357
lines changed

Some content is hidden

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

52 files changed

+613
-357
lines changed

Frameworks/TeadsSDK.xcframework/Info.plist

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,32 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_i386_x86_64-simulator</string>
9+
<string>ios-arm64_armv7</string>
1010
<key>LibraryPath</key>
1111
<string>TeadsSDK.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15-
<string>i386</string>
16-
<string>x86_64</string>
15+
<string>armv7</string>
1716
</array>
1817
<key>SupportedPlatform</key>
1918
<string>ios</string>
20-
<key>SupportedPlatformVariant</key>
21-
<string>simulator</string>
2219
</dict>
2320
<dict>
2421
<key>LibraryIdentifier</key>
25-
<string>ios-arm64_armv7</string>
22+
<string>ios-arm64_i386_x86_64-simulator</string>
2623
<key>LibraryPath</key>
2724
<string>TeadsSDK.framework</string>
2825
<key>SupportedArchitectures</key>
2926
<array>
3027
<string>arm64</string>
31-
<string>armv7</string>
28+
<string>i386</string>
29+
<string>x86_64</string>
3230
</array>
3331
<key>SupportedPlatform</key>
3432
<string>ios</string>
33+
<key>SupportedPlatformVariant</key>
34+
<string>simulator</string>
3535
</dict>
3636
</array>
3737
<key>CFBundlePackageType</key>
Lines changed: 145 additions & 81 deletions
Large diffs are not rendered by default.
Lines changed: 150 additions & 85 deletions
Large diffs are not rendered by default.

Frameworks/TeadsSDK.xcframework/ios-arm64_armv7/TeadsSDK.framework/Headers/TeadsSDK-Swift.h

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK15TeadsAdDelegate_")
329329
/// returns:
330330
/// UIViewController to present viewController
331331
- (UIViewController * _Nullable)willPresentModalViewWithAd:(TeadsAd * _Nonnull)ad SWIFT_WARN_UNUSED_RESULT;
332+
@optional
332333
/// Called when the ad has encountered an issue, in this case you need to remove the slot or you will have a blank space
333334
/// /// - parameters:
334335
/// - ad: The teadsAd object
@@ -337,7 +338,7 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK15TeadsAdDelegate_")
337338
/// Called when the ad has been close, in this case you need to close the slot or you will have a blank space
338339
/// /// - parameters:
339340
/// - ad: The teadsAd object
340-
- (void)didCloseAdWithAd:(TeadsAd * _Nonnull)ad;
341+
- (void)didCloseWithAd:(TeadsAd * _Nonnull)ad;
341342
/// Called when Teads has recorded an impression for the current ad
342343
/// \param ad The teadsAd object
343344
///
@@ -346,6 +347,14 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK15TeadsAdDelegate_")
346347
/// \param ad The teadsAd object
347348
///
348349
- (void)didRecordClickWithAd:(TeadsAd * _Nonnull)ad;
350+
/// Called when ad is shown in fullscreen
351+
/// \param ad The TeadsAd object
352+
///
353+
- (void)didExpandedToFullscreenWithAd:(TeadsAd * _Nonnull)ad;
354+
/// Called when ad leaves the fullscreen mode
355+
/// \param ad The TeadsAd object
356+
///
357+
- (void)didCollapsedFromFullscreenWithAd:(TeadsAd * _Nonnull)ad;
349358
@end
350359

351360
@class NSCoder;
@@ -694,6 +703,9 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK18TeadsSoundDelegate_")
694703

695704

696705

706+
707+
708+
697709
SWIFT_CLASS("_TtC8TeadsSDK14VideoComponent")
698710
@interface VideoComponent : CommonComponent
699711
@end
@@ -1034,6 +1046,7 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK15TeadsAdDelegate_")
10341046
/// returns:
10351047
/// UIViewController to present viewController
10361048
- (UIViewController * _Nullable)willPresentModalViewWithAd:(TeadsAd * _Nonnull)ad SWIFT_WARN_UNUSED_RESULT;
1049+
@optional
10371050
/// Called when the ad has encountered an issue, in this case you need to remove the slot or you will have a blank space
10381051
/// /// - parameters:
10391052
/// - ad: The teadsAd object
@@ -1042,7 +1055,7 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK15TeadsAdDelegate_")
10421055
/// Called when the ad has been close, in this case you need to close the slot or you will have a blank space
10431056
/// /// - parameters:
10441057
/// - ad: The teadsAd object
1045-
- (void)didCloseAdWithAd:(TeadsAd * _Nonnull)ad;
1058+
- (void)didCloseWithAd:(TeadsAd * _Nonnull)ad;
10461059
/// Called when Teads has recorded an impression for the current ad
10471060
/// \param ad The teadsAd object
10481061
///
@@ -1051,6 +1064,14 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK15TeadsAdDelegate_")
10511064
/// \param ad The teadsAd object
10521065
///
10531066
- (void)didRecordClickWithAd:(TeadsAd * _Nonnull)ad;
1067+
/// Called when ad is shown in fullscreen
1068+
/// \param ad The TeadsAd object
1069+
///
1070+
- (void)didExpandedToFullscreenWithAd:(TeadsAd * _Nonnull)ad;
1071+
/// Called when ad leaves the fullscreen mode
1072+
/// \param ad The TeadsAd object
1073+
///
1074+
- (void)didCollapsedFromFullscreenWithAd:(TeadsAd * _Nonnull)ad;
10541075
@end
10551076

10561077
@class NSCoder;
@@ -1399,6 +1420,9 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK18TeadsSoundDelegate_")
13991420

14001421

14011422

1423+
1424+
1425+
14021426
SWIFT_CLASS("_TtC8TeadsSDK14VideoComponent")
14031427
@interface VideoComponent : CommonComponent
14041428
@end
-1 Bytes
Binary file not shown.
808 Bytes
Binary file not shown.

Frameworks/TeadsSDK.xcframework/ios-arm64_armv7/TeadsSDK.framework/Modules/TeadsSDK.swiftmodule/arm.swiftinterface

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,12 @@ extension TeadsInReadAd {
247247
}
248248
@objc public protocol TeadsAdDelegate : AnyObject {
249249
@objc func willPresentModalView(ad: TeadsSDK.TeadsAd) -> UIKit.UIViewController?
250-
@objc func didCatchError(ad: TeadsSDK.TeadsAd, error: Swift.Error)
251-
@objc func didCloseAd(ad: TeadsSDK.TeadsAd)
252-
@objc func didRecordImpression(ad: TeadsSDK.TeadsAd)
253-
@objc func didRecordClick(ad: TeadsSDK.TeadsAd)
250+
@objc optional func didCatchError(ad: TeadsSDK.TeadsAd, error: Swift.Error)
251+
@objc optional func didClose(ad: TeadsSDK.TeadsAd)
252+
@objc optional func didRecordImpression(ad: TeadsSDK.TeadsAd)
253+
@objc optional func didRecordClick(ad: TeadsSDK.TeadsAd)
254+
@objc optional func didExpandedToFullscreen(ad: TeadsSDK.TeadsAd)
255+
@objc optional func didCollapsedFromFullscreen(ad: TeadsSDK.TeadsAd)
254256
}
255257
@objc public protocol TeadsSoundDelegate {
256258
@objc func adStartPlayingAudio(_ ad: TeadsSDK.TeadsAd)
808 Bytes
Binary file not shown.

Frameworks/TeadsSDK.xcframework/ios-arm64_armv7/TeadsSDK.framework/Modules/TeadsSDK.swiftmodule/arm64-apple-ios.swiftinterface

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,12 @@ extension TeadsInReadAd {
247247
}
248248
@objc public protocol TeadsAdDelegate : AnyObject {
249249
@objc func willPresentModalView(ad: TeadsSDK.TeadsAd) -> UIKit.UIViewController?
250-
@objc func didCatchError(ad: TeadsSDK.TeadsAd, error: Swift.Error)
251-
@objc func didCloseAd(ad: TeadsSDK.TeadsAd)
252-
@objc func didRecordImpression(ad: TeadsSDK.TeadsAd)
253-
@objc func didRecordClick(ad: TeadsSDK.TeadsAd)
250+
@objc optional func didCatchError(ad: TeadsSDK.TeadsAd, error: Swift.Error)
251+
@objc optional func didClose(ad: TeadsSDK.TeadsAd)
252+
@objc optional func didRecordImpression(ad: TeadsSDK.TeadsAd)
253+
@objc optional func didRecordClick(ad: TeadsSDK.TeadsAd)
254+
@objc optional func didExpandedToFullscreen(ad: TeadsSDK.TeadsAd)
255+
@objc optional func didCollapsedFromFullscreen(ad: TeadsSDK.TeadsAd)
254256
}
255257
@objc public protocol TeadsSoundDelegate {
256258
@objc func adStartPlayingAudio(_ ad: TeadsSDK.TeadsAd)
808 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)