Skip to content

Commit

Permalink
NAMSDK_6.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
namsdk-ios-distribution committed Nov 21, 2023
1 parent 7c78759 commit 6dfc57a
Show file tree
Hide file tree
Showing 234 changed files with 779 additions and 470 deletions.
14 changes: 7 additions & 7 deletions NAMSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Pod::Spec.new do |s|

s.name = "NAMSDK"
s.version = "6.5.0"
s.version = "6.7.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 @@ -14,22 +14,22 @@ Pod::Spec.new do |s|
"Dojin.park" => "dojin.park@navercorp.com"
}

s.ios.deployment_target = "11.0"
s.ios.deployment_target = "12.0"
s.source = { :git => "https://github.com/naver/nam-sdk-ios", :tag => "#{s.version.to_s}" }

s.default_subspecs = "GFPSDK"

s.subspec 'GFPSDK' do |sdk|
sdk.vendored_frameworks = "NAMSDK/xcframework/GFPSDK.xcframework", "NAMSDK/xcframework/libraries/OMSDK_Navercorp.xcframework"
sdk.dependency 'KissXML', '~> 5.2'
sdk.dependency 'Naver-Ads-Services', '~> 1.0.3'
sdk.dependency 'Naver-Ads-Services', '~> 1.0.4'
sdk.resources = ['NAMSDK/ResourceBundle/GFPSDKResource.bundle']
end

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

s.subspec 'MediationNDA' do |nda|
Expand All @@ -47,13 +47,13 @@ Pod::Spec.new do |s|
s.subspec 'MediationFAN' do |fan|
fan.vendored_frameworks = "NAMSDK/xcframework/GFPSDKMediationFAN.xcframework"
fan.dependency 'NAMSDK/GFPSDK'
fan.dependency 'FBAudienceNetwork', '6.12.0'
fan.dependency 'FBAudienceNetwork', '6.14.0'
end

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

s.subspec 'MediationUnity' do |unity|
Expand All @@ -72,7 +72,7 @@ Pod::Spec.new do |s|
s.subspec 'MediationVungle' do |vungle|
vungle.vendored_frameworks = "NAMSDK/xcframework/GFPSDKMediationVungle.xcframework"
vungle.dependency 'NAMSDK/GFPSDK'
vungle.dependency 'VungleAds', '7.0.0'
vungle.dependency 'VungleAds', '7.1.0'
end

s.subspec 'MediationDT' do |dt|
Expand Down
Binary file modified NAMSDK/resourcebundle/GFPAppLovinResource.bundle/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified NAMSDK/resourcebundle/GFPNDAMraidResource.bundle/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified NAMSDK/resourcebundle/GFPNDANativeResource.bundle/Assets.car
Binary file not shown.
Binary file modified NAMSDK/resourcebundle/GFPNDANativeResource.bundle/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<dict>
<key>Assets.car</key>
<data>
DPRg5xnQJZnPgfVQO/0V6PaHwGk=
V3iDyRgwHX4DuMGsxEd3FUQCcl4=
</data>
<key>GFPNDAReasonCollectionViewCell.nib/objects-12.3+.nib</key>
<data>
Expand Down Expand Up @@ -95,11 +95,11 @@
<dict>
<key>hash</key>
<data>
DPRg5xnQJZnPgfVQO/0V6PaHwGk=
V3iDyRgwHX4DuMGsxEd3FUQCcl4=
</data>
<key>hash2</key>
<data>
1/De03qSj4m0FOUhP+/leuMbTzi7V4rOuAod5ox1gyE=
tPBNlTxkcxGl4p6rFQCkqRY8XlwqSVLMlNau5G6pDtA=
</data>
</dict>
<key>GFPNDAReasonCollectionViewCell.nib/objects-12.3+.nib</key>
Expand Down
Binary file not shown.
Binary file modified NAMSDK/resourcebundle/GFPNDAVideoResource.bundle/Assets.car
Binary file not shown.
Binary file modified NAMSDK/resourcebundle/GFPNDAVideoResource.bundle/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<dict>
<key>Assets.car</key>
<data>
3m+rtMCNZ+HyHeH+o0/pAW4Ku4Y=
M9O1k7LqV9LQJupJ5CwCL+jbPMo=
</data>
<key>GFPRemindTextView.nib</key>
<data>
Expand Down Expand Up @@ -91,11 +91,11 @@
<dict>
<key>hash</key>
<data>
3m+rtMCNZ+HyHeH+o0/pAW4Ku4Y=
M9O1k7LqV9LQJupJ5CwCL+jbPMo=
</data>
<key>hash2</key>
<data>
Wpp8NfwXZlIyz8uZ2mGV0TIKmCy/IeOyq0RkJWFlXeo=
36HE6cBGQDFNbFug8+L9qjZL2EeOuDcSB84Mo0nEOTY=
</data>
</dict>
<key>GFPRemindTextView.nib</key>
Expand Down
Binary file not shown.
Binary file modified NAMSDK/resourcebundle/GFPSDKResource.bundle/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 5 additions & 5 deletions NAMSDK/xcframework/GFPSDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>GFPSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</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_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>GFPSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ NS_ASSUME_NONNULL_BEGIN
@class GFPSKAdNetworkData;
@class GFPLogReqInfo;

static const NSString *kGFPExtraParamKeyFAN = @"fb";
static const NSString *kGFPExtraParamKeyVungle = @"vungle";

@interface GFPAPIQueryItems : NSObject

@property (nonatomic, readonly, strong) NSArray <NSURLQueryItem *> *items;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

NS_ASSUME_NONNULL_BEGIN

#define GFP_SDK_VERSION @"6.5.0"
#define GFP_SDK_VERSION @"6.7.0"

@interface GFPCoreConfig : NSObject

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

- (instancetype)init NS_UNAVAILABLE;
- (instancetype _Nullable)initWith:(NSDictionary * _Nonnull)aDict;
- (GFPExtraRequestParam *)combinedWith: (GFPExtraRequestParam *)requestParam;

@end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,22 +164,6 @@ extern NSString *const kGFPNativeIconSizeKey;
*/
- (NSString * _Nullable)extraTextWith:(NSString *)key;

/**
* S2S 사용 시 mediaView Image 초기화를 위한 기능
*/
- (void)clearForMemoryWarning;

/**
* S2S 사용 시 mediaView Image 재로드가 필요한 경우
*/
- (BOOL)isReloadRequired;

/**
* S2S 사용 시 mediaView Image 수동 재로드
*/
- (void)reloadMedia;



/**
* deprecate property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, readonly, strong) NSURL *source;
@property (nonatomic, readonly, strong) NSString *body;
@property (nonatomic, readonly, strong) NSURL *tsource;

@property (nonatomic, readonly, assign) CGSize size;
@property (nonatomic, readonly, assign) CGFloat ratio;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ typedef NS_OPTIONS(NSInteger, GFPRenderDisplayAgentType) {

NS_ASSUME_NONNULL_BEGIN


@interface GFPRenderDisplayAgent : NSObject

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

@property (readonly, nonatomic, strong) NSString *typeRawValue;
Expand All @@ -30,7 +29,7 @@ NS_ASSUME_NONNULL_BEGIN

- (instancetype)initWithType:(GFPRenderDisplayAgentType)aType;

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,10 @@ SWIFT_CLASS("_TtC6GFPSDK15GFPVideoOptions")
/// 광고 영상의 Custom Control View 사용 여부를 설정합니다. (기본값 false)
/// true로 설정 시 control 구성 요소를 숨기며, false로 설정 시 sdk 내에서 control 구성 요소를 그려줍니다.
@property (nonatomic, readonly) BOOL useCustomControlView;
/// 광고영상의 최대 bitrate (kbit/sec) (기본값 800)
/// 입력값 보다 낮은 bitrate 광고영상 중 가장 높은 bitrate 영샹이 채택되며,
/// 입력값 보다 낮은 bitrate 영상이 없는 경우 가장 가까운 bitrate 영샹이 재생됩니다.
@property (nonatomic) NSInteger maxBitrateKbps;
- (nonnull instancetype)initWithPlayPolicy:(enum GFPVideoPlayPolicy)playPolicy useCustomControlView:(BOOL)useCustomControlView OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ FOUNDATION_EXPORT const unsigned char GFPSDKVersionString[];

#import <GFPSDK/GFPAdParam.h>
#import <GFPSDK/GFPUserParam.h>
#import <GFPSDK/GFPAPSAdParam.h>
#import <GFPSDK/GFPContentInfo.h>
#import <GFPSDK/GFPAdManager.h>
#import <GFPSDK/GFPBannerView.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@

@class GFPVideoController;

typedef NS_OPTIONS(NSInteger, GFPControlButtonType) {
GFPControlButtonTypePlay,
GFPControlButtonTypePause,
GFPControlButtonTypeRewind,
GFPControlButtonTypeAudio,
};

@protocol GFPVideoEventDelegate <NSObject>

/**
Expand Down Expand Up @@ -50,4 +57,14 @@
*/
- (void)adPlayer:(GFPVideoController *)videoController didChangeBufferedTime:(NSTimeInterval)bufferedTime;


@optional

/**
* 네이티브 광고 영상의 control 버튼 클릭 시 호출 됩니다.
* sdk에서 제공하는 default controlView 사용시 호출되며, customControlView 사용시 호출되지 않습니다.
* @param buttonType control 버튼 타입
*/
- (void)adPlayer:(GFPVideoController *)videoController didTappedControlButton:(GFPControlButtonType)buttonType;

@end
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4077,6 +4077,99 @@
}
]
},
{
"kind": "Var",
"name": "maxBitrateKbps",
"printedName": "maxBitrateKbps",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Swift.Int",
"usr": "s:Si"
}
],
"declKind": "Var",
"usr": "c:@M@GFPSDK@objc(cs)GFPVideoOptions(py)maxBitrateKbps",
"mangledName": "$s6GFPSDK15GFPVideoOptionsC14maxBitrateKbpsSivp",
"moduleName": "GFPSDK",
"declAttributes": [
"HasStorage",
"AccessControl",
"RawDocComment",
"ObjC"
],
"hasStorage": true,
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Swift.Int",
"usr": "s:Si"
}
],
"declKind": "Accessor",
"usr": "c:@M@GFPSDK@objc(cs)GFPVideoOptions(im)maxBitrateKbps",
"mangledName": "$s6GFPSDK15GFPVideoOptionsC14maxBitrateKbpsSivg",
"moduleName": "GFPSDK",
"implicit": true,
"declAttributes": [
"ObjC"
],
"accessorKind": "get"
},
{
"kind": "Accessor",
"name": "Set",
"printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Swift.Int",
"usr": "s:Si"
}
],
"declKind": "Accessor",
"usr": "c:@M@GFPSDK@objc(cs)GFPVideoOptions(im)setMaxBitrateKbps:",
"mangledName": "$s6GFPSDK15GFPVideoOptionsC14maxBitrateKbpsSivs",
"moduleName": "GFPSDK",
"implicit": true,
"declAttributes": [
"ObjC"
],
"accessorKind": "set"
},
{
"kind": "Accessor",
"name": "Modify",
"printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Accessor",
"usr": "s:6GFPSDK15GFPVideoOptionsC14maxBitrateKbpsSivM",
"mangledName": "$s6GFPSDK15GFPVideoOptionsC14maxBitrateKbpsSivM",
"moduleName": "GFPSDK",
"implicit": true,
"accessorKind": "_modify"
}
]
},
{
"kind": "Constructor",
"name": "init",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GFPSDK
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GFPSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
import Foundation
@_exported import GFPSDK
Expand Down Expand Up @@ -122,6 +122,7 @@ import _StringProcessing
@objc @_inheritsConvenienceInitializers @objcMembers public class GFPVideoOptions : ObjectiveC.NSObject {
@objc final public let playPolicy: GFPSDK.GFPVideoPlayPolicy
@objc final public let useCustomControlView: Swift.Bool
@objc public var maxBitrateKbps: Swift.Int
@objc(initWithPlayPolicy:useCustomControlView:) public init(playPolicy: GFPSDK.GFPVideoPlayPolicy, useCustomControlView: Swift.Bool)
@objc override dynamic public init()
@objc override dynamic public var description: Swift.String {
Expand Down
Binary file not shown.
Loading

0 comments on commit 6dfc57a

Please sign in to comment.