-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support additional device content tags in conviva integration #67
Support additional device content tags in conviva integration #67
Conversation
e77f293
to
059bee6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for taking on this 💪 Just minor stuff.
I guess the failing unit tests are unrelated to your changes 🤔 I'll trigger a re-run and see how they behave.
@@ -85,6 +93,9 @@ class ContentMetadataBuilder: CustomStringConvertible { | |||
if let custom = self.custom { | |||
contentInfo.merge(custom) { $1 } | |||
} | |||
if let additionalStandardTags = self.additionalStandardTags { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: (no action required)
Since Swift 5.7 you could write this like this:
if let additionalStandardTags = self.additionalStandardTags { | |
if let additionalStandardTags { |
However, the Swift version specified in the podspec file is set to 5.0
. We could update it since it's quite old already (we are on 5.10 no in the Player SDK) Not relevant for this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah cool, didn't know about that Swift feature 👍
Co-authored-by: David Steinacher <david.steinacher@bitmovin.com>
Co-authored-by: David Steinacher <david.steinacher@bitmovin.com>
Problem
Conviva has a list of predefined standard device and content tags that this integration currently doesn't support reporting.
Solution
MetadataOverrides.additionalStandardTags
that allows to set additional standard tags for the session.Notes
Android integration PR: bitmovin/bitmovin-player-android-analytics-conviva#56
Checklist
CHANGELOG.md
file