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

weak reference for prebid adapter #26

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading