Skip to content

Commit

Permalink
[NAMSDK] Update 8.3.0 Version.
Browse files Browse the repository at this point in the history
  • Loading branch information
namsdk-ios-distribution committed Jan 16, 2025
1 parent bab4a7f commit 2fee403
Show file tree
Hide file tree
Showing 75 changed files with 338 additions and 101 deletions.
2 changes: 1 addition & 1 deletion NAMSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = "NAMSDK"
s.version = "8.2.0"
s.version = "8.3.0"
s.summary = "Naver Mobile Ads Mediation SDK"
s.description = <<-DESC
NAM wiil find the best available ad network to fill your ad slots.
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* 광고 클릭 후 렌더링 타입
*/
@property (nonatomic, strong) GFPRenderDisplayAgent *displayAgent;
@property (nonatomic, strong) GFPRenderDisplayAgent *displayAgent; __deprecated_msg("Use S2S Click Handler or Default InApp Browser instead. it will be removed next version");


/**
Expand Down Expand Up @@ -138,6 +138,11 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic, assign) BOOL disableNeloLog;

/**
* s2s광고 랜딩 시 기본 제공 인앱 브라우저 사용 여부 (기본값 NO)
*/
@property (nonatomic, assign) BOOL useDefaultSafariBrowser;

/**
* 기기에서의 허용 여부와 상관 없이 앱의 정책 상 IDFA 사용이 불가한 경우 무시하는 옵션 (기본값 NO)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ NS_ASSUME_NONNULL_BEGIN
- (void)bannerAdaptor:(GFPAdAdaptor <GFPBannerAdapting> *)bannerAdaptor didChangeWith:(NSDictionary *)adMeta;
- (void)bannerAdWasMuted:(GFPAdAdaptor <GFPBannerAdapting> *)bannerAdaptor;

@optional
- (void)bannerAdaptorDidPresentDefaultInAppBrowser:(GFPAdAdaptor <GFPBannerAdapting> *)bannerAdaptor;
- (void)bannerAdaptorDidDismissDefaultInAppBrowser:(GFPAdAdaptor <GFPBannerAdapting> *)bannerAdaptor;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,19 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)bannerAdWasMuted:(GFPBannerView *)bannerView;


/**
* Default In App Browser 사용 시, 클릭이 이루어져서 SFSafariViewController가 정상적으로 Present 시 호출됩니다.
* @param bannerView GFPBannerView
*/
- (void)bannerAdDidPresentDefaultInAppBrowser:(GFPBannerView *)bannerView;

/**
* Default In App Browser 사용 시, 클릭이 이루어져서 SFSafariViewController가 정상적으로 Dismiss 시 호출됩니다.
* @param bannerView GFPBannerView
*/
- (void)bannerAdDidDismissDefaultInAppBrowser:(GFPBannerView *)bannerView;

@end

NS_ASSUME_NONNULL_END
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,30 @@

@class GFPSKAdNetworkInfo;
@class UIViewController;
@class GFPClickLandingUtil;
@protocol GFPS2SAdClickDelegate;

NS_ASSUME_NONNULL_BEGIN

@protocol GFPClickLandingUtilDelegate <NSObject>

- (void)didPresentDefaultInAppBrowse:(GFPClickLandingUtil *)landingUtil;
- (void)didDissmissDefaultInAppBrowse:(GFPClickLandingUtil *)landingUtil;

@end

@interface GFPClickLandingUtil : NSObject

@property (nonatomic, strong) NSString *url;
@property (nonatomic, assign) BOOL forceURLLanding;

@property (nonatomic, assign, readonly) BOOL useCustomClick;

- (instancetype)init NS_UNAVAILABLE;

- (instancetype)initWith:(UIViewController * _Nullable)aTarget
skAdNetwork:(GFPSKAdNetworkInfo * _Nullable)aSKAdNetwork
clickDelegate:(id <GFPS2SAdClickDelegate> _Nullable)clickDelegate NS_DESIGNATED_INITIALIZER;
clickDelegate:(id <GFPS2SAdClickDelegate> _Nullable)clickDelegate
inAppLandingDelegate:(id<GFPClickLandingUtilDelegate> _Nullable)landingDelegate NS_DESIGNATED_INITIALIZER;

- (void)openLanding:(GFPS2SAdLandingHandler)aCompletion;
- (void)openLandingForExceptSKAdn:(GFPS2SAdLandingHandler)aCompletion;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

