Skip to content

Commit

Permalink
Release Facebook Adapter 4.3.46 Supports SDK 6.15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
maozel committed Aug 25, 2024
1 parent 7691410 commit c67c2b3
Show file tree
Hide file tree
Showing 26 changed files with 689 additions and 88 deletions.
71 changes: 67 additions & 4 deletions Adapters/Facebook/ISFacebookAdapter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@

/* Begin PBXBuildFile section */
727AE1C53983C4A11D853CA2 /* libPods-ISFacebookAdapter.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B6F1C6B6E4B175CA2333467C /* libPods-ISFacebookAdapter.a */; };
C79A07742A9E48910033502E /* ISFacebookConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = C79A07622A9E48910033502E /* ISFacebookConstants.h */; };
A821CEF52C7B6E6A00236789 /* ISFacebookConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = A821CEF42C7B6E6A00236789 /* ISFacebookConstants.h */; };
A821CEF72C7B6EB600236789 /* ISFacebookAdapter+Internal.h in Headers */ = {isa = PBXBuildFile; fileRef = A821CEF62C7B6EB600236789 /* ISFacebookAdapter+Internal.h */; };
A821CF012C7B6ED900236789 /* ISFacebookNativeAdAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = A821CEF82C7B6ED900236789 /* ISFacebookNativeAdAdapter.h */; };
A821CF022C7B6ED900236789 /* ISFacebookNativeAdAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = A821CEF92C7B6ED900236789 /* ISFacebookNativeAdAdapter.m */; };
A821CF032C7B6ED900236789 /* ISFacebookNativeAdData.h in Headers */ = {isa = PBXBuildFile; fileRef = A821CEFA2C7B6ED900236789 /* ISFacebookNativeAdData.h */; };
A821CF042C7B6ED900236789 /* ISFacebookNativeAdData.m in Sources */ = {isa = PBXBuildFile; fileRef = A821CEFB2C7B6ED900236789 /* ISFacebookNativeAdData.m */; };
A821CF052C7B6ED900236789 /* ISFacebookNativeAdDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = A821CEFC2C7B6ED900236789 /* ISFacebookNativeAdDelegate.h */; };
A821CF062C7B6ED900236789 /* ISFacebookNativeAdDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = A821CEFD2C7B6ED900236789 /* ISFacebookNativeAdDelegate.m */; };
A821CF072C7B6ED900236789 /* ISFacebookNativeAdViewBinder.h in Headers */ = {isa = PBXBuildFile; fileRef = A821CEFE2C7B6ED900236789 /* ISFacebookNativeAdViewBinder.h */; };
A821CF082C7B6ED900236789 /* ISFacebookNativeAdViewBinder.m in Sources */ = {isa = PBXBuildFile; fileRef = A821CEFF2C7B6ED900236789 /* ISFacebookNativeAdViewBinder.m */; };
C79A07752A9E48910033502E /* ISFacebookAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = C79A07632A9E48910033502E /* ISFacebookAdapter.h */; };
C79A07762A9E48910033502E /* ISFacebookAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = C79A07642A9E48910033502E /* ISFacebookAdapter.m */; };
C79A07772A9E48910033502E /* ISFacebookRewardedVideoAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = C79A07662A9E48910033502E /* ISFacebookRewardedVideoAdapter.h */; };
Expand All @@ -33,12 +42,21 @@
4CF7DE948E48A63C36CAE9F8 /* Pods-ISTapjoyAdapter.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ISTapjoyAdapter.debug.xcconfig"; path = "Target Support Files/Pods-ISTapjoyAdapter/Pods-ISTapjoyAdapter.debug.xcconfig"; sourceTree = "<group>"; };
71EAE3C88FD938AC25A3D7BE /* Pods-ISTapJoyAdapter.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ISTapJoyAdapter.debug.xcconfig"; path = "Target Support Files/Pods-ISTapJoyAdapter/Pods-ISTapJoyAdapter.debug.xcconfig"; sourceTree = "<group>"; };
8E1EC165A92950DF3B25EED1 /* Pods-ISChartboostAdapter.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ISChartboostAdapter.release.xcconfig"; path = "Target Support Files/Pods-ISChartboostAdapter/Pods-ISChartboostAdapter.release.xcconfig"; sourceTree = "<group>"; };
A821CEF42C7B6E6A00236789 /* ISFacebookConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISFacebookConstants.h; sourceTree = "<group>"; };
A821CEF62C7B6EB600236789 /* ISFacebookAdapter+Internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISFacebookAdapter+Internal.h"; sourceTree = "<group>"; };
A821CEF82C7B6ED900236789 /* ISFacebookNativeAdAdapter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISFacebookNativeAdAdapter.h; sourceTree = "<group>"; };
A821CEF92C7B6ED900236789 /* ISFacebookNativeAdAdapter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ISFacebookNativeAdAdapter.m; sourceTree = "<group>"; };
A821CEFA2C7B6ED900236789 /* ISFacebookNativeAdData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISFacebookNativeAdData.h; sourceTree = "<group>"; };
A821CEFB2C7B6ED900236789 /* ISFacebookNativeAdData.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ISFacebookNativeAdData.m; sourceTree = "<group>"; };
A821CEFC2C7B6ED900236789 /* ISFacebookNativeAdDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISFacebookNativeAdDelegate.h; sourceTree = "<group>"; };
A821CEFD2C7B6ED900236789 /* ISFacebookNativeAdDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ISFacebookNativeAdDelegate.m; sourceTree = "<group>"; };
A821CEFE2C7B6ED900236789 /* ISFacebookNativeAdViewBinder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISFacebookNativeAdViewBinder.h; sourceTree = "<group>"; };
A821CEFF2C7B6ED900236789 /* ISFacebookNativeAdViewBinder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ISFacebookNativeAdViewBinder.m; sourceTree = "<group>"; };
AA5B4F08489A9B346ABDBE48 /* Pods-ISAdColonyAdapter.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ISAdColonyAdapter.release.xcconfig"; path = "Target Support Files/Pods-ISAdColonyAdapter/Pods-ISAdColonyAdapter.release.xcconfig"; sourceTree = "<group>"; };
B6F1C6B6E4B175CA2333467C /* libPods-ISFacebookAdapter.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ISFacebookAdapter.a"; sourceTree = BUILT_PRODUCTS_DIR; };
B71CE3A1CD069CE6442F3BFC /* Pods-ISVungleAdapter.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ISVungleAdapter.release.xcconfig"; path = "Target Support Files/Pods-ISVungleAdapter/Pods-ISVungleAdapter.release.xcconfig"; sourceTree = "<group>"; };
C4ECFDE93EDDD973182ADD7F /* Pods-ISTapJoyAdapter.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ISTapJoyAdapter.release.xcconfig"; path = "Target Support Files/Pods-ISTapJoyAdapter/Pods-ISTapJoyAdapter.release.xcconfig"; sourceTree = "<group>"; };
C7889FF5E37EE76C891938E4 /* Pods-ISTapjoyAdapter.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ISTapjoyAdapter.release.xcconfig"; path = "Target Support Files/Pods-ISTapjoyAdapter/Pods-ISTapjoyAdapter.release.xcconfig"; sourceTree = "<group>"; };
C79A07622A9E48910033502E /* ISFacebookConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISFacebookConstants.h; sourceTree = "<group>"; };
C79A07632A9E48910033502E /* ISFacebookAdapter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISFacebookAdapter.h; sourceTree = "<group>"; };
C79A07642A9E48910033502E /* ISFacebookAdapter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ISFacebookAdapter.m; sourceTree = "<group>"; };
C79A07662A9E48910033502E /* ISFacebookRewardedVideoAdapter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISFacebookRewardedVideoAdapter.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -88,6 +106,22 @@
path = Pods;
sourceTree = "<group>";
};
A821CF002C7B6ED900236789 /* NativeAd */ = {
isa = PBXGroup;
children = (
A821CEF82C7B6ED900236789 /* ISFacebookNativeAdAdapter.h */,
A821CEF92C7B6ED900236789 /* ISFacebookNativeAdAdapter.m */,
A821CEFA2C7B6ED900236789 /* ISFacebookNativeAdData.h */,
A821CEFB2C7B6ED900236789 /* ISFacebookNativeAdData.m */,
A821CEFC2C7B6ED900236789 /* ISFacebookNativeAdDelegate.h */,
A821CEFD2C7B6ED900236789 /* ISFacebookNativeAdDelegate.m */,
A821CEFE2C7B6ED900236789 /* ISFacebookNativeAdViewBinder.h */,
A821CEFF2C7B6ED900236789 /* ISFacebookNativeAdViewBinder.m */,
);
name = NativeAd;
path = ISFacebookAdapter/NativeAd;
sourceTree = SOURCE_ROOT;
};
BC81E8CEBEBC633400C70159 /* Frameworks */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -150,11 +184,13 @@
EFE27C0628337CC500391127 /* ISFacebookAdapter */ = {
isa = PBXGroup;
children = (
A821CF002C7B6ED900236789 /* NativeAd */,
C79A076A2A9E48910033502E /* Banner */,
C79A076F2A9E48910033502E /* Interstitial */,
C79A07632A9E48910033502E /* ISFacebookAdapter.h */,
A821CEF62C7B6EB600236789 /* ISFacebookAdapter+Internal.h */,
A821CEF42C7B6E6A00236789 /* ISFacebookConstants.h */,
C79A07642A9E48910033502E /* ISFacebookAdapter.m */,
C79A07622A9E48910033502E /* ISFacebookConstants.h */,
C79A07652A9E48910033502E /* RewardedVideo */,
);
path = ISFacebookAdapter;
Expand All @@ -168,12 +204,17 @@
buildActionMask = 2147483647;
files = (
C79A07802A9E48910033502E /* ISFacebookInterstitialAdapter.h in Headers */,
A821CEF72C7B6EB600236789 /* ISFacebookAdapter+Internal.h in Headers */,
A821CF072C7B6ED900236789 /* ISFacebookNativeAdViewBinder.h in Headers */,
C79A07752A9E48910033502E /* ISFacebookAdapter.h in Headers */,
A821CF052C7B6ED900236789 /* ISFacebookNativeAdDelegate.h in Headers */,
C79A077F2A9E48910033502E /* ISFacebookInterstitialDelegate.h in Headers */,
C79A077C2A9E48910033502E /* ISFacebookBannerAdapter.h in Headers */,
C79A07742A9E48910033502E /* ISFacebookConstants.h in Headers */,
A821CEF52C7B6E6A00236789 /* ISFacebookConstants.h in Headers */,
A821CF012C7B6ED900236789 /* ISFacebookNativeAdAdapter.h in Headers */,
C79A07772A9E48910033502E /* ISFacebookRewardedVideoAdapter.h in Headers */,
C79A077A2A9E48910033502E /* ISFacebookRewardedVideoDelegate.h in Headers */,
A821CF032C7B6ED900236789 /* ISFacebookNativeAdData.h in Headers */,
C79A077E2A9E48910033502E /* ISFacebookBannerDelegate.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -191,6 +232,7 @@
EFE27C0128337CC500391127 /* Frameworks */,
EFE27C0228337CC500391127 /* Resources */,
EFE27C1C28337E5800391127 /* Create XCFramework */,
2848245F7AF8F285EC7DA3F5 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -244,6 +286,23 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
2848245F7AF8F285EC7DA3F5 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ISFacebookAdapter/Pods-ISFacebookAdapter-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ISFacebookAdapter/Pods-ISFacebookAdapter-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ISFacebookAdapter/Pods-ISFacebookAdapter-resources.sh\"\n";
showEnvVarsInLog = 0;
};
EC959F3FC840634FE254C06B /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -291,12 +350,16 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A821CF042C7B6ED900236789 /* ISFacebookNativeAdData.m in Sources */,
C79A077B2A9E48910033502E /* ISFacebookBannerDelegate.m in Sources */,
A821CF022C7B6ED900236789 /* ISFacebookNativeAdAdapter.m in Sources */,
C79A077D2A9E48910033502E /* ISFacebookBannerAdapter.m in Sources */,
C79A07822A9E48910033502E /* ISFacebookInterstitialAdapter.m in Sources */,
C79A07812A9E48910033502E /* ISFacebookInterstitialDelegate.m in Sources */,
A821CF062C7B6ED900236789 /* ISFacebookNativeAdDelegate.m in Sources */,
C79A07792A9E48910033502E /* ISFacebookRewardedVideoAdapter.m in Sources */,
C79A07782A9E48910033502E /* ISFacebookRewardedVideoDelegate.m in Sources */,
A821CF082C7B6ED900236789 /* ISFacebookNativeAdViewBinder.m in Sources */,
C79A07762A9E48910033502E /* ISFacebookAdapter.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// ISFacebookBannerAdapter.h
// ISFacebookAdapter
//
// Copyright © 2024 ironSource. All rights reserved.
// Copyright © 2023 ironSource. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <ISFacebookAdapter.h>
#import "ISFacebookAdapter+Internal.h"

@interface ISFacebookBannerAdapter : ISBaseBannerAdapter

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
// ISFacebookBannerAdapter.m
// ISFacebookAdapter
//
// Copyright © 2024 ironSource. All rights reserved.
// Copyright © 2023 ironSource. All rights reserved.
//

#import "ISFacebookBannerAdapter.h"
#import <ISFacebookBannerDelegate.h>
#import <FBAudienceNetwork/FBAudienceNetwork.h>
#import "ISFacebookBannerAdapter.h"
#import "ISFacebookBannerDelegate.h"

@interface ISFacebookBannerAdapter ()

Expand Down Expand Up @@ -196,19 +196,6 @@ - (NSDictionary *)getBannerBiddingDataWithAdapterConfig:(ISAdapterConfig *)adapt
return [self.adapter getBiddingData];
}

- (void)collectBannerBiddingDataWithAdapterConfig:(ISAdapterConfig *)adapterConfig
adData:(NSDictionary *)adData
delegate:(id<ISBiddingDataDelegate>)delegate {
NSDictionary *biddingDataMap = [self getBannerBiddingDataWithAdapterConfig:adapterConfig
adData:adData];

if (biddingDataMap) {
[delegate successWithBiddingData:biddingDataMap];
} else {
[delegate failureWithError:@"bidding data map is null"];
}
}

#pragma mark - Init Delegate

- (void)onNetworkInitCallbackSuccess {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ISFacebookBannerDelegate.h
// ISFacebookAdapter
//
// Copyright © 2024 ironSource Mobile Ltd. All rights reserved.
// Copyright © 2023 ironSource Mobile Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// ISFacebookBannerDelegate.m
// ISFacebookAdapter
//
// Copyright © 2024 ironSource Mobile Ltd. All rights reserved.
// Copyright © 2023 ironSource Mobile Ltd. All rights reserved.
//

#import <ISFacebookBannerDelegate.h>
#import <ISFacebookConstants.h>
#import "ISFacebookBannerDelegate.h"
#import "ISFacebookConstants.h"

@implementation ISFacebookBannerDelegate

Expand Down
12 changes: 12 additions & 0 deletions Adapters/Facebook/ISFacebookAdapter/ISFacebookAdapter+Internal.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#import "ISFacebookAdapter.h"
#import "ISFacebookConstants.h"

@interface ISFacebookAdapter()

- (void)initSDKWithPlacementIds:(NSString *)allPlacementIds;

- (NSDictionary *)getBiddingData;

- (InitState)getInitState;

@end
13 changes: 3 additions & 10 deletions Adapters/Facebook/ISFacebookAdapter/ISFacebookAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
// ISFacebookAdapter.h
// ISFacebookAdapter
//
// Copyright © 2024 ironSource Mobile Ltd. All rights reserved.
// Copyright © 2023 ironSource Mobile Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <IronSource/ISBaseAdapter+Internal.h>
#import <IronSource/IronSource.h>
#import <ISFacebookConstants.h>

static NSString * const FacebookAdapterVersion = @"4.3.45";
static NSString * Githash = @"";
static NSString * const FacebookAdapterVersion = @"4.3.46";
static NSString * Githash = @"7691410";

//System Frameworks For Facebook Adapter
@import AdSupport;
Expand All @@ -34,10 +33,4 @@ static NSString * Githash = @"";

@interface ISFacebookAdapter : ISBaseAdapter

- (void)initSDKWithPlacementIds:(NSString *)allPlacementIds;

- (NSDictionary *)getBiddingData;

- (InitState)getInitState;

@end
16 changes: 11 additions & 5 deletions Adapters/Facebook/ISFacebookAdapter/ISFacebookAdapter.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
// ISFacebookAdapter.m
// ISFacebookAdapter
//
// Copyright © 2024 ironSource Mobile Ltd. All rights reserved.
// Copyright © 2023 ironSource Mobile Ltd. All rights reserved.
//

#import <ISFacebookAdapter.h>
#import <ISFacebookRewardedVideoAdapter.h>
#import <ISFacebookInterstitialAdapter.h>
#import <ISFacebookBannerAdapter.h>
#import <FBAudienceNetwork/FBAudienceNetwork.h>

#import "ISFacebookAdapter.h"
#import "ISFacebookRewardedVideoAdapter.h"
#import "ISFacebookInterstitialAdapter.h"
#import "ISFacebookBannerAdapter.h"
#import <ISFacebookNativeAdAdapter.h>

// Handle init callback for all adapter instances
static ISConcurrentMutableSet<ISNetworkInitCallbackProtocol> *initCallbackDelegates = nil;
static InitState initState = INIT_STATE_NONE;
Expand Down Expand Up @@ -56,6 +58,10 @@ - (instancetype)initAdapter:(NSString *)name
ISFacebookBannerAdapter *bannerAdapter = [[ISFacebookBannerAdapter alloc] initWithFacebookAdapter:self];
[self setBannerAdapter:bannerAdapter];

// NativeAd
ISFacebookNativeAdAdapter *netiveAdAdapter = [[ISFacebookNativeAdAdapter alloc] initWithFacebookAdapter:self];
[self setNativeAdAdapter:netiveAdAdapter];

// The network's capability to load a Rewarded Video ad while another Rewarded Video ad of that network is showing
LWSState = LOAD_WHILE_SHOW_BY_INSTANCE;
}
Expand Down
4 changes: 2 additions & 2 deletions Adapters/Facebook/ISFacebookAdapter/ISFacebookConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ISFacebookConstants.h
// ISFacebookAdapter
//
// Copyright © 2024 ironSource. All rights reserved.
// Copyright © 2023 ironSource. All rights reserved.
//

// Mediation keys
Expand All @@ -19,7 +19,7 @@ static NSString * const kMetaDataMixAudienceKey = @"meta_mixed_audience";
// Meta error codes
static NSInteger kMetaNoFillErrorCode = 1001;

// init state possible values
// Init state
typedef NS_ENUM(NSInteger, InitState) {
INIT_STATE_NONE,
INIT_STATE_IN_PROGRESS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// ISFacebookInterstitialAdapter.h
// ISFacebookAdapter
//
// Copyright © 2024 ironSource. All rights reserved.
// Copyright © 2023 ironSource. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <ISFacebookAdapter.h>
#import "ISFacebookAdapter+Internal.h"

@interface ISFacebookInterstitialAdapter : ISBaseInterstitialAdapter

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
// ISFacebookInterstitialAdapter.m
// ISFacebookAdapter
//
// Copyright © 2024 ironSource. All rights reserved.
// Copyright © 2023 ironSource. All rights reserved.
//

#import "ISFacebookInterstitialAdapter.h"
#import <ISFacebookInterstitialDelegate.h>
#import <FBAudienceNetwork/FBAudienceNetwork.h>
#import "ISFacebookInterstitialAdapter.h"
#import "ISFacebookInterstitialDelegate.h"

@interface ISFacebookInterstitialAdapter ()

Expand Down Expand Up @@ -194,19 +194,6 @@ - (NSDictionary *)getInterstitialBiddingDataWithAdapterConfig:(ISAdapterConfig *
return [self.adapter getBiddingData];
}

- (void)collectInterstitialBiddingDataWithAdapterConfig:(ISAdapterConfig *)adapterConfig
adData:(NSDictionary *)adData
delegate:(id<ISBiddingDataDelegate>)delegate {
NSDictionary *biddingDataMap = [self getInterstitialBiddingDataWithAdapterConfig:adapterConfig
adData:adData];

if (biddingDataMap) {
[delegate successWithBiddingData:biddingDataMap];
} else {
[delegate failureWithError:@"bidding data map is null"];
}
}

#pragma mark - Init Delegate

- (void)onNetworkInitCallbackSuccess {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ISFacebookInterstitialDelegate.h
// ISFacebookAdapter
//
// Copyright © 2024 ironSource Mobile Ltd. All rights reserved.
// Copyright © 2023 ironSource Mobile Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
Loading

0 comments on commit c67c2b3

Please sign in to comment.