Skip to content

Commit

Permalink
feat: small enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
OlenaPostindustria committed Jan 21, 2025
1 parent 1dfd418 commit 45a0eaa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ struct TestCaseManager {
}

let bannerController = PrebidOriginalAPIVideoBannerController(rootController: adapterVC)
bannerController.activatePrebidSKAdNHelper = true
bannerController.adSize = CGSize(width: 300, height: 250)
bannerController.prebidConfigId = "prebid-ita-video-outstream-original-api"
bannerController.adUnitID = "/21808260008/prebid-demo-original-api-video-banner"
Expand Down
11 changes: 5 additions & 6 deletions PrebidMobile/AdUnits/Native/NativeAd.swift
Original file line number Diff line number Diff line change
Expand Up @@ -356,13 +356,12 @@ public class NativeAd: NSObject, CacheExpiryDelegate {
}

private func fireClickTrackers() {
guard let clickTrackersURLs = nativeAdMarkup?.link?.clicktrackers else { return }

if clickTrackersURLs.count > 0 {
TrackerManager.shared.fireTrackerURLArray(arrayWithURLs: clickTrackersURLs) {
_ in
}
guard let clickTrackersURLs = nativeAdMarkup?.link?.clicktrackers,
clickTrackersURLs.count > 0 else {
return
}

TrackerManager.shared.fireTrackerURLArray(arrayWithURLs: clickTrackersURLs) { _ in }
}

private func presentSKStoreProductViewController(with productParameters: [String: Any]) {
Expand Down

0 comments on commit 45a0eaa

Please sign in to comment.