Skip to content

Commit

Permalink
Finish 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinber committed Dec 12, 2022
2 parents fe5698f + e3215bd commit 07ec436
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion BitmovinConvivaAnalytics.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BitmovinConvivaAnalytics'
s.version = '3.0.0'
s.version = '3.0.1'
s.summary = 'Conviva Analytics Integration for the Bitmovin Player iOS SDK'

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion BitmovinConvivaAnalytics/Assets/BitmovinConviva-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<plist version="1.0">
<dict>
<key>CFBundleShortVersionString</key>
<string>3.0.0</string>
<string>3.0.1</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class ContentMetadataBuilder : CustomStringConvertible {
var description: String {
return """
<\(type(of: self)): \
contentMetadata = \(contentMetadata) \
metadata = \(metadata) \
metadataOverrieds = \(metadataOverrides) \
playbackStarted = \(playbackStarted)>
Expand Down
8 changes: 4 additions & 4 deletions BitmovinConvivaAnalytics/Classes/ConvivaAnalytics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public final class ConvivaAnalytics: NSObject {
updateSession()

videoAnalytics.reportPlaybackRequested(contentMetadataBuilder.build())
logger.debugLog(message: "Creating session \(sessionKey) with metadata: \(contentMetadataBuilder)")
logger.debugLog(message: "Creating session with metadata: \(contentMetadataBuilder)")
logger.debugLog(message: "Session started")
isSessionActive = true
}
Expand All @@ -291,9 +291,9 @@ public final class ConvivaAnalytics: NSObject {
CIS_SSDK_PLAYBACK_METRIC_RENDERED_FRAMERATE,
value: player.currentVideoFrameRate)
}

videoAnalytics.setContentInfo(contentMetadataBuilder.build())
logger.debugLog(message: "Updating session \(sessionKey) with metadata: \(contentMetadataBuilder)")
logger.debugLog(message: "Updating session with metadata: \(contentMetadataBuilder)")
}

private func internalEndSession() {
Expand All @@ -305,7 +305,7 @@ public final class ConvivaAnalytics: NSObject {
videoAnalytics.reportPlaybackEnded()

isSessionActive = false
logger.debugLog(message: "Ending session \(sessionKey)")
logger.debugLog(message: "Ending session")

playbackStarted = false
logger.debugLog(message: "Session ended")
Expand Down
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,21 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [3.0.1]

### Fixed

- Some errors introduced by recent logging changes

## [3.0.0]

- Utilises Conviva's Simple SDK instead of the old interface
### Added

- Added `release()` method for use at end of app lifecycle

### Changed

- Utilises Conviva's Simple SDK instead of the old interface
- Internal changes to ConvivaAnalytics and related classes

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- BitmovinConvivaAnalytics (3.0.0):
- BitmovinConvivaAnalytics (3.0.1):
- BitmovinPlayer (~> 3.0)
- ConvivaSDK (~> 4.0)
- BitmovinPlayer (3.11.0)
Expand Down Expand Up @@ -33,7 +33,7 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
BitmovinConvivaAnalytics: 88a97dd0f40f54c9f0c9e0846b62a5cd3de345d9
BitmovinConvivaAnalytics: c92e09e4530dd7fe1c904dedea6b940a8f16ea25
BitmovinPlayer: 635b2038bccb66d77f259b76410a561a98dbfa02
ConvivaSDK: 9ed11bf46307bd5dfe33504e9a82eec937b80c44
GoogleAds-IMA-iOS-SDK: 3c01b8db7d01de6b4a3b1d58744d4bc426a2d821
Expand Down

0 comments on commit 07ec436

Please sign in to comment.