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

Support GMA SDK 10.8.0 #887

Merged
merged 4 commits into from
Jul 26, 2023
Merged

Support GMA SDK 10.8.0 #887

merged 4 commits into from
Jul 26, 2023

Conversation

OlenaPostindustria
Copy link
Collaborator

@OlenaPostindustria OlenaPostindustria commented Jul 26, 2023

Closes #886

  • Add new initializer - Prebid.initializeSDK(gadMobileAdsVersion: String? = nil, _ completion: PrebidInitializationCallback? = nil)
  • Updated dependencies
  • Updated latest tested GMA version
  • Updated GAM version checking logic
  • Add unit tests

@@ -183,16 +180,27 @@ public class Prebid: NSObject {
/// - Parameters:
/// - gadMobileAdsObject: GADMobileAds object
/// - completion: returns initialization status and optional error
@available(*, deprecated, message: "If the GMA SDK version is higher than 10.7.0 you should use `initializeSDK(gadMobileAdsVersion:, _ completion:)` method in order to initialize Prebid SDK.")
Copy link
Contributor

Choose a reason for hiding this comment

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

We shouldn't deprecate this method so far because publishers still can use previous GMA SDK versions, and we shouldn't push them to migrate (via warning).

We should log the message in the checkGMAVersion method if the publisher updated the GMA SDK but still use this initializer.

@YuriyVelichkoPI
Copy link
Contributor

cc: @jsligh

This PR is intended to fix UI tests.

Copy link
Contributor

@YuriyVelichkoPI YuriyVelichkoPI left a comment

Choose a reason for hiding this comment

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

LGTM

@YuriyVelichkoPI YuriyVelichkoPI merged commit 364445b into master Jul 26, 2023
@OlenaPostindustria OlenaPostindustria deleted the support-gma-10.8.0 branch July 26, 2023 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support GMA SDK 10.7.0 & 10.8.0
2 participants