NS_ASSUME_NONNULL_BEGIN

#define GFP_SDK_VERSION @"8.2.0"
#define GFP_SDK_VERSION @"8.3.0"

@interface GFPCoreConfig : NSObject

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)nativeAd:(GFPNativeAd *)nativeAd didReloadFailWithError:(GFPError *)error;

/**
* Default In App Browser 사용 시, SFSafariViewController가 정상적으로 Present 시 호출됩니다.
* @param nativeAd 네이티브 광고 객체
*/
- (void)nativeAdDidPresentDefaultInAppBrowser:(GFPNativeAd *)nativeAd;

/**
* Default In App Browser 사용 시, SFSafariViewController가 정상적으로 Dismiss 시 호출됩니다.
* @param nativeAd 네이티브 광고 객체
*/
- (void)nativeAdDidDismissDefaultInAppBrowser:(GFPNativeAd *)nativeAd;

@end

Expand Down Expand Up @@ -139,6 +150,18 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)nativeSimpleRichAdShrinkStart:(GFPNativeSimpleAd *)nativeSimpleAd toSize:(CGSize)size;

/**
* Default In App Browser 사용 시, 클릭이 이루어져서 SFSafariViewController가 정상적으로 Present 시 호출됩니다.
* @param nativeSimpleAd 네이티브 광고 객체
*/
- (void)nativeSimpleAdDidPresentDefaultInAppBrowser:(GFPNativeSimpleAd *)nativeSimpleAd;

/**
* Default In App Browser 사용 시, 클릭이 이루어져서 SFSafariViewController가 정상적으로 Dismiss 시 호출됩니다.
* @param nativeSimpleAd 네이티브 광고 객체
*/
- (void)nativeSimpleAdDidDismissDefaultInAppBrowser:(GFPNativeSimpleAd *)nativeSimpleAd;

@end

@protocol GFPNativeVideoEventDelegate <NSObject>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ NS_ASSUME_NONNULL_BEGIN
- (void)nativeAdAdaptor:(GFPAdAdaptor <GFPNativeAdapting> *)nativeAdAdaptor didReloadFailWithError:(GFPError *)error;
- (void)nativeAdAdaptor:(GFPAdAdaptor <GFPNativeAdapting> *)nativeAdAdaptor didChangeUserInterest:(BOOL)userInterest;

- (void)nativeAdAdaptorDidPresentDefaultInAppBrowser:(GFPAdAdaptor <GFPNativeAdapting> *)nativeAdAdaptor;
- (void)nativeAdAdaptorDidDismissDefaultInAppBrowser:(GFPAdAdaptor <GFPNativeAdapting> *)nativeAdAdaptor;


@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ NS_ASSUME_NONNULL_BEGIN
- (void)nonLinearViewWasClicked:(GFPNonLinearAdView *)aView;
- (void)nonLinearViewOnActiveImpression:(GFPNonLinearAdView *)aView;

@optional
- (void)nonLinearViewInAppBrowserPresented:(GFPNonLinearAdView *)aView;
- (void)nonLinearViewInAppBrowserDissmissed:(GFPNonLinearAdView *)aView;

@end


Expand All @@ -61,7 +65,8 @@ NS_ASSUME_NONNULL_BEGIN

- (void)reportViewTracking;
- (void)updateRemindAd;
- (void)updateClickDelegate:(id <GFPS2SAdClickDelegate>)clickDelegate;
- (void)updateClickDelegate:(id <GFPS2SAdClickDelegate>)clickDelegate
targetController:(UIViewController * _Nullable)rootViewController;

- (void)wasClicked:(id)sender;
- (IBAction)close:(id)sender;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ NS_ASSUME_NONNULL_BEGIN

- (void)rewardedAdAdaptor:(GFPAdAdaptor <GFPRewardedAdAdapting> *)rewardedAdAdaptor didChangedMute:(BOOL)isMuted;

@optional
- (void)rewardedAdAdaptorDidPresentDefaultInAppBrowser:(GFPAdAdaptor <GFPRewardedAdAdapting> *)rewardedAdAdaptor;
- (void)rewardedAdAdaptorDidDismissDefaultInAppBrowser:(GFPAdAdaptor <GFPRewardedAdAdapting> *)rewardedAdAdaptor;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,8 @@
- (void)rewardedAdRecieveImpression:(GFPRewardedAd *)rewardedAd;

