1.4.0
Pre-release
Pre-release
What's Changed
NB: Breaking changes in this release.
func screenIdentifier(for viewController: UIViewController) -> ScreenIdentifier?method is added toTTIMetricsReceiverandRenderingMetricsReceiver.func ttiMetricsReceived(metrics: TTIMetrics, screen: ScreenIdentifier)andfunc renderingMetricsReceived(metrics: RenderingMetrics, screen: ScreenIdentifier)now receive the same type which is returned from thescreenIdentifier(for:).ViewControllerLoggingReceiveralso has the same methodscreenIdentifier(for:)and receives notStringbutScreenIdentifier.shouldTrack(viewController:)method is removed. ReturnnilfromscreenIdentifier(for:)if you do not want to track this view controller.
- Introduce typed identifiers for screen level metric receivers by @pilot34 in #10
- Experiment to create view controller observers on the background by @pilot34 in #11
Full Changelog: 1.3.0...1.4.0