Skip to content

Commit

Permalink
Merge pull request #26 from ParticleMedia/huanzhiNB/weakReferencePreb…
Browse files Browse the repository at this point in the history
…idAdapter

weak reference for prebid adapter
  • Loading branch information
huanzhiNB authored Nov 5, 2024
2 parents ec633b7 + 3cdba87 commit 3db4098
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
4 changes: 2 additions & 2 deletions PrebidAdapter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Pod::Spec.new do |spec|


spec.name = "PrebidAdapter"
spec.version = "0.0.74"
spec.version = "0.0.79"
spec.summary = "an adapter for Google SDK"
spec.description = "an adapter for Google SDK for MSP S2S"

Expand Down Expand Up @@ -46,7 +46,7 @@ Pod::Spec.new do |spec|
spec.exclude_files = "Classes/Exclude"

#spec.dependency 'Google-Mobile-Ads-SDK', "10.14.0"
spec.dependency 'MSPSharedLibraries', '0.0.74'
spec.dependency 'MSPSharedLibraries', '0.0.78'


#spec.pod_target_xcconfig = { 'VALID_ARCHS' => 'x86_64 armv7 arm64' }
Expand Down
9 changes: 1 addition & 8 deletions PrebidAdapter/PrebidAdapter/PrebidAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import UIKit
}
}

public var adListener: AdListener?
public weak var adListener: AdListener?

public var bannerView: BannerView?
public var priceInDollar: Double?
Expand Down Expand Up @@ -131,10 +131,3 @@ extension PrebidAdapter: BannerEventHandler {
}
}
}







2 changes: 1 addition & 1 deletion PrebidAdapter/PrebidAdapter/PrebidBidLoader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class PrebidBidLoader : BidLoader {

public var bidRequester: PBMBidRequester?
public var configId: String?
public var bidListener: BidListener?
public weak var bidListener: BidListener?

public var adRequest: AdRequest?

Expand Down

0 comments on commit 3db4098

Please sign in to comment.