Skip to content

Commit

Permalink
Update AdMob SDK 8.10.0
Browse files Browse the repository at this point in the history
Update iOS Audience Network SDK 6.6.0
Update iOS Facebook Adapter 6.6.0.0
Update InMobi SDK 9.2.1
Update InMobiAdapter 9.2.1.0
  • Loading branch information
Astrovic committed Oct 1, 2021
1 parent bbab0ac commit 950b68f
Show file tree
Hide file tree
Showing 293 changed files with 13,334 additions and 185 deletions.
42 changes: 42 additions & 0 deletions ios/FBAudienceNetwork.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>FBAudienceNetwork.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>FBAudienceNetwork.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ FB_CLASS_EXPORT
/**
FBAdExperienceConfig is class designed to add some configuration to ad experience
*/
@interface FBAdExperienceConfig : NSObject
@interface FBAdExperienceConfig : NSObject <NSCopying>

/**
Ad experience type to set up
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ typedef NS_ENUM(NSInteger, FBAdTestAdType) {
/// carousel ad with square video and link CTA option
FBAdTestAdType_Carousel_Vid_Square_Link,
/// sample playable ad with app install CTA
FBAdTestAdType_Playable
FBAdTestAdType_Playable,
/// Redirect to Facebok - Facebook Rewarded Video experience
FBAdTestAdType_FBRV
};

@protocol FBAdLoggingDelegate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ FB_EXPORT FBAdSize const kFBAdSizeHeight50Banner;
*/
FB_EXPORT FBAdSize const kFBAdSizeHeight90Banner;

/**
Represents the flexible dynamic banner ad size, where banner width depends on
its container width, and banner height is set by the backend.
*/
FB_EXPORT FBAdSize const kFBAdDynamicSizeHeightBanner;

/**
Represents the interstitial ad size.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,15 @@ FB_CLASS_EXPORT
*/
- (void)adViewWillLogImpression:(FBAdView *)adView;

/**
Sent when the dynamic height of an FBAdView is set dynamically.
@param adView An FBAdView object sending the message.
@param dynamicHeight The height that needs to be set dynamically.
*/

- (void)adView:(FBAdView *)adView setDynamicHeight:(double)dynamicHeight;

/**
Asks the delegate for a view controller to present modal content, such as the in-app
browser that can appear when an ad is clicked.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#import <FBAudienceNetwork/FBAdSettings.h>
#import <FBAudienceNetwork/FBAdView.h>
#import <FBAudienceNetwork/FBAudienceNetworkAds.h>
#import <FBAudienceNetwork/FBDynamicBannerAd.h>
#import <FBAudienceNetwork/FBInterstitialAd.h>
#import <FBAudienceNetwork/FBMediaView.h>
#import <FBAudienceNetwork/FBMediaViewVideoRenderer.h>
Expand Down Expand Up @@ -57,4 +58,4 @@
// NOTE: Any changes should also be made to the module.modulemap
// to ensure comptability with Swift apps using Cocoapods

#define FB_AD_SDK_VERSION @"6.4.1"
#define FB_AD_SDK_VERSION @"6.6.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
// Copyright 2004-present Facebook. All Rights Reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <Foundation/Foundation.h>

#import <FBAudienceNetwork/FBAdCompanionView.h>
#import <FBAudienceNetwork/FBAdDefines.h>
#import <FBAudienceNetwork/FBAdExtraHint.h>
#import <FBAudienceNetwork/FBAdView.h>

NS_ASSUME_NONNULL_BEGIN

@protocol FBDynamicBannerAdDelegate;

/**
A modal view controller to represent a Facebook dynamic banner ad. This
is a full-screen ad shown in your application.
*/
FB_CLASS_EXPORT FB_SUBCLASSING_RESTRICTED @interface FBDynamicBannerAd : NSObject

/**
Typed access to the id of the ad placement.
*/
@property (nonatomic, copy, readonly) NSString *placementID;
/**
The delegate.
*/
@property (nonatomic, weak, nullable) id<FBDynamicBannerAdDelegate> delegate;
/**
FBAdExtraHint to provide extra info
*/
@property (nonatomic, strong, nullable) FBAdExtraHint *extraHint;

/**
This is a method to initialize an FBDynamicBannerAd matching the given placement id.
@param placementID The id of the ad placement. You can create your placement id from Facebook developers page.
*/
- (instancetype)initWithPlacementID:(NSString *)placementID;

