Changelog and release notes for the Audience Network SDK for iOS.
-loadAd
in favour of -loadAdWithBidPayload:
methods. For more details on Audience Network becoming bidding only refer to our Audience Network blog postXcode 12 required to use Audience Network SDK 6.3.1
Xcode 12 or higher is required to use this version of Audience Network SDK when building your application.
Xcode 12 required to use Audience Network SDK 6.3.0
Xcode 12 or higher is required to use this version of Audience Network SDK when building your application.
In order to monetize on iOS 14 once Apple introduces its new requirements, you will need to use Audience Network SDK 6.2.1+. Please note that this is a change from our previously communicated guidance to use SDK 6.0 or higher.
Within the latest version, there are two important requirements to highlight:
Notice: Audience Network iOS SDK 6.2 is the next version after 6.0 and includes 6.1 changes. We skipped the 6.1 label in order to keep version parity with Android releases.
FBSDKCoreKit_Basics dependency version: >= 7.0.1. We advise you adopt the latest release for best performance and stability. Download FBSDKCoreKit_Basics from GitHub.
This version of Audience Network SDK has been built with Xcode 11.6.
SKAdNetwork: Audience Network iOS SDK 6.2.1 and above are compatible with Apple’s SKAdNetwork. See more on Meta for Developers.
Watch and browse on iOS with improvements from Android learnings.
Another attempt to re-run the alternative adaptive design with minor improvements.
FBSDKCoreKit_Basics dependency version: >= 7.0.1. We advise you adopt the latest release for best performance and stability. Download FBSDKCoreKit_Basics from GitHub.
This version of Audience Network SDK has been built with Xcode 11.6.
See more on Meta for Developers.
All publishers will need to use Audience Network iOS SDK 6.2.1+ in order to monetize with iOS 14 users when Apple introduces their new requirements
FBSDKCoreKit_Basics dependency version: >= 5.6.0. We advise you adopt the latest release for best performance and stability. Download FBSDKCoreKit_Basics from GitHub.
There's an issue affecting Audience Network SDK 5.10.0 for iOS, which results in the app crashing. We're working on a fix that'll likely be in place by July 21, or you can update to FBSDKCoreKit version 7.0.1 or above to avoid the issue.
We've released a Limited Data Use feature to give businesses more control over how their data is used in our systems and better support them with their California Consumer Privacy Act (CCPA) compliance efforts.
FBSDKCoreKit_Basics dependency version: >= 5.6.0. We advise you adopt the latest release for best performance and stability. Download FBSDKCoreKit_Basics from GitHub.
FBSDKCoreKit_Basics dependency version: >= 5.6.0. We advise you adopt the latest release for best performance and stability. Download FBSDKCoreKit_Basics from GitHub.
mediaViewRenderingMethod
removedRemoved deprecated media rendering method from public API. Remove usage of mediaViewRenderingMethod
to ensure that your Audience Network integration continues to work.
Our SDK will no longer successfully link with projects which have bitcode enabled, that are built with Xcode10.
Rewarded video design improvements.
Interstitial design improvements.
UIWebView
RemovedWe have removed all references to UIWebView
which has been deprecated by Apple.
Updated designs for image interstitials.
Updated designs for link-click interstitial end cards.
Changes to networking and caching logic to improve their performance.
We have changed the flag for the label for Mixed Audiences, from isChildDirected
to MixedAudience
. More information on Mixed Audiences and COPPA can be found here:
FBSDKCoreKit_Basics
dependency bumped to version 5.6.0 or greater.ld: warning: instance method 'adnw_URLEncodedString' in category from ... conflicts with same method from another category
There is a conflicting instance method 'adnw_URLEncodedString' that is present in two different categories. There will not be any side effects as the implementation of this method is identical in both places. There is a warning indicating this issue when building in Xcode, it is safe to ignore it.
Size classes are now supported by AN iOS SDK.
zlib
Interstitial and Rewarded Video formats now require Apple's zlib
encoder.
setIdleTimerDisabled
flag setting respected after video playback.FBSDKCoreKit_Basics
dependency bumped to version 5.2.1 or greater.UIImageView
now interchangeable with FBMediaView
for FBNativeBannerAd
FBBSDKCoreKit_Basics
CoreLocation.framework
UIImageView
with FBNativeBannerAd
Native Banner Ads can now be created with UIImageView
. New methods (see below) have been added to allow this. Note that using FBMediaView
is still supported.
@interface FBNativeBannerAd /** This is a method to associate a FBNativeBannerAd with the UIView you will use to display the native ads. @param view The UIView you created to render all the native ads data elements. @param iconImageView The UIImageView you created to render the icon @param viewController The UIViewController that will be used to present SKStoreProductViewController (iTunes Store product information) or the in-app browser. If nil is passed, the top view controller currently shown will be used. The whole area of the UIView will be clickable. */ - (void)registerViewForInteraction:(UIView *)view iconImageView:(UIImageView *)iconImageView viewController:(nullable UIViewController *)viewController; /** This is a method to associate FBNativeBannerAd with the UIView you will use to display the native ads and set clickable areas. @param view The UIView you created to render all the native ads data elements. @param iconImageView The UIImageView you created to render the icon @param viewController The UIViewController that will be used to present SKStoreProductViewController (iTunes Store product information). If nil is passed, the top view controller currently shown will be used. @param clickableViews An array of UIView you created to render the native ads data element, e.g. CallToAction button, Icon image, which you want to specify as clickable. */ - (void)registerViewForInteraction:(UIView *)view iconImageView:(UIImageView *)iconImageView viewController:(nullable UIViewController *)viewController clickableViews:(nullable NSArray<UIView *> *)clickableViews;
Our iOS SDK now uses a new cache for storing downloaded ads. This new cache is more reliable and should reduce the number of caching errors.
FBBSDKCoreKit_Basics
As we're adding FBSDKCoreKit/FBSDKCoreKit_Basics
as a dependency of the iOS SDK, changes will be needed in project dependencies.
For developers using CocoaPods, no code change will be required. Simply run pod repo update and pod install and the project will be automatically updated to the latest version.
For developers integrating manually, a manual dependency to FBSDKCoreKit.framework
has to be added to the project. It can be done by following these steps:
FBSDKCoreKit.framework
and its stripped down version (FBSDKCoreKit_Basics.framework
) from our GitHub release page.If your application is already using FBSDKCoreKit
it needs to be upgraded to FB SDK version 5.0.
This version is identical to 5.3.0 but built with XCode 10.1. Please use this if you are not using XCode 10.2 or later to build your application.
This version will work with XCode 10.2 or later. In case XCode 10.1 is used to build the application, please use Audience Network SDK 5.3.1
FBAdOptionsView
for Native ads which provides greater flexibility