spm仓库支持,通用仓库
lpw
2026-03-13 65876fbe0bfbe0071c38d08d749e1f53f251b9a4
提交版本 4.11.0
4 files added
42 files modified
550 ■■■■ changed files
Sources/WASdkImpl/config/wa_sdk_impl_config_winga.xml 2 ●●● patch | view | raw | blame | history
WASdkImpl/AFNetworking.xcframework/Info.plist 28 ●●●● patch | view | raw | blame | history
WASdkImpl/FMDB.xcframework/Info.plist 28 ●●●● patch | view | raw | blame | history
WASdkImpl/WACommon.xcframework/ios-arm64/WACommon.framework/Headers/WACommConstants.h 13 ●●●●● patch | view | raw | blame | history
WASdkImpl/WACommon.xcframework/ios-arm64/WACommon.framework/Headers/WACommon.h 3 ●●●● patch | view | raw | blame | history
WASdkImpl/WACommon.xcframework/ios-arm64/WACommon.framework/Headers/WAHelper.h 3 ●●●●● patch | view | raw | blame | history
WASdkImpl/WACommon.xcframework/ios-arm64/WACommon.framework/Headers/WAPaymentHelper.h 36 ●●●●● patch | view | raw | blame | history
WASdkImpl/WACommon.xcframework/ios-arm64/WACommon.framework/Info.plist patch | view | raw | blame | history
WASdkImpl/WACommon.xcframework/ios-arm64/WACommon.framework/WACommon patch | view | raw | blame | history
WASdkImpl/WACommon.xcframework/ios-x86_64-simulator/WACommon.framework/Headers/WACommConstants.h 13 ●●●●● patch | view | raw | blame | history
WASdkImpl/WACommon.xcframework/ios-x86_64-simulator/WACommon.framework/Headers/WACommon.h 3 ●●●● patch | view | raw | blame | history
WASdkImpl/WACommon.xcframework/ios-x86_64-simulator/WACommon.framework/Headers/WAHelper.h 3 ●●●●● patch | view | raw | blame | history
WASdkImpl/WACommon.xcframework/ios-x86_64-simulator/WACommon.framework/Headers/WAPaymentHelper.h 36 ●●●●● patch | view | raw | blame | history
WASdkImpl/WACommon.xcframework/ios-x86_64-simulator/WACommon.framework/Info.plist patch | view | raw | blame | history
WASdkImpl/WACommon.xcframework/ios-x86_64-simulator/WACommon.framework/WACommon patch | view | raw | blame | history
WASdkImpl/WASdkImpl.xcframework/Info.plist 28 ●●●● patch | view | raw | blame | history
WASdkImpl/WASdkImpl.xcframework/ios-arm64/WASdkImpl.framework/Headers/WASdkCore.h 2 ●●● patch | view | raw | blame | history
WASdkImpl/WASdkImpl.xcframework/ios-arm64/WASdkImpl.framework/Headers/WASdkImpl.h 4 ●●●● patch | view | raw | blame | history
WASdkImpl/WASdkImpl.xcframework/ios-arm64/WASdkImpl.framework/Info.plist patch | view | raw | blame | history
WASdkImpl/WASdkImpl.xcframework/ios-arm64/WASdkImpl.framework/WASdkImpl patch | view | raw | blame | history
WASdkImpl/WASdkImpl.xcframework/ios-x86_64-simulator/WASdkImpl.framework/Headers/WASdkCore.h 2 ●●● patch | view | raw | blame | history
WASdkImpl/WASdkImpl.xcframework/ios-x86_64-simulator/WASdkImpl.framework/Headers/WASdkImpl.h 4 ●●●● patch | view | raw | blame | history
WASdkImpl/WASdkImpl.xcframework/ios-x86_64-simulator/WASdkImpl.framework/Info.plist patch | view | raw | blame | history
WASdkImpl/WASdkImpl.xcframework/ios-x86_64-simulator/WASdkImpl.framework/WASdkImpl patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-arm64/WASdkIntf.framework/Headers/WACoinsInfo.h 25 ●●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-arm64/WASdkIntf.framework/Headers/WAConstants.h 9 ●●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-arm64/WASdkIntf.framework/Headers/WAIUser.h 27 ●●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-arm64/WASdkIntf.framework/Headers/WAIapProduct.h 51 ●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-arm64/WASdkIntf.framework/Headers/WAParamConfigObj.h 8 ●●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-arm64/WASdkIntf.framework/Headers/WAPayChannel.h 11 ●●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-arm64/WASdkIntf.framework/Headers/WASdkIntf.h 3 ●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-arm64/WASdkIntf.framework/Headers/WATrackProxy.h 4 ●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-arm64/WASdkIntf.framework/Headers/WAUserProxy.h 33 ●●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-arm64/WASdkIntf.framework/Info.plist patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-arm64/WASdkIntf.framework/WASdkIntf patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/WASdkIntf.framework/Headers/WACoinsInfo.h 25 ●●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/WASdkIntf.framework/Headers/WAConstants.h 9 ●●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/WASdkIntf.framework/Headers/WAIUser.h 27 ●●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/WASdkIntf.framework/Headers/WAIapProduct.h 51 ●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/WASdkIntf.framework/Headers/WAParamConfigObj.h 8 ●●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/WASdkIntf.framework/Headers/WAPayChannel.h 11 ●●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/WASdkIntf.framework/Headers/WASdkIntf.h 3 ●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/WASdkIntf.framework/Headers/WATrackProxy.h 4 ●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/WASdkIntf.framework/Headers/WAUserProxy.h 33 ●●●●● patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/WASdkIntf.framework/Info.plist patch | view | raw | blame | history
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/WASdkIntf.framework/WASdkIntf patch | view | raw | blame | history
Sources/WASdkImpl/config/wa_sdk_impl_config_winga.xml
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<config>
    <version val="WA4.10.0" />
    <version val="WA4.11.0" />
    <comps>
        
        <comp module="USR" plaf="WINGA" mandatory="YES" value="WASdkUser" desc="WINGA用户账户" />
