Releases: SRGSSR/srganalytics-apple
Releases · SRGSSR/srganalytics-apple
Maintenance release
This release updates dependencies to avoid rare crashes on tvOS 15.
Maintenance release
- Remove comScore missing AdSupport.framework warning.
- Fix an assertion which could be thrown unnecessarily in some cases during development.
Deployment target update to iOS 12
The minimum deployment target has been bumped to iOS 12.
M1 compatibility and page view fixes
- Projects using SRG Analytics can now be compiled and run on M1.
- Prevent page views from being emitted when the application is in background.
- Explicitly mark
SRGAnalyticsTracker
as unavailable in extensions (which was already the case but not explicit).
Archiving fix
- This release fixes an Xcode archiving bug for projects using SRG Analytics. (#53)
- The integration documentation has been improved, in particular regarding application name and version information.
- The demo project provides a tool for testing web content embedding.
Documentation improvement for web content display
This release does not contain any code change, but improves documentation about how page views should be measured when an app presents web content.
Please read the corresponding section carefully and update your application if needed to comply with this mandatory Mediapulse requirement. Should you fail to do so, Mediapulse will reject your application when they validate it.
AdSupport removal
The AdSupport framework (the one responsible for the infamous IDFA) was implicitly linked with SRG Analytics. This dependency has been removed.
NetMetrix removal
- Page view measurements are not sent to NetMetrix anymore.
- SRG Data Provider has been updated. More information is available from the corresponding release notes.
Breaking changes
- The
netMetrixIdentifier
parameter has been removed fromSRGAnalyticsConfiguration
initializer.
Known issues
- This release does not include support for Apple Silicon architecture in simulators (#49).
Assertion removal in release builds
Ensure assertions are never fired in release builds.
SwiftUI page view tracking
- Add page view tracking for SwiftUI views. Link your project with the new
SRGAnalyticsSwiftUI
library and use thetracked(withTitle:levels:labels:)
modifier. - Remove page view tracking for
SRGMediaPlayerViewController
. Applications are responsible of tracking page views when presenting instances of this class. - Child view controllers are now automatically tracked. This behavior can still be customized using the
SRGAnalyticsContainerViewTracking
protocol.