- (void)rewardedAd:(GFPRewardedAd *)rewardedAd didChangedMute:(BOOL)isMuted;

@optional
- (void)rewardedAdDidPresentDefaultInAppBrowser:(GFPRewardedAd *)rewardedAd;
- (void)rewardedAdDidDismissDefaultInAppBrowser:(GFPRewardedAd *)rewardedAd;
@end
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ NS_ASSUME_NONNULL_BEGIN

@optional
-(void)rewardedAdManager:(GFPRewardedAdManager *)manager didChangedMute:(BOOL)isMuted;

-(void)rewardedAdManagerDidPresentDefaultInAppBrowser:(GFPRewardedAdManager *)manager;
-(void)rewardedAdManagerDidDismissDefaultInAppBrowser:(GFPRewardedAdManager *)manager;
@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,19 @@ didReceiveAccessLogEvents:(NSArray<AVPlayerItemAccessLogEvent *> *)accessLogEven
*/
- (void)videoAdManager:(GFPVideoAdManager *)videoAdManager playControlWillShow:(NSTimeInterval)duration;

/**
* Default In App Browser 사용 시, SFSafariViewController가 정상적으로 Present 시 호출됩니다.
* @param videoAdManager 비디오 광고 매니저
*/
- (void)videoAdManagerDidPresentDefaultInAppBrowser:(GFPVideoAdManager *)videoAdManager;

/**
* Default In App Browser 사용 시, SFSafariViewController가 정상적으로 Dismiss 시 호출됩니다.
* @param videoAdManager 비디오 광고 매니저
*/
- (void)videoAdManagerDidDismissDefaultInAppBrowser:(GFPVideoAdManager *)videoAdManager;


@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ didReceiveAccessLogEvents:(NSArray<AVPlayerItemAccessLogEvent *> *)accessLogEven

- (void)videoAdAdaptor:(GFPAdAdaptor <GFPVideoAdapting> *)videoAdaptor playControlWillHide:(NSTimeInterval)duration;

- (void)videoAdAdaptorDidPresentDefaultInAppBrowser:(GFPAdAdaptor <GFPVideoAdapting> *)videoAdaptor;
- (void)videoAdAdaptorDidDismissDefaultInAppBrowser:(GFPAdAdaptor <GFPVideoAdapting> *)videoAdaptor;


