Skip to content

Commit

Permalink
[NAMSDK] Update 8.0.0 Version.
Browse files Browse the repository at this point in the history
  • Loading branch information
namsdk-ios-distribution committed Nov 15, 2024
1 parent 33ac91b commit 7bd6247
Show file tree
Hide file tree
Showing 404 changed files with 102 additions and 30,380 deletions.
68 changes: 3 additions & 65 deletions NAMSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

Pod::Spec.new do |s|

s.name = "NAMSDK"
s.version = "7.11.1"
s.version = "8.0.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 All @@ -11,7 +10,8 @@ Pod::Spec.new do |s|
s.license = { :type => "Naver", :text => "Copyright 2022 NAVER Corp." }
s.author = { "Sanghun.han" => "sanghun.han@navercorp.com",
"Sodam.kim" => "sodam.k@navercorp.com",
"Dojin.park" => "dojin.park@navercorp.com"
"Dojin.park" => "dojin.park@navercorp.com",
"Sangeun.yoon" => "sangeun.yoon@navercorp.com"
}

s.ios.deployment_target = "13.0"
Expand All @@ -31,12 +31,6 @@ Pod::Spec.new do |s|
sdk.dependency 'NAMSDK/GFPSDK'
end

s.subspec 'MediationDFP' do |dfp|
dfp.vendored_frameworks = "NAMSDK/xcframework/GFPSDKMediationDFP.xcframework"
dfp.dependency 'NAMSDK/GFPSDK'
dfp.dependency 'Google-Mobile-Ads-SDK', '11.10.0'
end

s.subspec 'MediationNDA' do |nda|
nda.vendored_frameworks = "NAMSDK/xcframework/GFPSDKMediationNDA.xcframework"
nda.dependency 'NAMSDK/GFPSDK'
Expand All @@ -58,66 +52,10 @@ Pod::Spec.new do |s|
ndaRich.dependency 'NAMSDK/MediationNDAVideo'
ndaRich.dependency 'NAMSDK/AdRenderer'
end


s.subspec 'MediationFAN' do |fan|
fan.vendored_frameworks = "NAMSDK/xcframework/GFPSDKMediationFAN.xcframework"
fan.dependency 'NAMSDK/GFPSDK'
fan.dependency 'FBAudienceNetwork', '6.15.1'
end

s.subspec 'MediationInMobi' do |inMobi|
inMobi.vendored_frameworks = "NAMSDK/xcframework/GFPSDKMediationInMobi.xcframework"
inMobi.dependency 'NAMSDK/GFPSDK'
inMobi.dependency 'InMobiSDK', '10.7.5'
end

s.subspec 'MediationUnity' do |unity|
unity.vendored_frameworks = "NAMSDK/xcframework/GFPSDKMediationUnity.xcframework"
unity.dependency 'NAMSDK/GFPSDK'
unity.dependency 'UnityAds', '4.12.2'
end

s.subspec 'MediationAppLovin' do |appLovin|
appLovin.vendored_frameworks = "NAMSDK/xcframework/GFPSDKMediationAppLovin.xcframework"
appLovin.dependency 'NAMSDK/GFPSDK'
appLovin.dependency 'AppLovinSDK', '12.6.0'
end

s.subspec 'MediationVungle' do |vungle|
vungle.vendored_frameworks = "NAMSDK/xcframework/GFPSDKMediationVungle.xcframework"
vungle.dependency 'NAMSDK/GFPSDK'
vungle.dependency 'VungleAds', '7.4.1'
end

s.subspec 'MediationDT' do |dt|
dt.vendored_frameworks = "NAMSDK/xcframework/GFPSDKMediationDT.xcframework"
dt.dependency 'NAMSDK/GFPSDK'
dt.dependency 'Fyber_Marketplace_SDK', '8.3.1'
end

s.subspec 'MediationIronSource' do |ironSource|
ironSource.vendored_frameworks = "NAMSDK/xcframework/GFPSDKMediationIronSource.xcframework"
ironSource.dependency 'NAMSDK/GFPSDK'
ironSource.dependency 'IronSourceSDK', '8.2.0'
end

s.subspec 'MediationAPS' do |aps|
aps.vendored_frameworks = "NAMSDK/xcframework/GFPSDKMediationAPS.xcframework"
aps.dependency 'NAMSDK/GFPSDK'
aps.dependency 'AmazonPublisherServicesSDK', '4.9.7'
end

s.subspec 'MediationLAN' do |lan|
lan.vendored_frameworks = "NAMSDK/xcframework/GFPSDKMediationLAN.xcframework"
lan.dependency 'NAMSDK/GFPSDK'
lan.dependency 'FiveAd', '2.8.20240612'
end

s.frameworks = 'UIKit', 'Foundation', 'QuartzCore', 'AdSupport', 'AVFoundation', 'AVKit', 'MobileCoreServices', 'SystemConfiguration', 'WebKit', 'CoreLocation'

s.requires_arc = true

s.static_framework = true

s.resource_bundles = { "NAMSDKResources" => "NAMSDK/xcframework/GFPSDK.xcframework/ios-arm64/GFPSDK.framework/PrivacyInfo.xcprivacy" }
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 @@ -23,7 +23,7 @@

NS_ASSUME_NONNULL_BEGIN

#define GFP_SDK_VERSION @"7.11.1"
#define GFP_SDK_VERSION @"8.0.0"

@interface GFPCoreConfig : NSObject

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,6 @@

#import <Foundation/Foundation.h>

typedef NS_OPTIONS(NSInteger, GFPNativeLanguageType) {
GFPNativeLanguageType_ko,
GFPNativeLanguageType_en,
GFPNativeLanguageType_es,
GFPNativeLanguageType_fr,
GFPNativeLanguageType_id,
GFPNativeLanguageType_th,
GFPNativeLanguageType_zh_HK,
GFPNativeLanguageType_zh_TW,
} DEPRECATED_MSG_ATTRIBUTE("This type will be removed. Use `GFPLanguageType` instead");


