Skip to content

Commit 93d7ba5

Browse files
v2.7.16
1 parent f6bcbe1 commit 93d7ba5

File tree

10 files changed

+15
-8
lines changed

10 files changed

+15
-8
lines changed

CHANGELOG.md

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

3+
v2.7.16
4+
- Add support for brandsafety. If you have news content in your app, you should use `[self.teadsAd setPageUrl:@"https://news.com/myArticle"];` where the url is you equivalent http url of your article. More information [http://mobile.teads.tv/sdk/documentation/ios/integration/inread-ios#a-init-your-teads-ad]()
35
v2.7.15
46
- Fix regarding changes in Apple guidelines for using UIStatusBarDataNetworkItemView
57

TeadsSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "TeadsSDK"
4-
s.version = "2.7.15"
4+
s.version = "2.7.16"
55
s.summary = "Teads' iOS SDK"
66

77
s.description = <<-DESC

TeadsSDKDemo/AppDelegate.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
2222

2323
if (![[NSUserDefaults standardUserDefaults] stringForKey:@"pid"]) {
2424
/** /!\ /!\ /!\
25-
* WARNING: Don't use this PID (54934) in production. Contact your Publisher Manager to obtain your own dedicated PID
25+
* WARNING: Don't use this PID (84242) in production. Contact your Publisher Manager to obtain your own dedicated PID
2626
* /!\ /!\ /!\
2727
*/
28-
[[NSUserDefaults standardUserDefaults] setObject:@"54934" forKey:@"pid"];
28+
[[NSUserDefaults standardUserDefaults] setObject:@"84242" forKey:@"pid"];
2929
}
3030
if (![[NSUserDefaults standardUserDefaults] stringForKey:@"website"]) {
3131
[[NSUserDefaults standardUserDefaults] setObject:@"Default demo website" forKey:@"website"];

TeadsSDKDemo/Intern/DemoUtils.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ +(void)presentControllerToChangePid:(id)controller {
2121
textField.clearButtonMode = UITextFieldViewModeWhileEditing;
2222

2323
/** /!\ /!\ /!\
24-
* WARNING: Don't use this PID (54934) in production. Contact your Publisher Manager to obtain your own dedicated PID
24+
* WARNING: Don't use this PID (84242) in production. Contact your Publisher Manager to obtain your own dedicated PID
2525
* /!\ /!\ /!\
2626
*/
27-
textField.placeholder = @"54934";
28-
if (![[[NSUserDefaults standardUserDefaults] stringForKey:@"pid"] isEqual:@"54934"]) {
27+
textField.placeholder = @"84242";
28+
if (![[[NSUserDefaults standardUserDefaults] stringForKey:@"pid"] isEqual:@"84242"]) {
2929
textField.text = [[NSUserDefaults standardUserDefaults] stringForKey:@"pid"];
3030
}
3131
}];
@@ -39,10 +39,10 @@ +(void)presentControllerToChangePid:(id)controller {
3939
[[NSUserDefaults standardUserDefaults] setObject:alert.textFields.firstObject.text forKey:@"pid"];;
4040
} else {
4141
/** /!\ /!\ /!\
42-
* WARNING: Don't use this PID (54934) in production. Contact your Publisher Manager to obtain your own dedicated PID
42+
* WARNING: Don't use this PID (84242) in production. Contact your Publisher Manager to obtain your own dedicated PID
4343
* /!\ /!\ /!\
4444
*/
45-
[[NSUserDefaults standardUserDefaults] setObject:@"54934" forKey:@"pid"];;
45+
[[NSUserDefaults standardUserDefaults] setObject:@"84242" forKey:@"pid"];;
4646
}
4747
[alert dismissViewControllerAnimated:YES completion:nil];
4848
}];
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

TeadsSDKDemo/TeadsSDK.framework/Versions/A/Headers/TeadsAd.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,11 @@ typedef NS_ENUM(NSInteger, TeadsAdPlayerColorMode) {
249249
*/
250250
- (void)reinjectTeadsInWebView;
251251

252+
/*
253+
* The publisher http page url that matches the content where Teads Ad will be loaded into.
254+
*/
255+
- (void)setPageUrl:(NSString *)contentUrl;
256+
252257
/**
253258
* Load Teads Ad
254259
*/
22.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)