Skip to content

Migration from version 1.0.0 to 1.0.1

WelcomeAdBannerView: resetWelcomeAd(params:) Removed and API Moved

What Changed?

  • Removed:
    swift
    public static func resetWelcomeAd(params: RingierAdBannerViewParams? = nil)

This function no longer exists on WelcomeAdBannerView.

  • Added:
    swift
    public static func resetWelcomeAd()

This function is now available as a static method on the RingierAd class.

Migration Steps

Before (1.0.0):

swift
// Resetting welcome ad capping in 1.0.0
WelcomeAdBannerView.resetWelcomeAd(params: yourBannerParams)

After (1.0.1):

swift
// Resetting welcome ad capping in 1.0.1
RingierAd.resetWelcomeAd()

Google DAI: fillGoogleDAI(params:) Removed

What Changed?

  • Removed:
    swift
    public static func fillGoogleDAI(
        params: GoogleDaiParams
    ) -> [String: Any]

This function has been removed from the SDK and is no longer available starting from version 1.0.1.

Replacement

There is no replacement for this function. If your project relied on fillGoogleDAI(params:), you should remove such calls and the related Google DAI integration from your codebase. If this removal affects your workflows or if you need further guidance, please contact the PPM team at Ringier Advertising for more information.