diff --git a/Cartfile b/Cartfile
index 23cc13e1..fd729c42 100644
--- a/Cartfile
+++ b/Cartfile
@@ -1,3 +1,4 @@
-github "SRGSSR/SRGMediaPlayer-iOS" "2.0.3"
-github "SRGSSR/srgdataprovider-ios" "5.4"
+github "SRGSSR/SRGMediaPlayer-iOS" "2.0.4"
+github "SRGSSR/srgdataprovider-ios" "5.4.1"
+github "SRGSSR/tagcommander-ios" "4.1.3_4.1.1"
github "comScore/ComScore-iOS-SDK" "92f34897cd7659d56bb5a3e9e85b808cf3758bda"
\ No newline at end of file
diff --git a/Cartfile.resolved b/Cartfile.resolved
index 918dad9e..b7ad4e81 100644
--- a/Cartfile.resolved
+++ b/Cartfile.resolved
@@ -1,8 +1,9 @@
github "Mantle/Mantle" "2.1.0"
github "SRGSSR/MAKVONotificationCenter" "4a127e52997889729286510103f7e27100223730"
-github "SRGSSR/SRGMediaPlayer-iOS" "2.0.3"
+github "SRGSSR/SRGMediaPlayer-iOS" "2.0.4"
github "SRGSSR/libextobjc" "cf5eb0c8a2f6f85636f1fb6a1f2083cbc74899f9"
-github "SRGSSR/srgdataprovider-ios" "5.4"
+github "SRGSSR/srgdataprovider-ios" "5.4.1"
github "SRGSSR/srglogger-ios" "1.0"
+github "SRGSSR/tagcommander-ios" "4.1.3_4.1.1"
github "comScore/ComScore-iOS-SDK" "92f34897cd7659d56bb5a3e9e85b808cf3758bda"
github "kif-framework/KIF" "v3.5.2"
diff --git a/Demo/Info.plist b/Demo/Info.plist
index 730c9deb..4707844f 100644
--- a/Demo/Info.plist
+++ b/Demo/Info.plist
@@ -46,5 +46,33 @@
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight
+ LSApplicationQueriesSchemes
+
+ srgtraffic
+ srf
+ srfsport
+ srfplayer
+ srfmeteo
+ srfradio3
+ srfvirus
+ srfjass
+ rtsinfo
+ rtssport
+ playrts
+ couleur3
+ dtqc3
+ rtsradio
+ rsinews
+ rsisport
+ playrsi
+ rsich
+ rsiibazaar
+ rsizerovero
+ rsipeo
+ playrtr
+ ch.swissinfo.news
+ playswi
+ tvsvizzera
+
diff --git a/Demo/Resources/LaunchScreen.xib b/Demo/Resources/LaunchScreen.xib
index 3878b68a..f7cdadd5 100644
--- a/Demo/Resources/LaunchScreen.xib
+++ b/Demo/Resources/LaunchScreen.xib
@@ -1,9 +1,13 @@
-
-
+
+
+
+
+
-
+
+
@@ -15,17 +19,17 @@
-
+
diff --git a/Demo/Sources/Application/AppDelegate.m b/Demo/Sources/Application/AppDelegate.m
index c75332d5..3a89b597 100644
--- a/Demo/Sources/Application/AppDelegate.m
+++ b/Demo/Sources/Application/AppDelegate.m
@@ -12,6 +12,7 @@
#import
#import
#import
+#import
@implementation AppDelegate
@@ -25,9 +26,15 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
[SRGLogger setLogHandler:SRGNSLogHandler()];
- [[SRGAnalyticsTracker sharedTracker] startWithBusinessUnitIdentifier:SRGAnalyticsBusinessUnitIdentifierTEST
- comScoreVirtualSite:@"rts-app-test-v"
- netMetrixIdentifier:@"test"];
+ [TCDebug setDebugLevel:TCLogLevel_Verbose];
+ [TCDebug setNotificationLog:YES];
+
+ SRGAnalyticsConfiguration *configuration = [[SRGAnalyticsConfiguration alloc] initWithBusinessUnitIdentifier:SRGAnalyticsBusinessUnitIdentifierRTS
+ container:10
+ comScoreVirtualSite:@"rts-app-test-v"
+ netMetrixIdentifier:@"test"];
+ configuration.unitTesting = (NSClassFromString(@"XCTestCase") != Nil);
+ [[SRGAnalyticsTracker sharedTracker] startWithConfiguration:configuration];
DemosViewController *demosViewController = [[DemosViewController alloc] init];
self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:demosViewController];
diff --git a/Demo/Sources/Demos/DemosViewController.m b/Demo/Sources/Demos/DemosViewController.m
index b3f0e4ec..29e3ae8b 100644
--- a/Demo/Sources/Demos/DemosViewController.m
+++ b/Demo/Sources/Demos/DemosViewController.m
@@ -43,7 +43,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
case 0: {
simpleViewController = [[SimpleViewController alloc] initWithTitle:@"Automatic tracking"
levels:nil
- customLabels:nil
+ customInfo:nil
openedFromPushNotification:NO
trackedAutomatically:YES];
break;
@@ -52,7 +52,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
case 1: {
simpleViewController = [[SimpleViewController alloc] initWithTitle:@"Automatic tracking with levels"
levels:@[@"Level1", @"Level2", @"Level3"]
- customLabels:nil
+ customInfo:nil
openedFromPushNotification:NO
trackedAutomatically:YES];
break;
@@ -61,16 +61,16 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
case 2: {
simpleViewController = [[SimpleViewController alloc] initWithTitle:@"Automatic tracking with many levels"
levels:@[@"Level1", @"Level2", @"Level3", @"Level4", @"Level5", @"Level6", @"Level7", @"Level8", @"Level9", @"Level10", @"Level11", @"Level12"]
- customLabels:nil
+ customInfo:nil
openedFromPushNotification:NO
trackedAutomatically:YES];
break;
}
case 3: {
- simpleViewController = [[SimpleViewController alloc] initWithTitle:@"Automatic tracking with levels and custom labels"
+ simpleViewController = [[SimpleViewController alloc] initWithTitle:@"Automatic tracking with levels and labels"
levels:@[@"Level1", @"Level2"]
- customLabels:@{ @"custom_label": @"custom_value" }
+ customInfo:@{ @"custom_label": @"custom_value" }
openedFromPushNotification:NO
trackedAutomatically:YES];
break;
@@ -79,7 +79,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
case 4: {
simpleViewController = [[SimpleViewController alloc] initWithTitle:@"Manual tracking"
levels:nil
- customLabels:nil
+ customInfo:nil
openedFromPushNotification:NO
trackedAutomatically:NO];
break;
@@ -88,7 +88,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
case 5: {
simpleViewController = [[SimpleViewController alloc] initWithTitle:@""
levels:nil
- customLabels:nil
+ customInfo:nil
openedFromPushNotification:NO
trackedAutomatically:YES];
break;
@@ -108,7 +108,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
switch (indexPath.row) {
case 0: {
- URL = [NSURL URLWithString:@"http://fr-par-iphone-2.cdn.hexaglobe.net/streaming/euronews_ewns/9-live.m3u8"];
+ URL = [NSURL URLWithString:@"http://ndr_fs-lh.akamaihd.net/i/ndrfs_nds@119224/master.m3u8?dw=0"];
break;
}
@@ -118,10 +118,9 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
}
case 2: {
- URL = [NSURL URLWithString:@"https://wowza.jwplayer.com/live/jelly.stream/playlist.m3u8?DVR"];
+ URL = [NSURL URLWithString:@"http://tagesschau-lh.akamaihd.net/i/tagesschau_1@119231/master.m3u8"];
break;
}
-
default: {
return;
@@ -138,7 +137,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
case 2: {
UIViewController *simpleViewController = [[SimpleViewController alloc] initWithTitle:@"From push notification"
levels:nil
- customLabels:nil
+ customInfo:nil
openedFromPushNotification:YES
trackedAutomatically:YES];
[self.navigationController pushViewController:simpleViewController animated:YES];
diff --git a/Demo/Sources/Demos/DemosViewController.storyboard b/Demo/Sources/Demos/DemosViewController.storyboard
index 7eea9787..d36b4c9e 100644
--- a/Demo/Sources/Demos/DemosViewController.storyboard
+++ b/Demo/Sources/Demos/DemosViewController.storyboard
@@ -1,8 +1,11 @@
-
+
+
+
+
-
+
@@ -21,11 +24,11 @@
-
+