Skip to content

Commit 42f7f20

Browse files
author
J. Doe (https://devcenter.bitrise.io/builds/setting-your-git-credentials-on-build-machines/)
committed
Release 4.7.7
1 parent 8ae6c1d commit 42f7f20

39 files changed

+776
-576
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### v4.7.7
4+
_2020-09-09_
5+
- Fix issue https://github.com/teads/TeadsSDK-iOS/issues/128 \n- Improve performance management \n- Fix a rare case when some VPAID were not starting
6+
37
### v4.7.5
48
_2020-07-23_
59
- add method to resize view in mediation

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Teads SDK is currently distributed through CocoaPods. It include everything you
1515

1616
```
1717
target 'YourProject' do
18-
pod 'TeadsSDK', '4.7.5'
18+
pod 'TeadsSDK', '4.7.7'
1919
end
2020
```
2121

@@ -30,7 +30,7 @@ $ pod install --repo-update
3030
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate TeadsSDK into your Xcode project using Carthage, specify it in your `Cartfile`:
3131

3232
```ogdl
33-
github "teads/TeadsSDK-iOS" "4.7.5"
33+
github "teads/TeadsSDK-iOS" "4.7.7"
3434
```
3535

3636
## Integration Documentation

TeadsSDK.framework/0F0A3449-74BD-3C52-8D9E-0BEAF197B31D.bcsymbolmap renamed to TeadsSDK.framework/90CEE546-B7DD-3D45-A153-C963CDAAA77A.bcsymbolmap

Lines changed: 318 additions & 228 deletions
Large diffs are not rendered by default.

TeadsSDK.framework/Assets.car

0 Bytes
Binary file not shown.

TeadsSDK.framework/5885C6A3-F127-3636-AF71-2FB832B73D88.bcsymbolmap renamed to TeadsSDK.framework/F96DCE41-EF75-39D7-AB8E-0F3C195E3346.bcsymbolmap

Lines changed: 332 additions & 239 deletions
Large diffs are not rendered by default.

TeadsSDK.framework/Headers/TeadsSDK-Swift.h

Lines changed: 36 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,9 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK16TFASoundDelegate_")
540540

541541
SWIFT_CLASS("_TtC8TeadsSDK5Teads")
542542
@interface Teads : NSObject
543+
/// Current sdkVersion
544+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull sdkVersion;)
545+
+ (NSString * _Nonnull)sdkVersion SWIFT_WARN_UNUSED_RESULT;
543546
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
544547
@end
545548

@@ -685,23 +688,21 @@ SWIFT_CLASS("_TtC8TeadsSDK14TeadsMediaView")
685688
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
686689
@end
687690

688-
689-
690691
@class TeadsNativeAsset;
691692

692693
@interface TeadsMediaView (SWIFT_EXTENSION(TeadsSDK))
693694
+ (TeadsMediaView * _Nonnull)fromAssetWithAsset:(TeadsNativeAsset * _Nonnull)asset SWIFT_WARN_UNUSED_RESULT;
694-
- (void)addImageFromUrl:(NSString * _Nonnull)url;
695695
@end
696696

697+
@class TeadsNativeImageAsset;
697698
@protocol TeadsNativeAdDelegate;
698699

699700
SWIFT_CLASS("_TtC8TeadsSDK13TeadsNativeAd")
700701
@interface TeadsNativeAd : NSObject
701702
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable title;
702703
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable content;
703-
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable imageUrl;
704-
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable iconUrl;
704+
@property (nonatomic, readonly, strong) TeadsNativeImageAsset * _Nullable imageUrl;
705+
@property (nonatomic, readonly, strong) TeadsNativeImageAsset * _Nullable iconUrl;
705706
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable sponsored;
706707
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable callToAction;
707708
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable video;
@@ -785,6 +786,9 @@ SWIFT_CLASS("_TtC8TeadsSDK16TeadsNativeAsset")
785786
@end
786787

787788

