Migration documentation for v2.21.0 - pubnative/pubnative-hybid-android-sdk GitHub Wiki

New version 2.21.0

With this new version, a lot of functions related to ad customisation that were already marked as deprecated have been deleted. 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 class:

  • setInterstitialClickBehaviour
  • setCountdownStyle
  • setInterstitialSkipOffset
  • setHtmlInterstitialSkipOffset
  • setVideoInterstitialSkipOffset
  • setEndCardCloseButtonDelay
  • setCloseVideoAfterFinish
  • setMraidExpandEnabled
  • setEndCardEnabled
  • setCloseVideoAfterFinishForRewarded

Also, from the HyBidInterstitialAd class, the following functions have been removed:

  • setSkipOffset
  • setHtmlSkipOffset
  • setVideoSkipOffset

The old PNLite classes have that were kept for backwards compatibility have been removed. Please use the HyBid ones:

  • PNLite -> HyBid
  • PNLiteDFPBannerCustomEvent -> HyBidDFPBannerCustomEvent
  • PNLiteDFPInterstitialCustomEvent -> HyBidDFPInterstitialCustomEvent
  • PNLiteDFPMRectCustomEvent -> HyBidDFPMRectCustomEvent
  • PNLiteDFPLeaderboardCustomEvent -> HyBidDFPLeaderboardCustomEvent

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.