Releases: SRGSSR/srganalytics-apple
Releases · SRGSSR/srganalytics-apple
Maintenance release
- This version updates SRG Data Provider to version 6.4.
 
Playback settings
- Playback settings have been collected in an 
SRGPlaybackSettingsobject, which now replaces the (usually long) parameter list of playback methods. 
Support for additional hidden event values
- New 
extraValue1toextraValue5values have been added to hidden events and can be used to convey additional arbitrary information if needed. 
Xcode 10 support and digital rights management update
- The project can now be built with Xcode 10 and the iOS 12 SDK.
 - Digital rights management has been updated to match new specifications.
 
Fix iTunes Connect binary submission
This release fixes a binary submission issue for applications delivered with bitcode.
Digital rights management support
This release mostly updates the SRGAnalytics_DataProvider.framework companion library for digital rights management support (DRM):
- Playback methods from the 
SRGMediaPlayerController (SRGAnalytics_DataProvider)category have changed:- They now require a new 
DRMboolean parameter, specifying whether DRM should be used when available (otherwise default resource lookup will be performed based on the resource order). - An optional position to start at can be provided.
 - Methods do not return an 
SRGRequestanymore, merely a boolean. Resume parameters and completion handlers have been dropped accordingly. 
 - They now require a new 
 - Playback methods from the 
SRGMediaPlayerController (SRGAnalytics_MediaPlayer)category have changed:- An optional position to start at can be provided.
 - New convenience methods have been added.
 
 SRGAnalytics_DataProvider.frameworknow has an explicit dependency on the new SRG Network and SRG Content Protection frameworks. Existing projects must add these dependencies to their targets after update with Carthage.- The resource lookup method from the 
SRGMediaComposition (SRGAnalytics_DataProvider)category now performs its work synchronously, calling a non-escaping closure to return it. ADRMboolean parameter has been added to its prototype as well. - Akamai token retrieval is now performed transparently by the SRG Content Protection framework. This fixes AirPlay instabilities previously associated with playback of Akamai-protected resources.
 AVPlayerItem-based playback methods have been added to theSRGMediaPlayerController (SRGAnalytics_MediaPlayer)category for consistency.- Playback methods now support positions (
SRGPosition). For the default position, simply usenilas position. - To mitigate slow application startups usually associated with a large number of dynamic frameworks being used, static framework integration with Carthage 0.30 and above is now supported.
 - A Makefile has been added to conveniently build and package the project.
 
Maintenance release
This version updates dependencies the library relies on.
Update with Xcode 9.4
This version modernizes the project with Xcode 9.4.
Page view tracking fixes
In some corner cases (e.g. view controller initially covered modally), some page view events were previously not correctly recorded. Such issues have been fixed, so that page view tracking is now reliable in all possible use cases.
Maintenance release
This version updates SRG Media Player to version 2.4 and SRG Data provider to version 6.0.1.