789+
SWIFT_CLASS("_TtC8TeadsSDK21TeadsNativeImageAsset")
790+
@interface TeadsNativeImageAsset : TeadsNativeAsset
791+
@end
788792

789793

790794

@@ -793,9 +797,6 @@ SWIFT_CLASS("_TtC8TeadsSDK16TeadsNativeAsset")
793797

794798

795799

796-
@interface UIImage (SWIFT_EXTENSION(TeadsSDK))
797-
+ (void)loadSyncWithUrl:(NSString * _Nonnull)url callback:(void (^ _Nonnull)(UIImage * _Nonnull))callback;
798-
@end
799800

800801

801802

@@ -1357,6 +1358,9 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK16TFASoundDelegate_")
13571358

13581359
SWIFT_CLASS("_TtC8TeadsSDK5Teads")
13591360
@interface Teads : NSObject
1361+
/// Current sdkVersion
1362+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull sdkVersion;)
1363+
+ (NSString * _Nonnull)sdkVersion SWIFT_WARN_UNUSED_RESULT;
13601364
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
13611365
@end
13621366

@@ -1502,23 +1506,21 @@ SWIFT_CLASS("_TtC8TeadsSDK14TeadsMediaView")
15021506
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
15031507
@end
15041508

1505-
1506-
15071509
@class TeadsNativeAsset;
15081510

15091511
@interface TeadsMediaView (SWIFT_EXTENSION(TeadsSDK))
15101512
+ (TeadsMediaView * _Nonnull)fromAssetWithAsset:(TeadsNativeAsset * _Nonnull)asset SWIFT_WARN_UNUSED_RESULT;
1511-
- (void)addImageFromUrl:(NSString * _Nonnull)url;
15121513
@end
15131514

1515+
@class TeadsNativeImageAsset;
15141516
@protocol TeadsNativeAdDelegate;
15151517

15161518
SWIFT_CLASS("_TtC8TeadsSDK13TeadsNativeAd")
15171519
@interface TeadsNativeAd : NSObject
15181520
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable title;
15191521
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable content;
1520-
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable imageUrl;
1521-
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable iconUrl;
1522+
@property (nonatomic, readonly, strong) TeadsNativeImageAsset * _Nullable imageUrl;
1523+
@property (nonatomic, readonly, strong) TeadsNativeImageAsset * _Nullable iconUrl;
15221524
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable sponsored;
15231525
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable callToAction;
15241526
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable video;
@@ -1602,6 +1604,9 @@ SWIFT_CLASS("_TtC8TeadsSDK16TeadsNativeAsset")
16021604
@end
16031605

16041606

1607+
SWIFT_CLASS("_TtC8TeadsSDK21TeadsNativeImageAsset")
1608+
@interface TeadsNativeImageAsset : TeadsNativeAsset
1609+
@end
16051610

16061611

16071612

@@ -1610,9 +1615,6 @@ SWIFT_CLASS("_TtC8TeadsSDK16TeadsNativeAsset")
16101615

16111616

16121617

1613-
@interface UIImage (SWIFT_EXTENSION(TeadsSDK))
1614-
+ (void)loadSyncWithUrl:(NSString * _Nonnull)url callback:(void (^ _Nonnull)(UIImage * _Nonnull))callback;
1615-
@end
16161618

16171619

16181620

@@ -2178,6 +2180,9 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK16TFASoundDelegate_")
21782180

21792181
SWIFT_CLASS("_TtC8TeadsSDK5Teads")
21802182
@interface Teads : NSObject
2183+
/// Current sdkVersion
2184+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull sdkVersion;)
2185+
+ (NSString * _Nonnull)sdkVersion SWIFT_WARN_UNUSED_RESULT;
21812186
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
21822187
@end
21832188

@@ -2323,23 +2328,21 @@ SWIFT_CLASS("_TtC8TeadsSDK14TeadsMediaView")
23232328
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
23242329
@end
23252330

2326-
2327-
23282331
@class TeadsNativeAsset;
23292332

