Skip to content

Commit

Permalink
Release v1.12 (#389)
Browse files Browse the repository at this point in the history
* - Xcode 12.5 is used (MoPub requires)
- MoPubSDK module name is used instead of MoPub
- IMA SDK is upgraded

* version 1.12
  • Loading branch information
yoalex5 authored Jun 7, 2021
1 parent 6b6989e commit 8b0c116
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 46 deletions.
2 changes: 1 addition & 1 deletion Example/PrebidDemo/PrebidDemoSwift/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import UIKit
import PrebidMobile
import CoreLocation
import GoogleMobileAds
import MoPub
import MoPubSDK
#if canImport(AppTrackingTransparency)
import AppTrackingTransparency
#endif
Expand Down
2 changes: 1 addition & 1 deletion Example/PrebidDemo/PrebidDemoSwift/BannerController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import PrebidMobile

import GoogleMobileAds

import MoPub
import MoPubSDK

enum BannerFormat: Int {
case html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class InstreamVideoViewController: UIViewController, IMAAdsLoaderDelegate, IMAAd
if (ResultCode == .prebidDemandFetchSuccess){
do {
let adServerTag = try IMAUtils.shared.generateInstreamUriForGAM(adUnitID: self.adUnitID, adSlotSizes: [.Size640x480,.Size400x300], customKeywords: prebidKeys!)
let adDisplayContainer = IMAAdDisplayContainer(adContainer: self.appInstreamView)
let adDisplayContainer = IMAAdDisplayContainer(adContainer: self.appInstreamView, viewController: self)
// Create an ad request with our ad tag, display container, and optional user context.
let request = IMAAdsRequest(adTagUrl: adServerTag, adDisplayContainer: adDisplayContainer, contentPlayhead: nil, userContext: nil)
self.adsLoader.requestAds(with: request)
Expand All @@ -179,12 +179,8 @@ class InstreamVideoViewController: UIViewController, IMAAdsLoaderDelegate, IMAAd
adsManager = adsLoadedData.adsManager
adsManager?.delegate = self

// Create ads rendering settings and tell the SDK to use the in-app browser.
let adsRenderingSettings = IMAAdsRenderingSettings()
adsRenderingSettings.webOpenerPresentingController = self

// Initialize the ads manager.
adsManager?.initialize(with: adsRenderingSettings)
adsManager?.initialize(with: nil)
}

func adsLoader(_ loader: IMAAdsLoader!, failedWith adErrorData: IMAAdLoadingErrorData!) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import PrebidMobile

import GoogleMobileAds

import MoPub
import MoPubSDK

class InterstitialViewController: UIViewController, MPInterstitialAdControllerDelegate {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.

import UIKit
import GoogleMobileAds
import MoPub
import MoPubSDK
import PrebidMobile

class NativeInAppViewController: UIViewController, GAMBannerAdLoaderDelegate, GADCustomNativeAdLoaderDelegate {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import PrebidMobile

import GoogleMobileAds

import MoPub
import MoPubSDK

class NativeViewController: UIViewController, GADBannerViewDelegate, MPAdViewDelegate {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Foundation

import GoogleMobileAds
import PrebidMobile
import MoPub
import MoPubSDK


class RewardedVideoController: UIViewController, MPRewardedVideoDelegate {
Expand Down
62 changes: 31 additions & 31 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,45 @@ PODS:
- Google-Mobile-Ads-SDK (8.5.0):
- GoogleAppMeasurement (< 9.0, >= 7.0)
- GoogleUserMessagingPlatform (>= 1.1)
- GoogleAds-IMA-iOS-SDK (3.11.4)
- GoogleAppMeasurement (7.11.0):
- GoogleAppMeasurement/AdIdSupport (= 7.11.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.0)
- GoogleUtilities/MethodSwizzler (~> 7.0)
- GoogleUtilities/Network (~> 7.0)
- "GoogleUtilities/NSData+zlib (~> 7.0)"
- GoogleAds-IMA-iOS-SDK (3.14.3)
- GoogleAppMeasurement (8.1.0):
- GoogleAppMeasurement/AdIdSupport (= 8.1.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
- GoogleUtilities/MethodSwizzler (~> 7.4)
- GoogleUtilities/Network (~> 7.4)
- "GoogleUtilities/NSData+zlib (~> 7.4)"
- nanopb (~> 2.30908.0)
- GoogleAppMeasurement/AdIdSupport (7.11.0):
- GoogleUtilities/AppDelegateSwizzler (~> 7.0)
- GoogleUtilities/MethodSwizzler (~> 7.0)
- GoogleUtilities/Network (~> 7.0)
- "GoogleUtilities/NSData+zlib (~> 7.0)"
- GoogleAppMeasurement/AdIdSupport (8.1.0):
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
- GoogleUtilities/MethodSwizzler (~> 7.4)
- GoogleUtilities/Network (~> 7.4)
- "GoogleUtilities/NSData+zlib (~> 7.4)"
- nanopb (~> 2.30908.0)
- GoogleUserMessagingPlatform (2.0.0)
- GoogleUtilities/AppDelegateSwizzler (7.4.0):
- GoogleUtilities/AppDelegateSwizzler (7.4.1):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (7.4.0):
- GoogleUtilities/Environment (7.4.1):
- PromisesObjC (~> 1.2)
- GoogleUtilities/Logger (7.4.0):
- GoogleUtilities/Logger (7.4.1):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (7.4.0):
- GoogleUtilities/MethodSwizzler (7.4.1):
- GoogleUtilities/Logger
- GoogleUtilities/Network (7.4.0):
- GoogleUtilities/Network (7.4.1):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (7.4.0)"
- GoogleUtilities/Reachability (7.4.0):
- "GoogleUtilities/NSData+zlib (7.4.1)"
- GoogleUtilities/Reachability (7.4.1):
- GoogleUtilities/Logger
- mopub-ios-sdk (5.15.0):
- mopub-ios-sdk/MoPubSDK (= 5.15.0)
- mopub-ios-sdk/Core (5.15.0)
- mopub-ios-sdk/MoPubSDK (5.15.0):
- mopub-ios-sdk (5.17.0):
- mopub-ios-sdk/MoPubSDK (= 5.17.0)
- mopub-ios-sdk/Core (5.17.0)
- mopub-ios-sdk/MoPubSDK (5.17.0):
- mopub-ios-sdk/Core
- mopub-ios-sdk/NativeAds
- mopub-ios-sdk/NativeAds (5.15.0):
- mopub-ios-sdk/NativeAds (5.17.0):
- mopub-ios-sdk/Core
- nanopb (2.30908.0):
- nanopb/decode (= 2.30908.0)
Expand All @@ -51,8 +51,8 @@ PODS:

DEPENDENCIES:
- Google-Mobile-Ads-SDK
- GoogleAds-IMA-iOS-SDK (= 3.11.4)
- mopub-ios-sdk (= 5.15.0)
- GoogleAds-IMA-iOS-SDK
- mopub-ios-sdk

SPEC REPOS:
trunk:
Expand All @@ -67,14 +67,14 @@ SPEC REPOS:

SPEC CHECKSUMS:
Google-Mobile-Ads-SDK: 6f5c41bf73db1656e5b203ba9c31e3d0899a128d
GoogleAds-IMA-iOS-SDK: 7f5b78b31ce97ec1f515866ed54118922004f987
GoogleAppMeasurement: fd19169c3034975cb934e865e5667bfdce59df7f
GoogleAds-IMA-iOS-SDK: 2a9b7b14bda4993306f05287f952dce41b5be4ad
GoogleAppMeasurement: 9ff7b9e23cced93a5a41736c09bdeb5b5b7fb111
GoogleUserMessagingPlatform: ab890ce5f6620f293a21b6bdd82e416a2c73aeca
GoogleUtilities: 284cddc7fffc14ae1907efb6f78ab95c1fccaedc
mopub-ios-sdk: a21098174b9420a291aca9fcdae832d0f2e2a368
GoogleUtilities: f8a43108b38a68eebe8b3540e1f4f2d28843ce20
mopub-ios-sdk: 36d322902674b79b0560a1cb8d15af0548d364ea
nanopb: a0ba3315591a9ae0a16a309ee504766e90db0c96
PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97

PODFILE CHECKSUM: c3e8bf77db1da43999c86bf0e4fa3f359aae0545
PODFILE CHECKSUM: 6cafa0cba9f87b210c1aea843c343dfec41d5cf4

COCOAPODS: 1.10.1
2 changes: 1 addition & 1 deletion PrebidMobile.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "PrebidMobile"
s.version = "1.11"
s.version = "1.12"
s.summary = "PrebidMobile is a lightweight framework that integrates directly with Prebid Server."

s.description = <<-DESC
Expand Down
4 changes: 2 additions & 2 deletions PrebidMobile.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.11;
MARKETING_VERSION = 1.12;
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down Expand Up @@ -843,7 +843,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.11;
MARKETING_VERSION = 1.12;
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down

0 comments on commit 8b0c116

Please sign in to comment.