WASdkImpl/AFNetworking.xcframework/Info.plist
@@ -8,6 +8,20 @@
            <key>BinaryPath</key>
            <string>AFNetworking.framework/AFNetworking</string>
            <key>LibraryIdentifier</key>
            <string>ios-arm64</string>
            <key>LibraryPath</key>
            <string>AFNetworking.framework</string>
            <key>SupportedArchitectures</key>
            <array>
                <string>arm64</string>
            </array>
            <key>SupportedPlatform</key>
            <string>ios</string>
        </dict>
        <dict>
            <key>BinaryPath</key>
            <string>AFNetworking.framework/AFNetworking</string>
            <key>LibraryIdentifier</key>
            <string>ios-x86_64-simulator</string>
            <key>LibraryPath</key>
            <string>AFNetworking.framework</string>
@@ -19,20 +33,6 @@
            <string>ios</string>
            <key>SupportedPlatformVariant</key>
            <string>simulator</string>
        </dict>
        <dict>
            <key>BinaryPath</key>
            <string>AFNetworking.framework/AFNetworking</string>
            <key>LibraryIdentifier</key>
            <string>ios-arm64</string>
            <key>LibraryPath</key>
            <string>AFNetworking.framework</string>
            <key>SupportedArchitectures</key>
            <array>
                <string>arm64</string>
            </array>
            <key>SupportedPlatform</key>
            <string>ios</string>
        </dict>
    </array>
    <key>CFBundlePackageType</key>
WASdkImpl/FMDB.xcframework/Info.plist
@@ -8,6 +8,20 @@
            <key>BinaryPath</key>
            <string>FMDB.framework/FMDB</string>
            <key>LibraryIdentifier</key>
            <string>ios-arm64</string>
            <key>LibraryPath</key>
            <string>FMDB.framework</string>
            <key>SupportedArchitectures</key>
            <array>
                <string>arm64</string>
            </array>
            <key>SupportedPlatform</key>
            <string>ios</string>
        </dict>
        <dict>
            <key>BinaryPath</key>
            <string>FMDB.framework/FMDB</string>
            <key>LibraryIdentifier</key>
            <string>ios-x86_64-simulator</string>
            <key>LibraryPath</key>
            <string>FMDB.framework</string>
@@ -19,20 +33,6 @@
            <string>ios</string>
            <key>SupportedPlatformVariant</key>
            <string>simulator</string>
        </dict>
        <dict>
            <key>BinaryPath</key>
            <string>FMDB.framework/FMDB</string>
            <key>LibraryIdentifier</key>
            <string>ios-arm64</string>
            <key>LibraryPath</key>
            <string>FMDB.framework</string>
            <key>SupportedArchitectures</key>
            <array>
                <string>arm64</string>
            </array>
            <key>SupportedPlatform</key>
            <string>ios</string>
        </dict>
    </array>
    <key>CFBundlePackageType</key>
WASdkImpl/WACommon.xcframework/ios-arm64/WACommon.framework/Headers/WACommConstants.h
@@ -319,6 +319,19 @@
extern NSString *const WASDK_GHG_TASKLIST ;
extern NSString *const WASDK_URL_USER_PASS_INFO ;
//获取用户代金券信息
extern NSString *const WASDK_URL_COINS_USER_INFO ;
//查询引导图
extern NSString *const WASDK_URL_COINS_GUIDE_IMAGE ;
// 获取用户兑换码
extern NSString *const WASDK_URL_COINS_GET_REDEEM_CODE;
extern NSString *const WASDK_NEED_PUSERID_AND_PTOKEN ;
extern NSString *const WASDK_URL_FLOATING_PAGE_SWITCH ;
extern NSString *const WASDK_URL_CREATE_SIGN ;
WASdkImpl/WACommon.xcframework/ios-arm64/WACommon.framework/Headers/WACommon.h
@@ -26,6 +26,7 @@
#import <WACommon/WAReachability.h>
#import <WACommon/WAWebProgressView.h>
#import <WACommon/WAWebViewController.h>
#import <WACommon/WAPaymentHelper.h>
//time:2025/01/07  12:29 ver:4.9.0
//time:2025/01/07  12:29 ver:4.11.0
// 1
WASdkImpl/WACommon.xcframework/ios-arm64/WACommon.framework/Headers/WAHelper.h
@@ -62,6 +62,7 @@
+(UIViewController *)getCurrentVC;
//返回当前应用程序窗口最顶层的视图控制器
+(UIViewController *)getCurrentTopViewController;
+ (UIWindow *)wa_keyWindow;
+(void)addOrientationNotification:(id)observer selector:(SEL)selector object:(id)object;
+(void)removeOrientationNotification:(id)observer object:(id)object;
+(NSString *)getMacAddress;
@@ -86,4 +87,6 @@
// 查看配置项,是否需要展示登录框的返回按钮
+ (BOOL) needShowloginUIBackButton;
@end
WASdkImpl/WACommon.xcframework/ios-arm64/WACommon.framework/Headers/WAPaymentHelper.h
New file
@@ -0,0 +1,36 @@
//
//  WAPaymentHelper.h
//  WACommon
//
//  Created by lpw on 2026/3/10.
//  Copyright © 2026 GHW-T-01. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface WAPaymentHelper : NSObject
// 获取币种符号
+ (NSString*)getCurrencySymbol:(NSString*)currencyCode;
/**
 价格显示 例如 $1.99
 */
+ (NSString *)getProductDisplayAmount:(NSString *)currencyCode
                               amount:(NSDecimalNumber *)amount;
/**
 金额显示,整数去掉小数,否则保留2位小数
 */
+ (NSString *)getBigDecimalAmountDisplay:(NSDecimalNumber *)amount ;
/**
 金额放大100倍(分)
 */
+ (long long)getPriceAmountInCents:(NSDecimalNumber *)amount;
@end
NS_ASSUME_NONNULL_END
WASdkImpl/WACommon.xcframework/ios-arm64/WACommon.framework/Info.plist
Binary files differ
WASdkImpl/WACommon.xcframework/ios-arm64/WACommon.framework/WACommon
Binary files differ
WASdkImpl/WACommon.xcframework/ios-x86_64-simulator/WACommon.framework/Headers/WACommConstants.h
@@ -319,6 +319,19 @@
extern NSString *const WASDK_GHG_TASKLIST ;
extern NSString *const WASDK_URL_USER_PASS_INFO ;
//获取用户代金券信息
extern NSString *const WASDK_URL_COINS_USER_INFO ;
//查询引导图
extern NSString *const WASDK_URL_COINS_GUIDE_IMAGE ;
// 获取用户兑换码
extern NSString *const WASDK_URL_COINS_GET_REDEEM_CODE;
extern NSString *const WASDK_NEED_PUSERID_AND_PTOKEN ;
extern NSString *const WASDK_URL_FLOATING_PAGE_SWITCH ;
extern NSString *const WASDK_URL_CREATE_SIGN ;
WASdkImpl/WACommon.xcframework/ios-x86_64-simulator/WACommon.framework/Headers/WACommon.h
@@ -26,6 +26,7 @@
#import <WACommon/WAReachability.h>
#import <WACommon/WAWebProgressView.h>
#import <WACommon/WAWebViewController.h>
#import <WACommon/WAPaymentHelper.h>
//time:2025/01/07  12:29 ver:4.9.0
//time:2025/01/07  12:29 ver:4.11.0
// 1
WASdkImpl/WACommon.xcframework/ios-x86_64-simulator/WACommon.framework/Headers/WAHelper.h
@@ -62,6 +62,7 @@
+(UIViewController *)getCurrentVC;
//返回当前应用程序窗口最顶层的视图控制器
+(UIViewController *)getCurrentTopViewController;
+ (UIWindow *)wa_keyWindow;
+(void)addOrientationNotification:(id)observer selector:(SEL)selector object:(id)object;
+(void)removeOrientationNotification:(id)observer object:(id)object;
+(NSString *)getMacAddress;
@@ -86,4 +87,6 @@
// 查看配置项,是否需要展示登录框的返回按钮
+ (BOOL) needShowloginUIBackButton;
@end
WASdkImpl/WACommon.xcframework/ios-x86_64-simulator/WACommon.framework/Headers/WAPaymentHelper.h
New file
@@ -0,0 +1,36 @@
//
//  WAPaymentHelper.h
//  WACommon
//
//  Created by lpw on 2026/3/10.
//  Copyright © 2026 GHW-T-01. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface WAPaymentHelper : NSObject
// 获取币种符号
+ (NSString*)getCurrencySymbol:(NSString*)currencyCode;
/**
 价格显示 例如 $1.99
 */
+ (NSString *)getProductDisplayAmount:(NSString *)currencyCode
                               amount:(NSDecimalNumber *)amount;
/**
 金额显示,整数去掉小数,否则保留2位小数
 */
+ (NSString *)getBigDecimalAmountDisplay:(NSDecimalNumber *)amount ;
/**
 金额放大100倍(分)
 */
+ (long long)getPriceAmountInCents:(NSDecimalNumber *)amount;
@end
NS_ASSUME_NONNULL_END
WASdkImpl/WACommon.xcframework/ios-x86_64-simulator/WACommon.framework/Info.plist
Binary files differ
WASdkImpl/WACommon.xcframework/ios-x86_64-simulator/WACommon.framework/WACommon
Binary files differ
WASdkImpl/WASdkImpl.xcframework/Info.plist
@@ -8,20 +8,6 @@
            <key>BinaryPath</key>
            <string>WASdkImpl.framework/WASdkImpl</string>
            <key>LibraryIdentifier</key>
            <string>ios-arm64</string>
            <key>LibraryPath</key>
            <string>WASdkImpl.framework</string>
            <key>SupportedArchitectures</key>
            <array>
                <string>arm64</string>
            </array>
            <key>SupportedPlatform</key>
            <string>ios</string>
        </dict>
        <dict>
            <key>BinaryPath</key>
            <string>WASdkImpl.framework/WASdkImpl</string>
            <key>LibraryIdentifier</key>
            <string>ios-x86_64-simulator</string>
            <key>LibraryPath</key>
            <string>WASdkImpl.framework</string>
@@ -34,6 +20,20 @@
            <key>SupportedPlatformVariant</key>
            <string>simulator</string>
        </dict>
        <dict>
            <key>BinaryPath</key>
            <string>WASdkImpl.framework/WASdkImpl</string>
            <key>LibraryIdentifier</key>
            <string>ios-arm64</string>
            <key>LibraryPath</key>
            <string>WASdkImpl.framework</string>
            <key>SupportedArchitectures</key>
            <array>
                <string>arm64</string>
            </array>
            <key>SupportedPlatform</key>
            <string>ios</string>
        </dict>
    </array>
    <key>CFBundlePackageType</key>
    <string>XFWK</string>
WASdkImpl/WASdkImpl.xcframework/ios-arm64/WASdkImpl.framework/Headers/WASdkCore.h
@@ -11,7 +11,7 @@
#import <WACommon/WACommon.h>
NS_ASSUME_NONNULL_BEGIN
#define WASdkLog(fmt,...) {\
if([WACoreProxy isDebugMode]){\
if([WACoreProxy displayLog]){\
NSLog((@"WASDK LOG [(version %@) %s ]:" fmt), [WASdkCore getVersion],__FUNCTION__, ##__VA_ARGS__);\
[WACoreProxy addLogWithString:[NSString stringWithFormat:(@"(version %@) %s ]:" fmt),[WASdkCore getVersion],__FUNCTION__, ##__VA_ARGS__]];\
}\
WASdkImpl/WASdkImpl.xcframework/ios-arm64/WASdkImpl.framework/Headers/WASdkImpl.h
@@ -46,8 +46,8 @@
#import <WASdkImpl/WASdkGTMBase64.h>
//2026/02/03  12:29 ver:4.10.0
// 1
//2026/03/13  12:29 ver:4.11.0
// 3
WASdkImpl/WASdkImpl.xcframework/ios-arm64/WASdkImpl.framework/Info.plist
Binary files differ
WASdkImpl/WASdkImpl.xcframework/ios-arm64/WASdkImpl.framework/WASdkImpl
Binary files differ
WASdkImpl/WASdkImpl.xcframework/ios-x86_64-simulator/WASdkImpl.framework/Headers/WASdkCore.h
@@ -11,7 +11,7 @@
#import <WACommon/WACommon.h>
NS_ASSUME_NONNULL_BEGIN
#define WASdkLog(fmt,...) {\
if([WACoreProxy isDebugMode]){\
if([WACoreProxy displayLog]){\
NSLog((@"WASDK LOG [(version %@) %s ]:" fmt), [WASdkCore getVersion],__FUNCTION__, ##__VA_ARGS__);\
[WACoreProxy addLogWithString:[NSString stringWithFormat:(@"(version %@) %s ]:" fmt),[WASdkCore getVersion],__FUNCTION__, ##__VA_ARGS__]];\
}\
WASdkImpl/WASdkImpl.xcframework/ios-x86_64-simulator/WASdkImpl.framework/Headers/WASdkImpl.h
@@ -46,8 +46,8 @@
#import <WASdkImpl/WASdkGTMBase64.h>
//2026/02/03  12:29 ver:4.10.0
// 1
//2026/03/13  12:29 ver:4.11.0
// 3
WASdkImpl/WASdkImpl.xcframework/ios-x86_64-simulator/WASdkImpl.framework/Info.plist
Binary files differ
WASdkImpl/WASdkImpl.xcframework/ios-x86_64-simulator/WASdkImpl.framework/WASdkImpl
Binary files differ
WASdkIntf/WASdkIntf.xcframework/ios-arm64/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
WASdkIntf/WASdkIntf.xcframework/ios-arm64/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 {
    
WASdkIntf/WASdkIntf.xcframework/ios-arm64/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
WASdkIntf/WASdkIntf.xcframework/ios-arm64/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
WASdkIntf/WASdkIntf.xcframework/ios-arm64/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
WASdkIntf/WASdkIntf.xcframework/ios-arm64/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
WASdkIntf/WASdkIntf.xcframework/ios-arm64/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
WASdkIntf/WASdkIntf.xcframework/ios-arm64/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;
WASdkIntf/WASdkIntf.xcframework/ios-arm64/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
WASdkIntf/WASdkIntf.xcframework/ios-arm64/WASdkIntf.framework/Info.plist
Binary files differ
WASdkIntf/WASdkIntf.xcframework/ios-arm64/WASdkIntf.framework/WASdkIntf
Binary files differ
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/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
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/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 {
    
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/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
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/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
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/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
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/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
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/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
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/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;
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/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
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/WASdkIntf.framework/Info.plist
Binary files differ
WASdkIntf/WASdkIntf.xcframework/ios-x86_64-simulator/WASdkIntf.framework/WASdkIntf
Binary files differ