23302333
@interface TeadsMediaView (SWIFT_EXTENSION(TeadsSDK))
23312334
+ (TeadsMediaView * _Nonnull)fromAssetWithAsset:(TeadsNativeAsset * _Nonnull)asset SWIFT_WARN_UNUSED_RESULT;
2332-
- (void)addImageFromUrl:(NSString * _Nonnull)url;
23332335
@end
23342336

2337+
@class TeadsNativeImageAsset;
23352338
@protocol TeadsNativeAdDelegate;
23362339

23372340
SWIFT_CLASS("_TtC8TeadsSDK13TeadsNativeAd")
23382341
@interface TeadsNativeAd : NSObject
23392342
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable title;
23402343
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable content;
2341-
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable imageUrl;
2342-
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable iconUrl;
2344+
@property (nonatomic, readonly, strong) TeadsNativeImageAsset * _Nullable imageUrl;
2345+
@property (nonatomic, readonly, strong) TeadsNativeImageAsset * _Nullable iconUrl;
23432346
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable sponsored;
23442347
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable callToAction;
23452348
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable video;
@@ -2423,6 +2426,9 @@ SWIFT_CLASS("_TtC8TeadsSDK16TeadsNativeAsset")
24232426
@end
24242427

24252428

2429+
SWIFT_CLASS("_TtC8TeadsSDK21TeadsNativeImageAsset")
2430+
@interface TeadsNativeImageAsset : TeadsNativeAsset
2431+
@end
24262432

24272433

24282434

@@ -2431,9 +2437,6 @@ SWIFT_CLASS("_TtC8TeadsSDK16TeadsNativeAsset")
24312437

24322438

24332439

2434-
@interface UIImage (SWIFT_EXTENSION(TeadsSDK))
2435-
+ (void)loadSyncWithUrl:(NSString * _Nonnull)url callback:(void (^ _Nonnull)(UIImage * _Nonnull))callback;
2436-
@end
24372440

24382441

24392442

@@ -2995,6 +2998,9 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK16TFASoundDelegate_")
29952998

29962999
SWIFT_CLASS("_TtC8TeadsSDK5Teads")
29973000
@interface Teads : NSObject
3001+
/// Current sdkVersion
3002+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull sdkVersion;)
3003+
+ (NSString * _Nonnull)sdkVersion SWIFT_WARN_UNUSED_RESULT;
29983004
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
29993005
@end
30003006

@@ -3140,23 +3146,21 @@ SWIFT_CLASS("_TtC8TeadsSDK14TeadsMediaView")
31403146
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
31413147
@end
31423148

3143-
3144-
31453149
@class TeadsNativeAsset;
31463150

31473151
@interface TeadsMediaView (SWIFT_EXTENSION(TeadsSDK))
31483152
+ (TeadsMediaView * _Nonnull)fromAssetWithAsset:(TeadsNativeAsset * _Nonnull)asset SWIFT_WARN_UNUSED_RESULT;
3149-
- (void)addImageFromUrl:(NSString * _Nonnull)url;
31503153
@end
31513154

3155+
@class TeadsNativeImageAsset;
31523156
@protocol TeadsNativeAdDelegate;
31533157

31543158
SWIFT_CLASS("_TtC8TeadsSDK13TeadsNativeAd")
31553159
@interface TeadsNativeAd : NSObject
31563160
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable title;
31573161
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable content;
3158-
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable imageUrl;
3159-
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable iconUrl;
3162+
@property (nonatomic, readonly, strong) TeadsNativeImageAsset * _Nullable imageUrl;
3163+
@property (nonatomic, readonly, strong) TeadsNativeImageAsset * _Nullable iconUrl;
31603164
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable sponsored;
31613165
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable callToAction;
31623166
@property (nonatomic, readonly, strong) TeadsNativeAsset * _Nullable video;
@@ -3240,6 +3244,9 @@ SWIFT_CLASS("_TtC8TeadsSDK16TeadsNativeAsset")
32403244
@end
32413245

32423246

