Skip to content
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

Fix imaVersionString property name #76

Merged
merged 3 commits into from
Jul 1, 2024

Conversation

rolandkakonyi
Copy link
Contributor

Problem

There is a typo in MetadataOverrides.imaSdkVerison, this PR fixes it.

Solution

Added a new property called imaSdkVersion and deprecated imaSdkVerison with getting and setting its value to the new property.

Notes

Also improved the IMA version detection in the Example application.

Checklist

  • I added an update to CHANGELOG.md file
  • I ran all the tests in the project and they succeed

@rolandkakonyi rolandkakonyi self-assigned this Jul 1, 2024
@@ -68,8 +68,7 @@ class ViewController: UIViewController {
metadata.custom = ["custom_tag": "Episode"]
metadata.additionalStandardTags = ["c3.cm.contentType": "VOD"]

metadata.imaSdkVerison = Bundle(for: IMAAdsManager.self)
.infoDictionary?["CFBundleShortVersionString"] as? String
metadata.imaSdkVersion = IMAAdsLoader.sdkVersion()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI the IMA SDK has a dedicated method to get the version.

@rolandkakonyi rolandkakonyi requested a review from matamegger July 1, 2024 08:38
@rolandkakonyi rolandkakonyi merged commit 0861f11 into develop Jul 1, 2024
1 check passed
@rolandkakonyi rolandkakonyi deleted the feature/fix-imaversion-field-name branch July 1, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants