Skip to content

Commit

Permalink
Release new version: 5.0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
runner authored and runner committed Mar 30, 2023
1 parent a04693f commit 85b174f
Show file tree
Hide file tree
Showing 30 changed files with 104 additions and 122 deletions.
14 changes: 7 additions & 7 deletions Frameworks/TeadsSDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>TeadsSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>TeadsSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ typedef SWIFT_ENUM(NSInteger, AdErrorCode, open) {
SWIFT_CLASS("_TtC8TeadsSDK12AdFailReason")
@interface AdFailReason : NSObject
/// Error code enumeration value
@property (nonatomic) enum AdErrorCode code;
@property (nonatomic, readonly) enum AdErrorCode code;
/// Request identifier allows you to match with the returned value from <code>placement.requestAd()</code> call
@property (nonatomic, readonly, copy) NSUUID * _Null_unspecified requestIdentifier;
/// Contains <code>AdErrorCode</code> and error message, prefer use of <code>localizedDescription</code>
Expand Down Expand Up @@ -327,6 +327,10 @@ SWIFT_CLASS("_TtC8TeadsSDK14ImageComponent")
/// \param failure failure will be called when image loading has failed: can fail for multiple reasong connectivity, resource unavailable, …
///
- (void)loadImageWithAsync:(BOOL)async success:(void (^ _Nullable)(UIImage * _Nonnull))success failure:(void (^ _Nullable)(NSError * _Nonnull))failure;
/// load Image synchronously, prefer using <code>ImageComponent/loadImage(async:success:failure:)</code> instead
/// warning:
/// this computed var is blocking thread execution in order to download image data.
@property (nonatomic, readonly, strong) UIImage * _Nullable image;
@end

/// A flag used to determine how TeadsMediaView lays out its content when its bounds change.
Expand Down Expand Up @@ -1432,7 +1436,7 @@ typedef SWIFT_ENUM(NSInteger, AdErrorCode, open) {
SWIFT_CLASS("_TtC8TeadsSDK12AdFailReason")
@interface AdFailReason : NSObject
/// Error code enumeration value
@property (nonatomic) enum AdErrorCode code;
@property (nonatomic, readonly) enum AdErrorCode code;
/// Request identifier allows you to match with the returned value from <code>placement.requestAd()</code> call
@property (nonatomic, readonly, copy) NSUUID * _Null_unspecified requestIdentifier;
/// Contains <code>AdErrorCode</code> and error message, prefer use of <code>localizedDescription</code>
Expand Down Expand Up @@ -1474,6 +1478,10 @@ SWIFT_CLASS("_TtC8TeadsSDK14ImageComponent")
/// \param failure failure will be called when image loading has failed: can fail for multiple reasong connectivity, resource unavailable, …
///
- (void)loadImageWithAsync:(BOOL)async success:(void (^ _Nullable)(UIImage * _Nonnull))success failure:(void (^ _Nullable)(NSError * _Nonnull))failure;
/// load Image synchronously, prefer using <code>ImageComponent/loadImage(async:success:failure:)</code> instead
/// warning:
/// this computed var is blocking thread execution in order to download image data.
@property (nonatomic, readonly, strong) UIImage * _Nullable image;
@end

/// A flag used to determine how TeadsMediaView lays out its content when its bounds change.
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,8 @@ internal protocol AnyEncodableProtocol {
final public var hasSubscribedToAdResizing: Swift.Bool {
get
}
final public var adRequestSettings: TeadsSDK.TeadsAdRequestSettings {
get
}
final public var adPlacementSettings: TeadsSDK.TeadsAdPlacementSettings {
get
}
final public let adRequestSettings: TeadsSDK.TeadsAdRequestSettings
final public let adPlacementSettings: TeadsSDK.TeadsAdPlacementSettings
@objc final public var mediaScale: TeadsSDK.MediaScale {
@objc get
}
Expand Down Expand Up @@ -222,8 +218,8 @@ extension UIKit.UIButton {
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class ImageComponent : TeadsSDK.CommonComponent {
final public let url: Foundation.URL
@objc final public func loadImage(async: Swift.Bool = true, success: ((UIKit.UIImage) -> Swift.Void)?, failure: ((Swift.Error) -> Swift.Void)? = nil)
final public var image: UIKit.UIImage? {
get
@objc final public var image: UIKit.UIImage? {
@objc get
}
@objc deinit
}
Expand Down Expand Up @@ -381,7 +377,7 @@ extension TeadsSDK.CommonComponent {
}
}
@_hasMissingDesignatedInitializers @objc final public class AdFailReason : ObjectiveC.NSObject {
@objc final public var code: TeadsSDK.AdErrorCode
@objc final public let code: TeadsSDK.AdErrorCode
@objc final public var requestIdentifier: Foundation.UUID! {
get
}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,8 @@ internal protocol AnyEncodableProtocol {
final public var hasSubscribedToAdResizing: Swift.Bool {
get
}
final public var adRequestSettings: TeadsSDK.TeadsAdRequestSettings {
get
}
final public var adPlacementSettings: TeadsSDK.TeadsAdPlacementSettings {
get
}
final public let adRequestSettings: TeadsSDK.TeadsAdRequestSettings
final public let adPlacementSettings: TeadsSDK.TeadsAdPlacementSettings
@objc final public var mediaScale: TeadsSDK.MediaScale {
@objc get
}
Expand Down Expand Up @@ -222,8 +218,8 @@ extension UIKit.UIButton {
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class ImageComponent : TeadsSDK.CommonComponent {
final public let url: Foundation.URL
@objc final public func loadImage(async: Swift.Bool = true, success: ((UIKit.UIImage) -> Swift.Void)?, failure: ((Swift.Error) -> Swift.Void)? = nil)
final public var image: UIKit.UIImage? {
get
@objc final public var image: UIKit.UIImage? {
@objc get
}
@objc deinit
}
Expand Down Expand Up @@ -381,7 +377,7 @@ extension TeadsSDK.CommonComponent {
}
}
@_hasMissingDesignatedInitializers @objc final public class AdFailReason : ObjectiveC.NSObject {
@objc final public var code: TeadsSDK.AdErrorCode
@objc final public let code: TeadsSDK.AdErrorCode
@objc final public var requestIdentifier: Foundation.UUID! {
get
}
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
window.webkit.messageHandlers.notifyPlayerEvent.postMessage(jsonEventString);
};

window.adPlayerOutput.setFixedBackgroundImage = function setFixedBackgroundImage(imageSrc) {
const message = JSON.stringify({"mediaUrl": imageSrc})
window.adPlayerOutput.setFixedBackgroundImage = function setFixedBackgroundImage(imageSrc, timeout) {
const message = JSON.stringify({"mediaUrl": imageSrc, "timeoutMilliseconds": timeout})
window.webkit.messageHandlers.setFixedBackgroundImage.postMessage(message);
};
})();
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ typedef SWIFT_ENUM(NSInteger, AdErrorCode, open) {
SWIFT_CLASS("_TtC8TeadsSDK12AdFailReason")
@interface AdFailReason : NSObject
/// Error code enumeration value
@property (nonatomic) enum AdErrorCode code;
@property (nonatomic, readonly) enum AdErrorCode code;
/// Request identifier allows you to match with the returned value from <code>placement.requestAd()</code> call
@property (nonatomic, readonly, copy) NSUUID * _Null_unspecified requestIdentifier;
/// Contains <code>AdErrorCode</code> and error message, prefer use of <code>localizedDescription</code>
Expand Down Expand Up @@ -327,6 +327,10 @@ SWIFT_CLASS("_TtC8TeadsSDK14ImageComponent")
/// \param failure failure will be called when image loading has failed: can fail for multiple reasong connectivity, resource unavailable, …
///
- (void)loadImageWithAsync:(BOOL)async success:(void (^ _Nullable)(UIImage * _Nonnull))success failure:(void (^ _Nullable)(NSError * _Nonnull))failure;
/// load Image synchronously, prefer using <code>ImageComponent/loadImage(async:success:failure:)</code> instead
/// warning:
/// this computed var is blocking thread execution in order to download image data.
@property (nonatomic, readonly, strong) UIImage * _Nullable image;
@end

/// A flag used to determine how TeadsMediaView lays out its content when its bounds change.
Expand Down Expand Up @@ -1432,7 +1436,7 @@ typedef SWIFT_ENUM(NSInteger, AdErrorCode, open) {
SWIFT_CLASS("_TtC8TeadsSDK12AdFailReason")
@interface AdFailReason : NSObject
/// Error code enumeration value
@property (nonatomic) enum AdErrorCode code;
@property (nonatomic, readonly) enum AdErrorCode code;
/// Request identifier allows you to match with the returned value from <code>placement.requestAd()</code> call
@property (nonatomic, readonly, copy) NSUUID * _Null_unspecified requestIdentifier;
/// Contains <code>AdErrorCode</code> and error message, prefer use of <code>localizedDescription</code>
Expand Down Expand Up @@ -1474,6 +1478,10 @@ SWIFT_CLASS("_TtC8TeadsSDK14ImageComponent")
/// \param failure failure will be called when image loading has failed: can fail for multiple reasong connectivity, resource unavailable, …
///
- (void)loadImageWithAsync:(BOOL)async success:(void (^ _Nullable)(UIImage * _Nonnull))success failure:(void (^ _Nullable)(NSError * _Nonnull))failure;
/// load Image synchronously, prefer using <code>ImageComponent/loadImage(async:success:failure:)</code> instead
/// warning:
/// this computed var is blocking thread execution in order to download image data.
@property (nonatomic, readonly, strong) UIImage * _Nullable image;
@end

/// A flag used to determine how TeadsMediaView lays out its content when its bounds change.
Expand Down Expand Up @@ -2579,7 +2587,7 @@ typedef SWIFT_ENUM(NSInteger, AdErrorCode, open) {
SWIFT_CLASS("_TtC8TeadsSDK12AdFailReason")
@interface AdFailReason : NSObject
/// Error code enumeration value
@property (nonatomic) enum AdErrorCode code;
@property (nonatomic, readonly) enum AdErrorCode code;
/// Request identifier allows you to match with the returned value from <code>placement.requestAd()</code> call
@property (nonatomic, readonly, copy) NSUUID * _Null_unspecified requestIdentifier;
/// Contains <code>AdErrorCode</code> and error message, prefer use of <code>localizedDescription</code>
Expand Down Expand Up @@ -2621,6 +2629,10 @@ SWIFT_CLASS("_TtC8TeadsSDK14ImageComponent")
/// \param failure failure will be called when image loading has failed: can fail for multiple reasong connectivity, resource unavailable, …
///
- (void)loadImageWithAsync:(BOOL)async success:(void (^ _Nullable)(UIImage * _Nonnull))success failure:(void (^ _Nullable)(NSError * _Nonnull))failure;
/// load Image synchronously, prefer using <code>ImageComponent/loadImage(async:success:failure:)</code> instead
/// warning:
/// this computed var is blocking thread execution in order to download image data.
@property (nonatomic, readonly, strong) UIImage * _Nullable image;
@end

/// A flag used to determine how TeadsMediaView lays out its content when its bounds change.
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,8 @@ internal protocol AnyEncodableProtocol {
final public var hasSubscribedToAdResizing: Swift.Bool {
get
}
final public var adRequestSettings: TeadsSDK.TeadsAdRequestSettings {
get
}
final public var adPlacementSettings: TeadsSDK.TeadsAdPlacementSettings {
get
}
final public let adRequestSettings: TeadsSDK.TeadsAdRequestSettings
final public let adPlacementSettings: TeadsSDK.TeadsAdPlacementSettings
@objc final public var mediaScale: TeadsSDK.MediaScale {
@objc get
}
Expand Down Expand Up @@ -222,8 +218,8 @@ extension UIKit.UIButton {
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class ImageComponent : TeadsSDK.CommonComponent {
final public let url: Foundation.URL
@objc final public func loadImage(async: Swift.Bool = true, success: ((UIKit.UIImage) -> Swift.Void)?, failure: ((Swift.Error) -> Swift.Void)? = nil)
final public var image: UIKit.UIImage? {
get
@objc final public var image: UIKit.UIImage? {
@objc get
}
@objc deinit
}
Expand Down Expand Up @@ -381,7 +377,7 @@ extension TeadsSDK.CommonComponent {
}
}
@_hasMissingDesignatedInitializers @objc final public class AdFailReason : ObjectiveC.NSObject {
@objc final public var code: TeadsSDK.AdErrorCode
@objc final public let code: TeadsSDK.AdErrorCode
@objc final public var requestIdentifier: Foundation.UUID! {
get
}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,8 @@ internal protocol AnyEncodableProtocol {
final public var hasSubscribedToAdResizing: Swift.Bool {
get
}
final public var adRequestSettings: TeadsSDK.TeadsAdRequestSettings {
get
}
final public var adPlacementSettings: TeadsSDK.TeadsAdPlacementSettings {
get
}
final public let adRequestSettings: TeadsSDK.TeadsAdRequestSettings
final public let adPlacementSettings: TeadsSDK.TeadsAdPlacementSettings
@objc final public var mediaScale: TeadsSDK.MediaScale {
@objc get
}
Expand Down Expand Up @@ -222,8 +218,8 @@ extension UIKit.UIButton {
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class ImageComponent : TeadsSDK.CommonComponent {
final public let url: Foundation.URL
@objc final public func loadImage(async: Swift.Bool = true, success: ((UIKit.UIImage) -> Swift.Void)?, failure: ((Swift.Error) -> Swift.Void)? = nil)
final public var image: UIKit.UIImage? {
get
@objc final public var image: UIKit.UIImage? {
@objc get
}
@objc deinit
}
Expand Down Expand Up @@ -381,7 +377,7 @@ extension TeadsSDK.CommonComponent {
}
}
@_hasMissingDesignatedInitializers @objc final public class AdFailReason : ObjectiveC.NSObject {
@objc final public var code: TeadsSDK.AdErrorCode
@objc final public let code: TeadsSDK.AdErrorCode
@objc final public var requestIdentifier: Foundation.UUID! {
get
}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,8 @@ internal protocol AnyEncodableProtocol {
final public var hasSubscribedToAdResizing: Swift.Bool {
get
}
final public var adRequestSettings: TeadsSDK.TeadsAdRequestSettings {
get
}
final public var adPlacementSettings: TeadsSDK.TeadsAdPlacementSettings {
get
}
final public let adRequestSettings: TeadsSDK.TeadsAdRequestSettings
final public let adPlacementSettings: TeadsSDK.TeadsAdPlacementSettings
@objc final public var mediaScale: TeadsSDK.MediaScale {
@objc get
}
Expand Down Expand Up @@ -222,8 +218,8 @@ extension UIKit.UIButton {
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class ImageComponent : TeadsSDK.CommonComponent {
final public let url: Foundation.URL
@objc final public func loadImage(async: Swift.Bool = true, success: ((UIKit.UIImage) -> Swift.Void)?, failure: ((Swift.Error) -> Swift.Void)? = nil)
final public var image: UIKit.UIImage? {
get
@objc final public var image: UIKit.UIImage? {
@objc get
}
@objc deinit
}
Expand Down Expand Up @@ -381,7 +377,7 @@ extension TeadsSDK.CommonComponent {
}
}
@_hasMissingDesignatedInitializers @objc final public class AdFailReason : ObjectiveC.NSObject {
@objc final public var code: TeadsSDK.AdErrorCode
@objc final public let code: TeadsSDK.AdErrorCode
@objc final public var requestIdentifier: Foundation.UUID! {
get
}
Expand Down
Binary file not shown.
Loading

0 comments on commit 85b174f

Please sign in to comment.