Releases: SRGSSR/srganalytics-apple
Releases · SRGSSR/srganalytics-apple
Mediapulse page views and improved TagCommander stream analytics
Mediapulse page views
- NetMetrix will be discontinued in January 2021. Page view measurements for official TV and radio audience measurements will be processed by Mediapulse through comScore. The SDK has been updated to ensure a smooth transition.
- Your application should be updated to use this version of SRG Analytics so that it stays correctly tracked. No change is required in how you track page views.
- (Breaking change) The
comScoreVirtualSite
configuration parameter has been renamed assiteName
, as this value is now not related to comScore-tracking anymore. The value used for your application stays the same. - Hidden events are not sent to comScore anymore as they are not used by Mediapulse anyway.
TagCommander streaming analytics
- Segment tracking has been made much simpler. No change is required in your application implementation.
- Audio and subtitle track selection is now provided in streaming analytics.
Swift Package Manager support
- This release introduces Swift Package Manager (SPM) support, replacing Carthage entirely. To migrate your project please follow instructions for migrating to version 6 of our Letterbox library.
ComScore update for iOS and tvOS 14
- The ComScore SDK has been updated to version 6.6.0 for correct tracking on iOS and tvOS 14.
Xcode 12 compilation fix
Update dependencies for compilation with Xcode 12.
About Xcode 12 support
A proper iOS / tvOS 14 release will be made later. Until then, we recommend you ship your application with Xcode 11.7 if you can. The library can be compiled with Xcode 12 but has not been fully tested yet.
If you still intend to use Xcode 12, note there is an issue with Carthage with a workaround available. The next official release we will deliver will support Xcode 12 and replace Carthage with SPM.
Maintenance release
- Fix potential deadlock issue when playing content without comScore analytics labels.
- Update SRG Media Player to version 5.0.1.
Improved DVR support
- Improve DVR support for users of
SRGAnalytics_SRGDataProvider.framework
. - Fix framework tvOS archiving issue with Xcode 11.4.
Maintenance release
This release updates SRG Identity to version 2.0.2 and SRG Data Provider to version 7.1.0.
Containment tracking and user agent fix
Container tracking
- Proper built-in container tracking has been implemented, with support for all UIKit standard containers (
UITabBarController
,UIPageViewController
,UISplitViewController
andUINavigationController
). This ensures that tracking is correctly made when the application returns from background or when the user changes the currently active tab. - Custom containers can implement the
SRGAnalyticsContainerViewTracking
protocol to achieve the same result. - If existing applications were implemented special behavior to support UIKit standard containers, they should simply remove the associated code to avoid sending more page view events than necessary (pages views should be tested again throughout the application before delivering an update to production).
Improvements
- A configuration parameter has been added to force analytics to be collected within the production or pre-production environments. This addresses very special needs, for example nightly distribution via TestFlight. In general, you should stick with the default automatic behavior, which determines the environment based on the application bundle.
Fixes
- Update comScore to version 6.2 to fix iTunesConnect submission issue due to
UIWebView
deprecation. - The TagCommander user agent was missing at startup. This made Mapp (previously Webtrekk) reports incorrectly report about Generic versions instead of the proper system version. This issue has been fixed.
tvOS compatibility and comScore v6
- The library is compatible with tvOS.
- The comScore SDK dependency has been updated to version 6.
- Removal of the DRM playback preference.
- Semantic versioning has been adopted.
- The project has been renamed as
srgmediaplayer-apple
.
Maintenance release
- This release fixes a potential performance issue when retrieving subtitle information.