WASdkIntf.podspec
@@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.name = 'WASdkIntf' s.version = '3.18.1' s.version = '4.0.0' s.summary = 'WASdkIntf framework in production environment.' s.license = 'MIT' s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" } WASdkIntf/4.0.0/WASdkIntf.podspec
New file @@ -0,0 +1,23 @@ # # Be sure to run `pod spec lint WASdkIntf.podspec' to ensure this is a # valid spec and to remove all comments including this before submitting the spec. # # To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html # To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ # Pod::Spec.new do |s| s.name = 'WASdkIntf' s.version = '4.0.0' s.summary = 'WASdkIntf framework in production environment.' s.license = 'MIT' s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" } s.homepage = 'http://repo.wingsdk.cn:8082/summary/WASdkIntf.git' s.source = { :git => "http://admin@repo.wingsdk.cn:8082/r/WASdkIntf.git" , :tag => s.version} s.platform = :ios s.ios.deployment_target = "7.0" s.vendored_frameworks = 'frameworks/WASdkIntf.framework' s.resources = ['config/*.plist'] s.requires_arc = true end frameworks/WASdkIntf.framework/Headers/WAAdMobProxy.h
New file @@ -0,0 +1,120 @@ // // WAAdMobProxy.h // WASdkIntf // // Created by lpw on 2024/5/27. // Copyright © 2024 GHW-T-01. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @protocol GADFullScreenContentDelegate; /// Protocol for ads that present full screen content. @protocol GADFullScreenPresentingAd <NSObject> /// Delegate object that receives full screen content messages. @property(nonatomic, weak, nullable) id<GADFullScreenContentDelegate> fullScreenContentDelegate; @end /// Delegate methods for receiving notifications about presentation and dismissal of full screen /// content. Full screen content covers your application's content. The delegate may want to pause /// animations or time sensitive interactions. Full screen content may be presented in the following /// cases: /// 1. A full screen ad is presented. /// 2. An ad interaction opens full screen content. @protocol GADFullScreenContentDelegate <NSObject> @optional /// Tells the delegate that an impression has been recorded for the ad. - (void)adDidRecordImpression:(nonnull id<GADFullScreenPresentingAd>)ad; /// Tells the delegate that a click has been recorded for the ad. - (void)adDidRecordClick:(nonnull id<GADFullScreenPresentingAd>)ad; /// Tells the delegate that the ad failed to present full screen content. - (void)ad:(nonnull id<GADFullScreenPresentingAd>)ad didFailToPresentFullScreenContentWithError:(nonnull NSError *)error; /// Tells the delegate that the ad will present full screen content. - (void)adWillPresentFullScreenContent:(nonnull id<GADFullScreenPresentingAd>)ad; /// Tells the delegate that the ad will dismiss full screen content. - (void)adWillDismissFullScreenContent:(nonnull id<GADFullScreenPresentingAd>)ad; /// Tells the delegate that the ad dismissed full screen content. - (void)adDidDismissFullScreenContent:(nonnull id<GADFullScreenPresentingAd>)ad; /// Tells the delegate that the user earned a reward. - (void)userDidEarnReward:(nonnull NSMutableDictionary*)rewardDic; #pragma mark - Unavailable /// Unsupported. Delegates should implement adWillPresentFullScreenContent: instead. - (void)adDidPresentFullScreenContent:(nonnull id<GADFullScreenPresentingAd>)ad NS_UNAVAILABLE; @end @interface WAAdMobProxy : NSObject // 广告测试模式,会强制使用测试广告id + (void)setTestMode:(BOOL)isDebugMode; /** 横幅广告 @param viewController 用于显示广告的视图控制器。 @param containerView 将包含横幅广告的视图。广告视图将作为此视图的子视图添加。 */ + (void)bindBannerAdWithViewController:(UIViewController *)viewController containerView:(UIView *)containerView; // 插页广告 + (BOOL)checkInterstitialAdReady; + (void)showInterstitialAdWithViewController:(UIViewController *)viewController withDelegate:( id<GADFullScreenContentDelegate>)delegate; //开屏广告 + (BOOL)checkAppOpenAdReady; + (void)showAppOpenAdWithViewController:(UIViewController *)viewController withDelegate:( id<GADFullScreenContentDelegate>)delegate; /** 显示激励广告。 此方法在给定的视图控制器上显示激励广告,并处理广告的回调。 @param viewController 用于显示广告的视图控制器。 @param adName 广告名称或广告单元 ID。 @param extInfo 额外信息,可以用于调试或跟踪广告。 @param delegate 广告展示和关闭时的回调。 */ + (void)showRewardedAdWithViewController:(UIViewController *)viewController adName:(NSString *)adName extInfo:(NSString *)extInfo delegate:( id<GADFullScreenContentDelegate>)delegate; //admob的ump隐私 + (BOOL)checkUmpOptions; + (void)showUmpOptionsWithViewController:(UIViewController *)viewController consentGatheringComplete:(void (^)(NSError *_Nullable error))completionHandler; @end NS_ASSUME_NONNULL_END frameworks/WASdkIntf.framework/Headers/WABindingResult.h
@@ -33,7 +33,7 @@ /**! @abstract 3.18.1添加,标记facebook登录是为受限登录 @abstract 4.0.0添加,标记facebook登录是为受限登录 */ @property BOOL fbLimit; frameworks/WASdkIntf.framework/Headers/WAConstants.h
@@ -22,6 +22,7 @@ extern NSString *const WA_MODULE_PUSH;//消息推送模块 extern NSString *const WA_MODULE_AD; //广告模块 extern NSString *const WA_MODULE_CSC;//客服系统 extern NSString *const WA_MODULE_ADMOB;//admob广告系统 extern NSString *const WA_PLATFORM_FACEBOOK; extern NSString *const WA_PLATFORM_APPLE; frameworks/WASdkIntf.framework/Headers/WAIAdmob.h
New file @@ -0,0 +1,63 @@ // // WAIAdmob.h // WASdkIntf // // Created by lpw on 2024/5/28. // Copyright © 2024 GHW-T-01. All rights reserved. // #import <Foundation/Foundation.h> #import <WASdkIntf/WAAdMobProxy.h> NS_ASSUME_NONNULL_BEGIN @interface WAIAdmob : NSObject // 广告测试模式,会强制使用测试广告id - (void)setTestMode:(BOOL)isDebugMode; // 横幅广告 - (BOOL)checkBannerAdReady; /** @param viewController 用于显示广告的视图控制器。 @param containerView 将包含横幅广告的视图。广告视图将作为此视图的子视图添加。 */ - (void)bindBannerAdWithViewController:(UIViewController *)viewController containerView:(UIView *)containerView ; // 插页广告 - (BOOL)checkInterstitialAdReady; - (void)showInterstitialAdWithViewController:(UIViewController *)viewController withDelegate:( id<GADFullScreenContentDelegate>)delegate; //开屏广告 - (BOOL)checkAppOpenAdReady; - (void)showAppOpenAdWithViewController:(UIViewController *)viewController withDelegate:( id<GADFullScreenContentDelegate>)delegate; //激励广告 - (BOOL)checkRewardedAdReady; /** 显示激励广告。 此方法在给定的视图控制器上显示激励广告,并处理广告的回调。 @param viewController 用于显示广告的视图控制器。 @param adName 广告名称或广告单元 ID。 @param extInfo 额外信息,可以用于调试或跟踪广告。 @param callback 广告展示和关闭时的回调。 */ - (void)showRewardedAdWithViewController:(UIViewController *)viewController adName:(NSString *)adName extInfo:(NSString *)extInfo delegate:( id<GADFullScreenContentDelegate>)delegate; //admob的ump隐私 - (BOOL)checkUmpOptions; - (void)showUmpOptionsWithViewController:(UIViewController *)viewController consentGatheringComplete: (void (^)(NSError *_Nullable error))completionHandler; @end NS_ASSUME_NONNULL_END frameworks/WASdkIntf.framework/Headers/WALoginResult.h
@@ -127,7 +127,7 @@ /**! @abstract 3.18.1添加,标记facebook登录是为受限登录 @abstract 4.0.0添加,标记facebook登录是为受限登录 */ @property BOOL fbLimit; frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h
@@ -61,4 +61,7 @@ @property(nonatomic,copy)NSString * mobile_country;// 优先展示国家 @property(nonatomic)NSInteger isOpenfbLimitLogin; // facebook限制性登录开发( 0 关闭 1开启,默认关闭, 不返回,或0,默认关闭) @property(nonatomic)NSInteger isOpenEventSend; // 是否已配置累充金额,若配置了此参数,则返回已配置的金额 @end frameworks/WASdkIntf.framework/Headers/WASdkIntf.h
@@ -62,6 +62,8 @@ #import <WASdkIntf/WASdkIntf.h> #import <WASdkIntf/WADeleteRequestModel.h> #import <WASdkIntf/WADeleteResult.h> #import <WASdkIntf/WAIAdmob.h> #import <WASdkIntf/WAAdMobProxy.h> //! Project version number for WASdkIntf. FOUNDATION_EXPORT double WASdkIntfVersionNumber; @@ -71,4 +73,4 @@ // In this header, you should import all the public headers of your framework using statements like #import <WASdkIntf/PublicHeader.h> //time:2024/04/10 12:29 ver:3.18.0 //time:2024/06/24 12:29 ver:4.0.0 frameworks/WASdkIntf.framework/Info.plistBinary files differ
frameworks/WASdkIntf.framework/WASdkIntfBinary files differ
frameworks/WASdkIntf.framework/_CodeSignature/CodeDirectoryBinary files differ
frameworks/WASdkIntf.framework/_CodeSignature/CodeRequirements-1Binary files differ
frameworks/WASdkIntf.framework/_CodeSignature/CodeResources
@@ -8,6 +8,10 @@ <data> ZztFcb2t0NfZqUDo3T3/JOK86Eg= </data> <key>Headers/WAAdMobProxy.h</key> <data> I1qbB+3qL8erJiN2t8A6vm+M8hQ= </data> <key>Headers/WAAdProxy.h</key> <data> ndfcpdb1t8TlMNC/vGSQrmHBjC0= @@ -30,7 +34,7 @@ </data> <key>Headers/WABindingResult.h</key> <data> nVjmd2HAG37NrzJnKxZOWyjg7iE= SBFkOS5kHQzCm+M3lfR4D8QnXq4= </data> <key>Headers/WACertificationInfo.h</key> <data> @@ -54,7 +58,7 @@ </data> <key>Headers/WAConstants.h</key> <data> DbnY+JLNMZ0BF2B9mTMoTqI9HrI= 68hyemiBLYtvITRc0H9iR2FhOrw= </data> <key>Headers/WACore.h</key> <data> @@ -120,6 +124,10 @@ <data> p9HD4iPxlAVisnXG9xwLdMYdGTc= </data> <key>Headers/WAIAdmob.h</key> <data> x3WaTC/BfAEVWKciM3N2AofS+M4= </data> <key>Headers/WAIApw.h</key> <data> msm+3jD6C0mflQBEZ4CZgAsu244= @@ -162,11 +170,11 @@ </data> <key>Headers/WALoginResult.h</key> <data> vduygqNS+KdWnPgcJsUW/dbuU3U= BeNzsQtq6fq0RIAqgIwtg7WbaGc= </data> <key>Headers/WAParamConfigObj.h</key> <data> TMwjl7hllinDbTcYiXoL7b8wAuk= YDTOBZ2J+2Vne4Fy2hgXEpbROrY= </data> <key>Headers/WAPayChannel.h</key> <data> @@ -182,7 +190,7 @@ </data> <key>Headers/WASdkIntf.h</key> <data> R2INYXds8F7sk3TMwcBo154OJWg= eoUjeBKJsaEUazB3EUM/hYm6Fl0= </data> <key>Headers/WAShareLinkContent.h</key> <data> @@ -230,7 +238,7 @@ </data> <key>Info.plist</key> <data> kDmtIQJZgdSfx0deFlekIljwjOI= 2evLNI0t3DMPfFfYLRwGU33AB9M= </data> <key>Modules/module.modulemap</key> <data> @@ -248,6 +256,17 @@ <key>hash2</key> <data> p28+1dklzjjZRJ+x4BJioof3Z28yp+zkYsDFAXxUjIo= </data> </dict> <key>Headers/WAAdMobProxy.h</key> <dict> <key>hash</key> <data> I1qbB+3qL8erJiN2t8A6vm+M8hQ= </data> <key>hash2</key> <data> fZQn9xxmx/cwzYuUNTzsXSkCl7ehq0oBhHVEWsncnoc= </data> </dict> <key>Headers/WAAdProxy.h</key> @@ -309,11 +328,11 @@ <dict> <key>hash</key> <data> nVjmd2HAG37NrzJnKxZOWyjg7iE= SBFkOS5kHQzCm+M3lfR4D8QnXq4= </data> <key>hash2</key> <data> O4GUuumC1ZAaHvLuBEQXZxBIM6hSesNjfxp076Xm20Y= +oKbc4mHoN62rd7W6rjX2kdlzCHYe3VETeA8crhwm8g= </data> </dict> <key>Headers/WACertificationInfo.h</key> @@ -375,11 +394,11 @@ <dict> <key>hash</key> <data> DbnY+JLNMZ0BF2B9mTMoTqI9HrI= 68hyemiBLYtvITRc0H9iR2FhOrw= </data> <key>hash2</key> <data> fqQGntpehnajRKdFwBpBAO8qMoUm7fPhCTadIFdGRg4= gCixD1Tk1i8sB9HyJP3KILiE7ywFaaX+0DtA+omOXEs= </data> </dict> <key>Headers/WACore.h</key> @@ -558,6 +577,17 @@ xu6LAACAv466RZ/NVdhWJS1lYD+B4DgQqzWlE0twivg= </data> </dict> <key>Headers/WAIAdmob.h</key> <dict> <key>hash</key> <data> x3WaTC/BfAEVWKciM3N2AofS+M4= </data> <key>hash2</key> <data> ALKMV82GnPv6GBMmbw8/pdqoIb2C5xcnzMZAsmDHwTQ= </data> </dict> <key>Headers/WAIApw.h</key> <dict> <key>hash</key> @@ -672,22 +702,22 @@ <dict> <key>hash</key> <data> vduygqNS+KdWnPgcJsUW/dbuU3U= BeNzsQtq6fq0RIAqgIwtg7WbaGc= </data> <key>hash2</key> <data> tXMhuQxqPxFJn+RUwDKc0zI6G0krD/hclZkK+q+n/RU= Acv4Au9u3G76Z6pharcKezR+6tFblFhBI1DWDteWITo= </data> </dict> <key>Headers/WAParamConfigObj.h</key> <dict> <key>hash</key> <data> TMwjl7hllinDbTcYiXoL7b8wAuk= YDTOBZ2J+2Vne4Fy2hgXEpbROrY= </data> <key>hash2</key> <data> 9ptxkEza9c9lkGpoqceQ0AfKrHACC5CVujOUQOB0iaI= eGKiynBfGPRjWGc9+iHlPG7DcybdnNpukSNd577MHxI= </data> </dict> <key>Headers/WAPayChannel.h</key> @@ -727,11 +757,11 @@ <dict> <key>hash</key> <data> R2INYXds8F7sk3TMwcBo154OJWg= eoUjeBKJsaEUazB3EUM/hYm6Fl0= </data> <key>hash2</key> <data> Txi/qj7nDkV/l251srnI1gPPyNRuRJiDhEztWsVtbKE= 2QUdljXaxijJDYG0x1Y2OdMlxBrT0/sW3qzelymk1bQ= </data> </dict> <key>Headers/WAShareLinkContent.h</key> frameworks/WASdkIntf.framework/_CodeSignature/CodeSignatureBinary files differ