3247+
SWIFT_CLASS("_TtC8TeadsSDK21TeadsNativeImageAsset")
3248+
@interface TeadsNativeImageAsset : TeadsNativeAsset
3249+
@end
32433250

32443251

32453252

@@ -3248,9 +3255,6 @@ SWIFT_CLASS("_TtC8TeadsSDK16TeadsNativeAsset")
32483255

32493256

32503257

3251-
@interface UIImage (SWIFT_EXTENSION(TeadsSDK))
3252-
+ (void)loadSyncWithUrl:(NSString * _Nonnull)url callback:(void (^ _Nonnull)(UIImage * _Nonnull))callback;
3253-
@end
32543258

32553259

32563260

TeadsSDK.framework/Info.plist

0 Bytes
Binary file not shown.
12 Bytes
Binary file not shown.

TeadsSDK.framework/Modules/TeadsSDK.swiftmodule/arm.swiftinterface

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import WebKit
2424
}
2525
extension TeadsMediaView {
2626
@objc public static func fromAsset(asset: TeadsSDK.TeadsNativeAsset) -> TeadsSDK.TeadsMediaView
27-
@objc dynamic public func addImage(fromUrl url: Swift.String)
2827
}
2928
@objc public class TeadsAdSettings : ObjectiveC.NSObject, Swift.Codable {
3029
public static let integrationAdmob: Swift.String
@@ -243,9 +242,6 @@ extension UIView {
243242
@objc public func adBrowserDidClose(_ ad: TeadsSDK.TFAAdView)
244243
@objc override dynamic public init()
245244
}
246-
extension UIImage {
247-
@objc public static func loadSync(url: Swift.String, callback: @escaping (UIKit.UIImage) -> Swift.Void)
248-
}
249245
@objc public enum TCFVersion : Swift.Int, Swift.Codable {
250246
case v1 = 1
251247
case v2 = 2
@@ -255,6 +251,11 @@ extension UIImage {
255251
get
256252
}
257253
}
254+
@objc public class TeadsNativeImageAsset : TeadsSDK.TeadsNativeAsset {
255+
required public init(from decoder: Swift.Decoder) throws
256+
public func loadImage(async: Swift.Bool = true, success: ((UIKit.UIImage) -> Swift.Void)? = nil, failure: ((Swift.Error) -> Swift.Void)? = nil)
257+
@objc deinit
258+
}
258259
extension Dictionary where Key == Swift.String, Value == Swift.String {
259260
public typealias RawValue = Swift.String
260261
public init?(_ description: Swift.String)
@@ -328,8 +329,8 @@ extension Dictionary where Key == Swift.String, Value == Swift.String {
328329
@objc public class TeadsNativeAd : ObjectiveC.NSObject {
329330
@objc final public let title: TeadsSDK.TeadsNativeAsset?
330331
@objc final public let content: TeadsSDK.TeadsNativeAsset?
331-
@objc final public let imageUrl: TeadsSDK.TeadsNativeAsset?
332-
@objc final public let iconUrl: TeadsSDK.TeadsNativeAsset?
332+
@objc final public let imageUrl: TeadsSDK.TeadsNativeImageAsset?
333+
@objc final public let iconUrl: TeadsSDK.TeadsNativeImageAsset?
333334
@objc final public let sponsored: TeadsSDK.TeadsNativeAsset?
334335
@objc final public let callToAction: TeadsSDK.TeadsNativeAsset?
335336
@objc final public let video: TeadsSDK.TeadsNativeAsset?
@@ -346,8 +347,8 @@ extension Dictionary where Key == Swift.String, Value == Swift.String {
346347
@objc override dynamic public init()
347348
}
348349
@objc public class Teads : ObjectiveC.NSObject {
349-
public static var sdkVersion: Swift.String {
350-
get
350+
@objc public static var sdkVersion: Swift.String {
351+
@objc get
351352
}
352353
@objc override dynamic public init()
353354
@objc deinit
4.01 KB
Binary file not shown.

0 commit comments

Comments
 (0)