typedef NS_ENUM(NSInteger, GFPLanguageType) {
GFPLanguageType_none,
GFPLanguageType_ko,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
NS_ASSUME_NONNULL_BEGIN

typedef NS_OPTIONS(NSInteger, GFPNativeAdProviderType) {
GFPNativeAdProviderTypeFAN = 1 << 0, // Facebook Audience Network
GFPNativeAdProviderTypeDFP = 1 << 1, // Google DFP
// GFPNativeAdProviderTypeMoPub = 1 << 2, // (deprecate)MoPub
GFPNativeAdProviderTypeInMobi = 1 << 3, // InMobi
GFPNativeAdProviderTypeNDA = 1 << 4, // Naver Native
GFPNativeAdProviderTypeAppLovin = 1 << 5, // AppLovin
GFPNativeAdProviderTypeFAN = 1 << 0, // Facebook Audience Network
GFPNativeAdProviderTypeDFP = 1 << 1, // Google DFP
// GFPNativeAdProviderTypeMoPub = 1 << 2, // MoPub (deprecate)
GFPNativeAdProviderTypeInMobi = 1 << 3, // InMobi
GFPNativeAdProviderTypeNDA = 1 << 4, // Naver Native
// GFPNativeAdProviderTypeAppLovin = 1 << 5, // AppLovin (deprecate)
GFPNativeAdProviderTypeLAN = 1 << 6,
};

Expand Down Expand Up @@ -79,7 +79,7 @@ extern NSString *const kGFPNativeIconSizeKey;
* - GFPNativeAdRenderingSetting.hasMediaView == NO 이면, "FBNativeBannerAd" 객체
* - adProvider 가 GFPNativeAdProviderTypeDFP 인 경우, "GADNativeAd" 객체
* - adProvider 가 GFPNativeAdProviderTypeInMobi 인 경우, "IMNative" 객체
* - adProvider 가 GFPNativeAdProviderTypeAppLovin 인 경우, "MAAd" 객체
* - adProvider 가 GFPNativeAdProviderTypeLAN 인 경우, "FADAdViewCustomLayout" 객체 혹은 "FADNative" 객체
*/
@property (readonly, nonatomic, strong) id adProviderNativeAd;

Expand All @@ -104,15 +104,6 @@ extern NSString *const kGFPNativeIconSizeKey;

@property (nullable, readonly, nonatomic, strong) GFPAdStyleOption *adStyleOption;


/**
* deprecate property
*/

@property (readonly, nonatomic) CGFloat mediaAspectRatio DEPRECATED_MSG_ATTRIBUTE("This property will be removed. Use mediaData's aspectRatio instead");
@property (readonly, nonatomic, assign) CGSize iconSize DEPRECATED_MSG_ATTRIBUTE("This property will be removed. Use extraInfo's kGFPNativeIconAspectRatioKey value instead");
@property (readonly, nonatomic, assign) CGSize imageSize DEPRECATED_MSG_ATTRIBUTE("This property will be removed. If you want to know the aspect ratio of the image, use aspectRatio of mediaData.");

@end


Expand All @@ -122,11 +113,6 @@ extern NSString *const kGFPNativeIconSizeKey;

@property (readonly, nonatomic, strong, nullable) id <GFPNativeAssetProtocol> assets;

/**
* Image 객체
*/
@property (readonly, nonatomic, strong, nonnull) UIImage *image DEPRECATED_MSG_ATTRIBUTE("This property will be removed. If you want to know the aspect ratio of the image, use aspectRatio of mediaData.");

- (CGFloat)estimateHeightWith:(CGFloat)viewWidth;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,9 @@ NS_ASSUME_NONNULL_BEGIN
* @param nativeSimpleAd 네이티브 광고 객체
*/
- (void)nativeSimpleRichAdExtendComplete:(GFPNativeSimpleAd *)nativeSimpleAd;
/**
* Rich Extend 광고에서 미디어뷰 사이즈 확장 시작 시 호출됩니다.
* @param nativeSimpleAd 네이티브 광고 객체
*/
- (void)nativeSimpleRichAdExtendStart:(GFPNativeSimpleAd *)nativeSimpleAd
DEPRECATED_MSG_ATTRIBUTE("Deprecated. Use `nativeSimpleRichAdExtendStart:toSize:` instead");

/**
* Rich Extend 광고에서 미디어뷰 사이즈 확장 시작 시, nativeSimpleRichAdExtendStart: 와 함께 호출됩니다.
* 9:16, 16:9, 1:1 비율 동영상을 제공하는 스페셜 DA 프리미엄형 "뉴" 동영상 확장형 이후로 부터 출시된 일부 광고 상품 부터 적용됩니다.
* Rich Extend 광고에서 미디어뷰 사이즈 확장 시작 시 호출됩니다.
* @param nativeSimpleAd 네이티브 광고 객체
* @param size 확장될 최종 크기
*/
Expand All @@ -138,16 +131,10 @@ DEPRECATED_MSG_ATTRIBUTE("Deprecated. Use `nativeSimpleRichAdExtendStart:toSize:
* @param nativeSimpleAd 네이티브 광고 객체
*/
- (void)nativeSimpleRichAdShrinkComplete:(GFPNativeSimpleAd *)nativeSimpleAd;

/**
* Rich Extend 광고에서 미디어뷰 사이즈 축소 시작 시 호출됩니다.
* @param nativeSimpleAd 네이티브 광고 객체
*/
- (void)nativeSimpleRichAdShrinkStart:(GFPNativeSimpleAd *)nativeSimpleAd
DEPRECATED_MSG_ATTRIBUTE("Deprecated. Use `nativeSimpleRichAdShrinkStart:toSize:` instead");
/**
* Rich Extend 광고에서 미디어뷰 사이즈 축소 시작 시, nativeSimpleRichAdShrinkStart: 와 함께 호출됩니다.
* 9:16, 16:9, 1:1 비율 동영상을 제공하는 스페셜 DA 프리미엄형 "뉴" 동영상 확장형 이후로 부터 출시된 일부 광고 상품 부터 적용됩니다.
* @param nativeSimpleAd 네이티브 광고 객체
* @param size 축소될 최종 크기
*/
- (void)nativeSimpleRichAdShrinkStart:(GFPNativeSimpleAd *)nativeSimpleAd toSize:(CGSize)size;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@ NS_ASSUME_NONNULL_BEGIN

- (void)reloadMediaResource;

- (CGSize)imageSize; //deprecate

- (UIImage *)image; //deprecate

- (GFPMediaData * _Nullable)mediaData;

- (GFPIconData * _Nullable)iconData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@ NS_ASSUME_NONNULL_BEGIN
@optional
- (void)nativeAdAdaptor:(GFPAdAdaptor <GFPNativeAdapting> *)nativeAdAdaptor richAdExtendSizeChanged:(CGSize)size;
- (void)nativeRichAdExtendComplete:(GFPAdAdaptor <GFPNativeAdapting> *)nativeAdAdaptor;
- (void)nativeRichAdExtendStart:(GFPAdAdaptor <GFPNativeAdapting> *)nativeAdAdaptor;
- (void)nativeRichAdExtendStart:(GFPAdAdaptor <GFPNativeAdapting> *)nativeAdAdaptor toSize:(CGSize)size;
- (void)nativeRichAdShrinkComplete:(GFPAdAdaptor <GFPNativeAdapting> *)nativeAdAdaptor;
- (void)nativeRichAdShrinkStart:(GFPAdAdaptor <GFPNativeAdapting> *)nativeAdAdaptor;
- (void)nativeRichAdShrinkStart:(GFPAdAdaptor <GFPNativeAdapting> *)nativeAdAdaptor toSize:(CGSize)size;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,15 @@ NS_ASSUME_NONNULL_BEGIN
@interface GFPRenderDisplayAgent : NSObject

@property (readonly, nonatomic, assign) GFPRenderDisplayAgentType type;
@property (readonly, nonatomic, strong, nullable) NSString *scheme __deprecated_msg("Use S2S Click Handler instead. it will be removed 7 version");
@property (readonly, nonatomic, strong, nullable) NSString *scheme __deprecated_msg("Use S2S Click Handler instead. it will be removed next version");
@property (nonatomic, assign) BOOL shouldEncoding;

@property (readonly, nonatomic, strong) NSString *typeRawValue;

- (instancetype)init NS_UNAVAILABLE;

- (instancetype)initWithType:(GFPRenderDisplayAgentType)aType;

- (instancetype)initWithType:(GFPRenderDisplayAgentType)aType scheme:(NSString * _Nonnull)aScheme __deprecated_msg("Use S2S Click Handler instead. it will be removed 7 version");
- (instancetype)initWithType:(GFPRenderDisplayAgentType)aType scheme:(NSString * _Nonnull)aScheme __deprecated_msg("Use S2S Click Handler instead. it will be removed next version");

- (nullable NSURL *)landingURLWith:(NSString *)aURL;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, readonly, assign) BOOL isAdInvalidate;
@property (nonatomic, readonly, assign) BOOL isAdLoaded;

@property (nonatomic, class, assign) BOOL isMuted DEPRECATED_MSG_ATTRIBUTE("This property will be removed. Use AdConfiguration's muteAudio");

/**
* 광고 요청이후 로드 완료시점까지 타임아웃 (Optional)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -879,16 +879,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSTimeInterval GFPVi
/// false: GFPVideoAdScheduleManager.videoView 혹은 GFPVideoAdmanager.videoView 의 너비에 따라 컴포넌트를 그림.
/// true: 광고 영상의 실제 width 에 따라 컴포넌트를 그림.
@property (nonatomic) BOOL isPreferContentWidthUI;
/// 광고 UI 컴포넌트의 언어 설정 (기본값: none)
/// <ul>
/// <li>
/// 언어는 한국어, 영어, 프랑스어, 스페인어, 중국 번체 (홍콩/대만), 태국어, 인도네시아어를 지원합니다.
/// </li>
/// <li>
/// none으로 설정 시 디바이스의 언어를 기반으로 렌더링 되며, 지원하지 않는 언어일 경우 영어로 노출됩니다.
/// </li>
/// </ul>
@property (nonatomic) GFPLanguageType preferredLanguage SWIFT_DEPRECATED_MSG("Use GFPAdConfiguration's preferredLanguage instead.");
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4615,101 +4615,6 @@
}
]
},
{
"kind": "Var",
"name": "preferredLanguage",
"printedName": "preferredLanguage",
"children": [
{
"kind": "TypeNominal",
"name": "GFPLanguageType",
"printedName": "GFPSDK.GFPLanguageType",
"usr": "c:@E@GFPLanguageType"
}
],
"declKind": "Var",
"usr": "c:@M@GFPSDK@objc(cs)GFPVideoAdRenderingSetting(py)preferredLanguage",
"mangledName": "$s6GFPSDK26GFPVideoAdRenderingSettingC17preferredLanguageSo15GFPLanguageTypeVvp",
"moduleName": "GFPSDK",
"deprecated": true,
"declAttributes": [
"AccessControl",
"Available",
"RawDocComment",
"ObjC"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "GFPLanguageType",
"printedName": "GFPSDK.GFPLanguageType",
"usr": "c:@E@GFPLanguageType"
}
],
"declKind": "Accessor",
"usr": "c:@M@GFPSDK@objc(cs)GFPVideoAdRenderingSetting(im)preferredLanguage",
"mangledName": "$s6GFPSDK26GFPVideoAdRenderingSettingC17preferredLanguageSo15GFPLanguageTypeVvg",
"moduleName": "GFPSDK",
"declAttributes": [
"ObjC"
],
"accessorKind": "get"
},
{
"kind": "Accessor",
"name": "Set",
"printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "GFPLanguageType",
"printedName": "GFPSDK.GFPLanguageType",
"usr": "c:@E@GFPLanguageType"
}
],
"declKind": "Accessor",
"usr": "c:@M@GFPSDK@objc(cs)GFPVideoAdRenderingSetting(im)setPreferredLanguage:",
"mangledName": "$s6GFPSDK26GFPVideoAdRenderingSettingC17preferredLanguageSo15GFPLanguageTypeVvs",
"moduleName": "GFPSDK",
"declAttributes": [
"ObjC"
],
"accessorKind": "set"
},
{
"kind": "Accessor",
"name": "Modify",
"printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Accessor",
"usr": "s:6GFPSDK26GFPVideoAdRenderingSettingC17preferredLanguageSo15GFPLanguageTypeVvM",
"mangledName": "$s6GFPSDK26GFPVideoAdRenderingSettingC17preferredLanguageSo15GFPLanguageTypeVvM",
"moduleName": "GFPSDK",
"deprecated": true,
"implicit": true,
"declAttributes": [
"Available"
],
"accessorKind": "_modify"
}
]
},
{
"kind": "Constructor",
"name": "init",
Expand Down
Loading

0 comments on commit 7bd6247

Please sign in to comment.