lpw
23 hours ago 303b8f43a0f25b1bd791061e0d0ba3d862238386
提交版本 4.11.0
14 files modified
2 files added
241 ■■■■ changed files
WASdkIntf.podspec 2 ●●● patch | view | raw | blame | history
WASdkIntf/4.11.0/WASdkIntf.podspec 23 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WACoinsInfo.h 25 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAConstants.h 9 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAIUser.h 27 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAIapProduct.h 51 ●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h 8 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAPayChannel.h 11 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WASdkIntf.h 3 ●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WATrackProxy.h 4 ●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAUserProxy.h 33 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Info.plist patch | view | raw | blame | history
frameworks/WASdkIntf.framework/WASdkIntf patch | view | raw | blame | history
frameworks/WASdkIntf.framework/_CodeSignature/CodeDirectory patch | view | raw | blame | history
frameworks/WASdkIntf.framework/_CodeSignature/CodeResources 45 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/_CodeSignature/CodeSignature patch | view | raw | blame | history
WASdkIntf.podspec
@@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'WASdkIntf'
s.version = '4.10.0'
s.version = '4.11.0'
s.summary = 'WASdkIntf framework in production environment.'
s.license = 'MIT'
s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" }
WASdkIntf/4.11.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.11.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/WACoinsInfo.h
New file
@@ -0,0 +1,25 @@
//
//  WACoinsInfo.h
//  WASdkIntf
//
//  Created by lpw on 2026/2/27.
//  Copyright © 2026 GHW-T-01. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface WACoinsInfo : NSObject<NSCopying>
@property (nonatomic, assign) long long coinsAmount;// 代金券余额(默认 0)
@property (nonatomic, assign) BOOL isEnableCoins;//平台币是否开启 NO - 未开启 YES - 已开启
@property (nonatomic, assign) NSInteger  isPaidUser;//是否付费用户:0 - 否 1 - 是
@property (nonatomic, assign) NSInteger  hasCoinsAccount; //是否有代金券账号   0 - 否 1 - 是
@end
NS_ASSUME_NONNULL_END
frameworks/WASdkIntf.framework/Headers/WAConstants.h
@@ -118,6 +118,11 @@
extern NSString *const WAUserEventUserImportNotification;
extern NSString *const WAUserEventChangedNotification;
extern NSString *const WAAppDidEnterForegroundNotification;
extern NSString *const WAAppDidEnterBackgroundNotification;
// SDK类型
extern const int WA_SDK_TYPE_FR; // 国外
@@ -149,6 +154,10 @@
extern NSString *const WAPAYCHANNEL_WASANDBOX;
extern NSString *const WAPAYCHANNEL_WACOINS;
extern NSString *const WAPAYCHANNEL_H5PLATFORM;
@interface WAConstants : NSObject {
    
frameworks/WASdkIntf.framework/Headers/WAIUser.h
@@ -226,4 +226,31 @@
- (BOOL)isOpenCoins;
- (void)showCoins:(void(^_Nullable)(NSError * _Nullable error))completeBlock;
/*!
@discussion 展示coins购买引导弹窗
 */
- (void)showCoinsGuide:(void(^_Nullable)(NSError * _Nullable error))completeBlock;
/*!
@discussion 获取coins余额和启用状态信息
 */
- (void)getCoinsInfo:(void(^_Nullable)(NSError * _Nullable error, WACoinsInfo * _Nullable coinsInfo))completeBlock;
/*!
@discussion 监听coins余额和开启状态变更(当余额或开启状态发生变化时才通知CP)
*/
- (void)listenCoinsChange:(void(^_Nullable)(NSError * _Nullable error, WACoinsInfo * _Nullable coinsInfo))callback;
// 取消监听
- (void)removeCoinsChangeListener;
@end
frameworks/WASdkIntf.framework/Headers/WAIapProduct.h
@@ -8,30 +8,53 @@
#import <Foundation/Foundation.h>
#import <WASdkIntf/WAPayChannel.h>
#import <WACommon/WAPaymentHelper.h>
#import "WAConstants.h"
/*!
 @discussion WAIapProduct 商品类
 - - -
 */
@interface WAIapProduct : NSObject
@property(nonatomic, strong) NSString *localizedDescription NS_AVAILABLE_IOS(3_0);
@property(nonatomic, strong) NSString *localizedDescription NS_AVAILABLE_IOS(3_0); //商品描述
@property(nonatomic, strong) NSString *localizedTitle NS_AVAILABLE_IOS(3_0);
@property(nonatomic, strong) NSString *localizedTitle NS_AVAILABLE_IOS(3_0); //商品标题
@property(nonatomic, strong) NSDecimalNumber *price NS_AVAILABLE_IOS(3_0);
@property(nonatomic, strong) NSDecimalNumber *price NS_AVAILABLE_IOS(3_0); //商品价格
//@property(nonatomic, strong) NSLocale *priceLocale NS_AVAILABLE_IOS(3_0);
@property(nonatomic, strong) NSString *productIdentifier NS_AVAILABLE_IOS(3_0);
@property(nonatomic, strong) NSString *productIdentifier NS_AVAILABLE_IOS(3_0); //商品id
// YES if this product has content downloadable using SKDownload
//@property(nonatomic) BOOL downloadable NS_AVAILABLE_IOS(6_0);
// Sizes in bytes (NSNumber [long long]) of the downloads available for this product
//@property(nonatomic, strong) NSArray<NSNumber *> *downloadContentLengths NS_AVAILABLE_IOS(6_0);
// Version of the downloadable content
//@property(nonatomic, strong) NSString *downloadContentVersion NS_AVAILABLE_IOS(6_0);
// payment method
@property(nonatomic, strong) NSArray<WAPayChannel *> *payChannels NS_AVAILABLE_IOS(6_0);
@property(nonatomic, strong) NSArray<WAPayChannel *> *payChannels NS_AVAILABLE_IOS(6_0); //支付渠道
@property(nonatomic, strong) NSDecimalNumber *productDiscountAmount;//商品打折后的价格”
@property(nonatomic, strong) NSDecimalNumber *productAmount;//商品价格
@property (nonatomic, assign) NSInteger productType;        // 商品类型(1 - 普通商品(默认),2 - 代金券商品)
@property (nonatomic, assign) NSInteger voucherAmount;        // 代金券数额,购买后,可以得到多少数额
@property(nonatomic, strong)  NSString *productCurrencyCode;  //币种
@property(nonatomic, strong)  WAPayChannel *coinsH5payChannel;  //h5支付渠道(目前用于匹配最佳代金券商品金额展示,为了解决充值中心支付方式在app内不开,没有返回这个支付方式,导致匹配最优代金券时候,支付方式为nil)
#pragma mark -  Apple渠道基准价格(分)
- (long long)getAppleAmountIncents;
#pragma mark -  获取代金券渠道
- (nullable WAPayChannel *)getCoinsChannel;
#pragma mark -  获取代金券渠道 扩展
- (nullable WAPayChannel *)getPayChannel:(NSString *_Nonnull)channelName;
#pragma mark - Apple金额显示
- (NSString *_Nullable)getAppleAmountDisplay;
#pragma mark - 充值中心折扣价显示
- (NSString *_Nullable)getRechargeDiscountAmountDisplay;
#pragma mark - 消耗代金券金额(Coins渠道discountAmount)
- (long long)getCostVoucherAmount;
@end
frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h
@@ -146,4 +146,12 @@
@property(nonatomic)NSInteger  passGuideMode;//0-跳客服;1-复制充值中心短链  2 关闭
@property(nonatomic,copy)NSString * passPageGoto ;
// coins 功能
@property(nonatomic)NSInteger  isOpenCoins;//是否开启coins:0:关闭 1:全部打开 2:仅安卓开启 3:仅IOS开启 不返回默认关闭
@property(nonatomic,copy)NSString * coinsValueDesc ;//coins价值说明
@property(nonatomic)double  coinsLargePaymentThreshold;//coins大额支付阈值,金额,代金券不足的时候,购买这个商品的金额超过这个值时
@property(nonatomic)NSInteger  coinsRechargeType;//0- 跳转充值中心(默认);1-复制跳转充值中心链接  2  AI Help
@end
frameworks/WASdkIntf.framework/Headers/WAPayChannel.h
@@ -13,8 +13,17 @@
@property (nonatomic, strong) NSString *channelProductId; // 支付渠道平台产品编号
@property (nonatomic, assign) NSInteger payChannelId;   // 支付方式编号
@property (nonatomic, strong) NSString *payChannelName; // 支付方式名称 如APPLE 、GOOGLE
@property (nonatomic, assign) NSInteger payMethod;      // 支付方式 1 native、2 webview
@property (nonatomic, assign) NSInteger payMethod;      // 支付方式 1 native、2 webview -1 充值中心支付
@property (nonatomic, assign) NSInteger status;         // 状态 -1 关闭 1 打开
@property (nonatomic, strong) NSString *logoUrl;        // 支付方式图标下载地址
@property (nonatomic, strong) NSString *currency;       //币种
@property (nonatomic, assign) double discountAmount;    // 折扣后金额 *100,为购买这个商品需要消耗的待见金额
@property (nonatomic, assign) NSInteger discount;       // 折扣价格
@property (nonatomic, assign) double amount;            // 基准金额  展示需要$xx 购买代金券的时候,使用apple支付渠道的数据
@end
frameworks/WASdkIntf.framework/Headers/WASdkIntf.h
@@ -78,6 +78,7 @@
#import <WASdkIntf/WACustomerResult.h>
#import <WASdkIntf/WAPlatformAccountInfo.h>
#import <WASdkIntf/WAPassPlatformInfo.h>
#import <WASdkIntf/WACoinsInfo.h>
//! Project version number for WASdkIntf.
@@ -88,5 +89,5 @@
// In this header, you should import all the public headers of your framework using statements like #import <WASdkIntf/PublicHeader.h>
//2026/02/03  12:29 ver:4.10.0
//2026/03/13  12:29 ver:4.11.0
// 2
frameworks/WASdkIntf.framework/Headers/WATrackProxy.h
@@ -117,7 +117,11 @@
extern NSString *const WAEvent_GHW_FLOATING_PAGE_UPDATE_NOT_REMIND ;// 浮窗勾选不再提醒状态更新
extern NSString *const WAEvent_GHW_FLOATING_PAGE_CALL_SHOW_ADS;// 浮窗调用广告接口
// 代金券有关
extern NSString *const WAEvent_GHW_COINS_USE_ALERT; // coins足够
extern NSString *const WAEvent_GHW_COINS_INSUFFICIENT_ALERT;// coins不足
extern NSString *const WAEventParameterNameCoinsInsufficientChoose ;
extern NSString *const WAEventParameterNameRegistrationMethod;
frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
@@ -19,6 +19,7 @@
#import <WASdkIntf/WACustomerResult.h>
#import <WASdkIntf/WAPlatformAccountInfo.h>
#import <WASdkIntf/WAPassPlatformInfo.h>
#import <WASdkIntf/WACoinsInfo.h>
@@ -531,7 +532,39 @@
+ (void)showPassUserGuide:(void(^_Nullable)(NSError * _Nullable error))completeBlock;
/*!
@discussion coins是否开启
 */
+ (BOOL)isOpenCoins;
/*!
 @discussion 用户中心,展示coins
 */
+ (void)showCoins:(void(^_Nullable)(NSError * _Nullable error))completeBlock;
/*!
@discussion 展示coins购买引导弹窗
 */
+ (void)showCoinsGuide:(void(^_Nullable)(NSError * _Nullable error))completeBlock;
/*!
@discussion 获取coins余额和启用状态信息
 */
+ (void)getCoinsInfo:(void(^_Nullable)(NSError * _Nullable error, WACoinsInfo * _Nullable coinsInfo))completeBlock;
/*!
@discussion 监听coins余额和开启状态变更(当余额或开启状态发生变化时才通知CP)
*/
+ (void)listenCoinsChange:(void(^_Nullable)(NSError * _Nullable error, WACoinsInfo * _Nullable coinsInfo))callback;
// 取消监听
+ (void)removeCoinsChangeListener;
@end
frameworks/WASdkIntf.framework/Info.plist
Binary files differ
frameworks/WASdkIntf.framework/WASdkIntf
Binary files differ
frameworks/WASdkIntf.framework/_CodeSignature/CodeDirectory
Binary files differ
frameworks/WASdkIntf.framework/_CodeSignature/CodeResources
@@ -52,13 +52,17 @@
        <data>
        cBGS0MVcZdPAeXA4AQ5NG+Py6RM=
        </data>
        <key>Headers/WACoinsInfo.h</key>
        <data>
        N8u7h7aVtFjGsyNC7LXLDKkrfKU=
        </data>
        <key>Headers/WAComponent.h</key>
        <data>
        luonnU8Q1XZNDB1A4lLup24ob7o=
        </data>
        <key>Headers/WAConstants.h</key>
        <data>
        xDVKGhoFbED7zUNAbHdmvv/83Tc=
        kJx/VMVYnta1xKXji+Lbqb2C5f4=
        </data>
        <key>Headers/WACore.h</key>
        <data>
@@ -162,11 +166,11 @@
        </data>
        <key>Headers/WAIUser.h</key>
        <data>
        WwCTCvHGb/P9k3bCp2HsqVQXktU=
        irhVOEgI6/Pe2r0J+JaJvW16gkQ=
        </data>
        <key>Headers/WAIapProduct.h</key>
        <data>
        rwA1baMvbH76AkU+Be0zossh7jc=
        cnD9strKNFayxZXHuemKLj10alA=
        </data>
        <key>Headers/WAIapResult.h</key>
        <data>
@@ -190,7 +194,7 @@
        </data>
        <key>Headers/WAParamConfigObj.h</key>
        <data>
        HjPRuIfAoiqQP5pANyBY9nEsoBM=
        yTUNy4filO1M3DBcGWW3Riw3NdY=
        </data>
        <key>Headers/WAPassPlatformInfo.h</key>
        <data>
@@ -198,7 +202,7 @@
        </data>
        <key>Headers/WAPayChannel.h</key>
        <data>
        GGmMq0N+Ph/nQo87qL7GojBVKXk=
        SVT/+2A9VVfxH2kvQjASyMbpe8k=
        </data>
        <key>Headers/WAPayProxy.h</key>
        <data>
@@ -222,7 +226,7 @@
        </data>
        <key>Headers/WASdkIntf.h</key>
        <data>
        ELjG9HHxxymPY+OtySnGdh6bXw8=
        XgwJ4Jx+iU3rZKms4i7k1fI9Bt0=
        </data>
        <key>Headers/WAShareLinkContent.h</key>
        <data>
@@ -254,7 +258,7 @@
        </data>
        <key>Headers/WATrackProxy.h</key>
        <data>
        un1kK/7/IW4x7M9Cnq3aKKMVM4g=
        4iR6n34G29MExqQp7z3Ji78vCNI=
        </data>
        <key>Headers/WATutorialCompletedEvent.h</key>
        <data>
@@ -286,11 +290,11 @@
        </data>
        <key>Headers/WAUserProxy.h</key>
        <data>
        CtMHW5rRD5bP8BVTa0AZR8EN+UQ=
        yuHklUXuxlLopdpEfH8LTq1772M=
        </data>
        <key>Info.plist</key>
        <data>
        uS13016KA7+uvC0nafRcGzL7VU0=
        RzUICRWeNlyAwc6VWRaW8iXxIhg=
        </data>
        <key>Modules/module.modulemap</key>
        <data>
@@ -383,6 +387,13 @@
            Nh4HJ7IW74inXLD99d5XjWRZ7BgSOwGGqJjGXTbyx3s=
            </data>
        </dict>
        <key>Headers/WACoinsInfo.h</key>
        <dict>
            <key>hash2</key>
            <data>
            Zn8mFjwMeuf0mDaRzoTlQ4L5NAno/edUN/e0f+uRUPI=
            </data>
        </dict>
        <key>Headers/WAComponent.h</key>
        <dict>
            <key>hash2</key>
@@ -394,7 +405,7 @@
        <dict>
            <key>hash2</key>
            <data>
            0KpN0j9nP6otwKX3Eqf8bOhLeHxisrg+ZjDeTzXWEPs=
            FSrkHvCsnuOVMGDYPGPJGhh4lDvOcv1wn6bs9teAB4M=
            </data>
        </dict>
        <key>Headers/WACore.h</key>
@@ -576,14 +587,14 @@
        <dict>
            <key>hash2</key>
            <data>
            hQQVyMUsBdLoZdUR4ok5gi7WzB6tVX8t0v3py50w3Cc=
            NTd+ocpkI/tvWq9rWxfXKMAcS+XziwuehtAp+pHQEEs=
            </data>
        </dict>
        <key>Headers/WAIapProduct.h</key>
        <dict>
            <key>hash2</key>
            <data>
            4xbKunsZMnVDAETIyQ7N7sqeUrukqo9WRBbRbKePns8=
            Dt4kjwD6kOorzwtv3fovrDvFFznMiTxWSaFABOfbQoQ=
            </data>
        </dict>
        <key>Headers/WAIapResult.h</key>
@@ -625,7 +636,7 @@
        <dict>
            <key>hash2</key>
            <data>
            avfhNsznsQ2ABeZC9PZFcYEh0GuwRNMeKRwjeXcJYgc=
            NgEHSURw38UWM0Ad5ik2gAA0zrLzNAsaHl3GL9XZlfU=
            </data>
        </dict>
        <key>Headers/WAPassPlatformInfo.h</key>
@@ -639,7 +650,7 @@
        <dict>
            <key>hash2</key>
            <data>
            cm8eB8GnO6KxdvzMO5p9ILu/tnceW8cOWr+eLCoZO+4=
            fkhalAE/VFBoL1Fot6FKMVAU7vGvOcl4gZKXbAFmaao=
            </data>
        </dict>
        <key>Headers/WAPayProxy.h</key>
@@ -681,7 +692,7 @@
        <dict>
            <key>hash2</key>
            <data>
            RekdiTjmIEI+CyYnHJPAOQhzJ70dCDX3GyLYAdUWj1c=
            N5oyBcY7scpe8vkovGFCdaNq+mjdl8PrYIsR2+iayds=
            </data>
        </dict>
        <key>Headers/WAShareLinkContent.h</key>
@@ -737,7 +748,7 @@
        <dict>
            <key>hash2</key>
            <data>
            Ats1aeYKTXf+hnm7uMIAk8BleEOAMGhPMM1uoGrW8Uw=
            95UZBYw/2TZ2vL2kvXemSrYBLpJIHjGaG/VPrGVZvZk=
            </data>
        </dict>
        <key>Headers/WATutorialCompletedEvent.h</key>
@@ -793,7 +804,7 @@
        <dict>
            <key>hash2</key>
            <data>
            w+7mdIZsOeJVivkZt2UQZFbet+x0YaezcVVb7phOTpI=
            /GWO6+pF/JUWm19D1EugHvZfYX2D3ElxXncyoIdkS44=
            </data>
        </dict>
        <key>Modules/module.modulemap</key>
frameworks/WASdkIntf.framework/_CodeSignature/CodeSignature
Binary files differ