Migration to HyBid SDK v: 2.21.0 - pubnative/pubnative-hybid-ios-sdk GitHub Wiki
Changes to the SDK
Starting with the version 2.21.0
, a lot of functions related to ad customisation that were already marked as deprecated have been removed. These customisation settings are no longer going to be set within the SDK. Instead, in order to give our publishers a better control over these settings, they are going to be set by account managers remotely. This means, they can be changed at any time in order to adapt to whatever is needed at any time.
For the above mentioned reasons, the following functions have been removed from the HyBid.h/.m
class:
setInterstitialSkipOffset:
setVideoInterstitialSkipOffset:
setHTMLInterstitialSkipOffset:
setHTMLRewardedSkipOffset:
setEndCardCloseOffset:
setShowEndCard:
setRewardedCloseOnFinish:
setInterstitialCloseOnFinish:
setInterstitialActionBehaviour:
setVideoAudioStatus:
setMRAIDExpand:
setInterstitialSKOverlay:
setRewardedSKOverlay:
Also, from the HyBidInterstitialAd.swift
class, the following functions have been removed:
setSkipOffset:
setHTMLSkipOffset:
setVideoSkipOffset:
Changes to the Adapters
The already deprecated HyBid - iOS Google Mobile Ads Adapter (GoogleMobileAds-HyBid-Adapters
) classes that were kept for backwards compatibility have also been removed. Please note the changes and use the renamed ones:
HyBidDFPUtils
->HyBidGAMUtils
HyBidDFPHeaderBiddingBannerCustomEvent
->HyBidGAMHeaderBiddingBannerCustomEvent
HyBidDFPHeaderBiddingMRectCustomEvent
->HyBidGAMHeaderBiddingMRectCustomEvent
HyBidDFPHeaderBiddingLeaderboardCustomEvent
->HyBidGAMHeaderBiddingLeaderboardCustomEvent
HyBidDFPHeaderBiddingInterstitialCustomEvent
->HyBidGAMHeaderBiddingInterstitialCustomEvent
HyBidAdMobUtils
->HyBidGADUtils
HyBidAdMobMediationBannerCustomEvent
->HyBidGADMediationBannerCustomEvent
HyBidAdMobMediationMRectCustomEvent
->HyBidGADMediationMRectCustomEvent
HyBidAdMobMediationLeaderboardCustomEvent
->HyBidGADMediationLeaderboardCustomEvent
HyBidAdMobMediationInterstitialCustomEvent
->HyBidGADMediationInterstitialCustomEvent
HyBidAdMobMediationRewardedCustomEvent
->HyBidGADMediationRewardedCustomEvent
Please, make sure that if you use any of these functions or classes, they need to be removed and set up by your Account Manager internally.