@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -11525,6 +11525,13 @@
"RawDocComment"
]
},
{
"kind": "Import",
"name": "SafariServices",
"printedName": "SafariServices",
"declKind": "Import",
"moduleName": "GFPSDK"
},
{
"kind": "Import",
"name": "NaverAdsServices",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import CoreTelephony
import Foundation
@_exported import GFPSDK
import NaverAdsServices
import SafariServices
import Swift
import UIKit
import WebKit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import CoreTelephony
import Foundation
@_exported import GFPSDK
import NaverAdsServices
import SafariServices
import Swift
import UIKit
import WebKit
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* 광고 클릭 후 렌더링 타입
*/
@property (nonatomic, strong) GFPRenderDisplayAgent *displayAgent;
@property (nonatomic, strong) GFPRenderDisplayAgent *displayAgent; __deprecated_msg("Use S2S Click Handler or Default InApp Browser instead. it will be removed next version");


/**
Expand Down Expand Up @@ -138,6 +138,11 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic, assign) BOOL disableNeloLog;

/**
* s2s광고 랜딩 시 기본 제공 인앱 브라우저 사용 여부 (기본값 NO)
*/
@property (nonatomic, assign) BOOL useDefaultSafariBrowser;

/**
* 기기에서의 허용 여부와 상관 없이 앱의 정책 상 IDFA 사용이 불가한 경우 무시하는 옵션 (기본값 NO)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ NS_ASSUME_NONNULL_BEGIN
- (void)bannerAdaptor:(GFPAdAdaptor <GFPBannerAdapting> *)bannerAdaptor didChangeWith:(NSDictionary *)adMeta;
- (void)bannerAdWasMuted:(GFPAdAdaptor <GFPBannerAdapting> *)bannerAdaptor;

@optional
- (void)bannerAdaptorDidPresentDefaultInAppBrowser:(GFPAdAdaptor <GFPBannerAdapting> *)bannerAdaptor;
- (void)bannerAdaptorDidDismissDefaultInAppBrowser:(GFPAdAdaptor <GFPBannerAdapting> *)bannerAdaptor;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,19 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)bannerAdWasMuted:(GFPBannerView *)bannerView;


/**
* Default In App Browser 사용 시, 클릭이 이루어져서 SFSafariViewController가 정상적으로 Present 시 호출됩니다.
* @param bannerView GFPBannerView
*/
- (void)bannerAdDidPresentDefaultInAppBrowser:(GFPBannerView *)bannerView;

/**
* Default In App Browser 사용 시, 클릭이 이루어져서 SFSafariViewController가 정상적으로 Dismiss 시 호출됩니다.
* @param bannerView GFPBannerView
*/
- (void)bannerAdDidDismissDefaultInAppBrowser:(GFPBannerView *)bannerView;

@end

NS_ASSUME_NONNULL_END
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,30 @@

@class GFPSKAdNetworkInfo;
@class UIViewController;
@class GFPClickLandingUtil;
@protocol GFPS2SAdClickDelegate;

NS_ASSUME_NONNULL_BEGIN

@protocol GFPClickLandingUtilDelegate <NSObject>

- (void)didPresentDefaultInAppBrowse:(GFPClickLandingUtil *)landingUtil;
- (void)didDissmissDefaultInAppBrowse:(GFPClickLandingUtil *)landingUtil;

@end

@interface GFPClickLandingUtil : NSObject

@property (nonatomic, strong) NSString *url;
@property (nonatomic, assign) BOOL forceURLLanding;

@property (nonatomic, assign, readonly) BOOL useCustomClick;

- (instancetype)init NS_UNAVAILABLE;

- (instancetype)initWith:(UIViewController * _Nullable)aTarget
skAdNetwork:(GFPSKAdNetworkInfo * _Nullable)aSKAdNetwork
clickDelegate:(id <GFPS2SAdClickDelegate> _Nullable)clickDelegate NS_DESIGNATED_INITIALIZER;
clickDelegate:(id <GFPS2SAdClickDelegate> _Nullable)clickDelegate
inAppLandingDelegate:(id<GFPClickLandingUtilDelegate> _Nullable)landingDelegate NS_DESIGNATED_INITIALIZER;

- (void)openLanding:(GFPS2SAdLandingHandler)aCompletion;
- (void)openLandingForExceptSKAdn:(GFPS2SAdLandingHandler)aCompletion;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

NS_ASSUME_NONNULL_BEGIN

#define GFP_SDK_VERSION @"8.2.0"
#define GFP_SDK_VERSION @"8.3.0"

@interface GFPCoreConfig : NSObject

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)nativeAd:(GFPNativeAd *)nativeAd didReloadFailWithError:(GFPError *)error;

/**
* Default In App Browser 사용 시, SFSafariViewController가 정상적으로 Present 시 호출됩니다.
* @param nativeAd 네이티브 광고 객체
*/
- (void)nativeAdDidPresentDefaultInAppBrowser:(GFPNativeAd *)nativeAd;

/**
* Default In App Browser 사용 시, SFSafariViewController가 정상적으로 Dismiss 시 호출됩니다.
* @param nativeAd 네이티브 광고 객체
*/
- (void)nativeAdDidDismissDefaultInAppBrowser:(GFPNativeAd *)nativeAd;

@end

Expand Down Expand Up @@ -139,6 +150,18 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)nativeSimpleRichAdShrinkStart:(GFPNativeSimpleAd *)nativeSimpleAd toSize:(CGSize)size;

/**
* Default In App Browser 사용 시, 클릭이 이루어져서 SFSafariViewController가 정상적으로 Present 시 호출됩니다.
* @param nativeSimpleAd 네이티브 광고 객체
*/
- (void)nativeSimpleAdDidPresentDefaultInAppBrowser:(GFPNativeSimpleAd *)nativeSimpleAd;

/**
* Default In App Browser 사용 시, 클릭이 이루어져서 SFSafariViewController가 정상적으로 Dismiss 시 호출됩니다.
* @param nativeSimpleAd 네이티브 광고 객체
*/
- (void)nativeSimpleAdDidDismissDefaultInAppBrowser:(GFPNativeSimpleAd *)nativeSimpleAd;

@end

@protocol GFPNativeVideoEventDelegate <NSObject>
Expand Down
Loading

0 comments on commit 2fee403

Please sign in to comment.