/**
Returns true if the dynamic banner ad has been successfully loaded.
You should check `isAdValid` before trying to show the ad.
*/
@property (nonatomic, getter=isAdValid, readonly) BOOL adValid;

/**
Begins loading the FBDynamicBannerAd content.
You can implement `dynamicBannerAdDidLoad:` and `dynamicBannerAd:didFailWithError:` methods
of `FBDynamicBannerAdDelegate` if you would like to be notified as loading succeeds or fails.
*/
- (void)loadAd;

/**
Begins loading the FBDynamicBannerAd content from a bid payload attained through a server side bid.
You can implement `adViewDidLoad:` and `adView:didFailWithError:` methods
of `FBAdViewDelegate` if you would like to be notified as loading succeeds or fails.
@param bidPayload The payload of the ad bid. You can get your bid id from Facebook bidder endpoint.
*/
- (void)loadAdWithBidPayload:(NSString *)bidPayload;

/**
Presents the dynamic banner ad modally from the specified view controller.
@param rootViewController The view controller that will be used to present the dynamic banner ad.
You can implement `dynamicBannerAdDidClick:`, `dynamicBannerAdWillClose:` and `dynamicBannerAdWillClose`
methods of `FBDynamicBannerAdDelegate` if you would like to stay informed for thoses events
*/
- (void)showAdFromRootViewController:(nullable UIViewController *)rootViewController;

/**
Changes the visibility of the dynamic banner ad.
@param visible Boolean set to true in order to make the dynamic banner ad visible or false otherwise.
*/
- (void)setVisibility:(BOOL)visible;

@end

/**
The methods declared by the FBDynamicBannerAdDelegate protocol allow the adopting delegate to respond
to messages from the FBDynamicBannerAd class and thus respond to operations such as whether the
dynamic banner ad has been loaded, user has clicked or closed the dynamic banner.
*/
@protocol FBDynamicBannerAdDelegate <NSObject>

@optional

/**
Sent after an ad in the FBDynamicBannerAd object is clicked. The appropriate app store view or
app browser will be launched.
@param dynamicBannerAd An FBDynamicBannerAd object sending the message.
*/
- (void)dynamicBannerAdDidClick:(FBDynamicBannerAd *)dynamicBannerAd;

/**
Sent after an FBDynamicBannerAd object has been dismissed from the screen, returning control
to your application.
@param dynamicBannerAd An FBDynamicBannerAd object sending the message.
*/
- (void)dynamicBannerAdDidClose:(FBDynamicBannerAd *)dynamicBannerAd;

/**
Sent immediately before an FBDynamicBannerAd object will be dismissed from the screen.
@param dynamicBannerAd An FBDynamicBannerAd object sending the message.
*/
- (void)dynamicBannerAdWillClose:(FBDynamicBannerAd *)dynamicBannerAd;

/**
Sent when an FBDynamicBannerAd successfully loads an ad.
@param dynamicBannerAd An FBDynamicBannerAd object sending the message.
*/
- (void)dynamicBannerAdDidLoad:(FBDynamicBannerAd *)dynamicBannerAd;

/**
Sent when an FBDynamicBannerAd failes to load an ad.
@param dynamicBannerAd An FBDynamicBannerAd object sending the message.
@param error An error object containing details of the error.
*/
- (void)dynamicBannerAd:(FBDynamicBannerAd *)dynamicBannerAd didFailWithError:(NSError *)error;

/**
Sent immediately before the impression of an FBDynamicBannerAd object will be logged.
@param dynamicBannerAd An FBDynamicBannerAd object sending the message.
*/
- (void)dynamicBannerAdWillLogImpression:(FBDynamicBannerAd *)dynamicBannerAd;

/**
When an ad is clicked, the modal view will be presented. And when the user finishes the
interaction with the modal view and dismiss it, this message will be sent, returning control
to the application.
@param dynamicBannerAd An FBDynamicBannerAd object sending the message.
*/

- (void)dynamicBannerAdDidFinishHandlingClick:(FBDynamicBannerAd *)dynamicBannerAd;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ typedef NS_ENUM(NSInteger, FBNativeAdsCachePolicy) {
/**
The Internal representation of an Ad
*/
@interface FBNativeAdBase : NSObject
@interface FBNativeAdBase : NSObject <NSCopying>
/**
Typed access to the id of the ad placement.
*/
Expand Down
Loading

0 comments on commit 950b68f

Please sign in to comment.