Swiftpack.co -  adform/adform-ios-sdk as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
adform/adform-ios-sdk
adform-ios-sdk
.package(url: "https://github.com/adform/adform-ios-sdk.git", from: "v.2.18.0")

Adform Advertising iOS SDK

Adform brings brand advertising to the programmatic era at scale, making display advertising simple, relevant and rewarding!

iOS 15 support

You can check out the new Adform Advertising SDK version that supports iOS 15 in ios_15 branch.

IMPORTANT - IOS 14 Support

Getting Started

Basic integrations

Advanced integrations

Other

Mediation adapters

Plugins

CHANGELOG

This part lists release notes from all versions of Adform Mobile Advertising iOS SDK.

2.18.4

New Features

  • SDK requires Xcode 12.

Bug fixes

  • Fixes an issue when video ads may shows skip button incorrectly.
  • Fixes video ad fullscreen presentation issues.

2.18.3

New Features

  • Adds debug mode, that can be enabled with AFADebugModeEnabled launch argument. When debug mode is enabled SDK will print additional debug logs into the console.

2.18.2

New Features

  • Add support for custom ad size in interstitial and overlay ads.

2.18.1

New Features

  • Add Swift Package Manager support.

2.18.0

New Features

  • Add iOS 14, AppTrackingTransparency support.
  • Change framework format to .xcframework.

2.17.0

New Features

  • IAB CCPA Compliance Framework support.
  • Update Framework structure.

2.16.0

Bug fixes

  • Fix web view multithreading issues.

2.15.0

New features

  • Remove UIWebView usage.

2.14.0

New features

  • IAB Transparent Consent Framework 2.0 support.

2.13.5

Bug Fixes

  • Fix iOS 13 NSValue crash.

2.13.4

New features

  • Update API for key value and custom parameter removal.

2.13.3

New features

  • Carthage support.

2.13.2

New features

  • VAST 3.0 skip compatability.

2.13.1

New features

  • Xcode 10.0 compatability.

2.12.0

New features

  • Added GDPR support. More info in GDPR.

2.11.0

New features

  • Add delegate methods for in-app browser configuration.

2.10.5

New features

  • Added module map to framework for easier integration to swift projects.

2.10.4

Bug Fixes

  • Fix instream video ad display on AVVideoPlayerViewController.

2.10.3

New Features

  • Added ability to specify banner loading behaviour.

2.10.2

Bug Fixes

  • Fixed issue when banners withou viewport tag were displayed incorrectly.

2.10.1

Bug Fixes

  • Fixed issue with duplicate symbols when using "-all_load" liner flag.

2.10.0

New Features

  • It is now possible to specify which ADX servers SDK should use by setting ADX domain. Check out documentation on how to do it here.

2.9.0

New Features

  • WKWebView support. We have changed SDK to use WKWebView to render HTML banners. WKWebView is used by default on iOS 8+ and UIWebView is used on older iOS versions. If you prefer to use the old UIWebView even on newer iSO versions, you can do this by setting web view type parameter on AdformSDK class.

Additional dependencies

Don't forget to add new dependencies to your project if you are updating our SDK from older version or start using cocoapods.

  • WebKit.framework

2.8.0

New Features

  • Added Search Words support.

Bug Fixes

  • Fixed AFADInterstitial interaction issues.

2.7.2

New Features

  • It is now possible to define multiple key value pairs with the same key for all banners.

Migration from older versions

The new SDK version uses different method for setting key values to a banner. Therefore, if you were setting key values to banners using older sdk you need to update it. You can use two methods to do it:

  1. Create an NSArray with AFKeyValue objects and set it to the banner.
  2. Use "AFKeyValuesFromNSDictionary()" function to convert a NSDictionary with key values that you used to set to the banner, to NSArray with AFKeyValue objects and set it to the banner.

You can find an example here.

2.7.1

New Features

  • With the rollout of iOS 10, the App Store’s privacy policy requires apps to provide a usage description when attempting to access privacy-sensitive data, such as a user’s calendar. To comply with the App Store privacy changes, we removed support for the mraid.createCalendarEvent() and mraid.storePicture() methods.

2.7

New Features

  • Added video ads support in AdOverlay type;
  • Added iOS 10 support;

2.6

New Features

  • Instream ad support;

2.5

New Features

  • Included Adform Header Bidding SDK v.1.0;
  • Add additional 'price' and 'customData' parameters to ad views for header bidding support.

Bug Fixes

  • Minor bug fixes;

2.3.1

New Features

  • Added an option to AdHesion ads to enable close button. By default it is disabled.
  • Added autohide feature to AdHesion ads. If enabled, AdHesion ad will hide when user interacts wit the application and reveal itself when the interaction ends.

Bug Fixes

  • Minnor bug fixes.

2.3

New Features

  • Smart ad size feature - now ad views can dynamically adapt to multiple screen sizes when used with smart ad size. For more details check Smart ad size.
  • Ad tag support - now ad views can load html or url ad tags provided by developer. For more details check Ad Tags.
  • MRAID viewable percentage support - now MRAID banners may listen for viewablePercentageChange event or use getViewablePercentage() method to know how much of the creative is viewable.

Bug Fixes

  • Minnor bug fixes.

2.2.1

Bug Fixes

  • Fixed a bug where ads were not loading on iOS 6 and 7.

2.2

New Features

  • Multiple sizes support.
  • Mraid resize function.
  • HTTPS control.

Bug Fixes

  • Minor bug fixes.

2.1.3

  • Fixes Xcode 7 warnings

2.1.2

  • Adds ability to choose how to open external links

2.1.1

  • iOS 9 compatibility update

2.1

  • Video Ads Support (VAST compatible)
  • Targeting by Keywords and Key Values added

2.0.2

  • Bug Fixes
  • 3rd Party Ads Support

2.0.1

  • Bug Fixes

2.0

New Features

  • New formats introduced: Adhesion, Overlay and Interstitial;
  • Open RTB protocol support;
  • Performance improvements;

Additional dependencies

Don't forget to add new dependencies to your project if you are updating our SDK from older version or start using cocoapods.

  • CoreLocation.framework

0.2.1

New Features

  • Added interstitial ads animation control;

0.2

New Features

  • Added interstitial ads support;

Additional dependencies

Don't forget to add new dependencies to your project if you are updating our SDK from 0.1.x version.

  • EventKit.framework
  • EventKitUI.framework
  • MediaPlayer.framework
  • CoreTelephony.framework

0.1.2

New Features

  • Added refresh Rate override option;
  • Added AFBannerViewDelegate protocol;

0.1.1

Bug Fixes

  • NewRelic library made as optional;

0.1.0

New Features

  • First release;

GitHub

link
Stars: 7
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

13 weeks ago

New Features

  • SDK requires Xcode 12.

Bug fixes

  • Fixes an issue when video ads may show skip button incorrectly.
  • Fixes video ad fullscreen presentation issues.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics