lipengwei
2019-10-10 56b891b2b50a493e805019147fabac796292c5d5
1.3.0
3 files added
12 files modified
150 ■■■■■ changed files
WASdkIntf_CN.podspec 2 ●●● patch | view | raw | blame | history
WASdkIntf_CN/1.3.0/WASdkIntf_CN.podspec 23 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAChannelProduct.h 22 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WACode.h 1 ●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAIPay.h 2 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAIPush.h 2 ●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAIUser.h 5 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h 1 ●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAPayProxy.h 13 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAPushProxy.h 2 ●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WASdkIntf.h 4 ●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAUserCenterResult.h 38 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Headers/WAUserProxy.h 35 ●●●●● patch | view | raw | blame | history
frameworks/WASdkIntf.framework/Info.plist patch | view | raw | blame | history
frameworks/WASdkIntf.framework/WASdkIntf patch | view | raw | blame | history
WASdkIntf_CN.podspec
@@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'WASdkIntf_CN'
s.version = '1.2.1'
s.version = '1.3.0'
s.summary = 'WASdkIntf_CN framework in testing environment.'
s.license = 'MIT'
s.author = { "Hank" => "hank.zhang@gamehollywood.com" }
WASdkIntf_CN/1.3.0/WASdkIntf_CN.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_CN'
s.version = '1.3.0'
s.summary = 'WASdkIntf_CN framework in testing environment.'
s.license = 'MIT'
s.author = { "Hank" => "hank.zhang@gamehollywood.com" }
s.homepage = 'http://repo.wingsdk.cn:8082/summary/WASdkIntf_CN.git'
s.source = { :git => "http://admin@repo.wingsdk.cn:8082/r/WASdkIntf_CN.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/WAChannelProduct.h
New file
@@ -0,0 +1,22 @@
//
//  WAChannelProduct.h
//  WASdkIntf
//
//  Created by LPW on 2019/9/17.
//  Copyright © 2019 GHW-T-01. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface WAChannelProduct : NSObject
@property(nonatomic, strong) NSString *channel;           //渠道名称
@property(nonatomic, strong) NSString *productIdentifier; //平台商品id
@property(nonatomic, strong) NSString *localeCurrencyCode; //当前币种code USD 、CNY
@property(nonatomic, strong) NSString *localFormattedPrice;//格式化价格 $999.99  ¥6,498.00
@property(nonatomic, strong) NSDecimalNumber * price ;    //价格 999.99         6498
@end
NS_ASSUME_NONNULL_END
frameworks/WASdkIntf.framework/Headers/WACode.h
@@ -41,6 +41,7 @@
    WACodeLoginPlatformClosed = 4029 ,//登录渠道已关闭
    WACodeBindAccountClosed = 4048 ,//账号绑定关闭
    WACodeUnBindAccountClosed = 4049 ,//账号解绑关闭
    WACodeUserCenterClosed = 4059 ,//用户中心未开启
    WACodeCanNotSwitchToAnonymous = 5001 ,
    WACodeFbObjectType = 5002 ,//facebook的objectType不能为空
    WACodeFbGiftListRequestPrameterLack = 5003 ,//请求gift列表缺少appid,appSecret,objectType参数
frameworks/WASdkIntf.framework/Headers/WAIPay.h
@@ -14,6 +14,8 @@
-(void)init4Iap;
-(void)queryInventory:(id<WAInventoryDelegate>)delegate;
-(void)payWithProductId:(NSString *)productId extInfo:(NSString *)extInfo delegate:(id<WAPaymentDelegate>)delegate;
-(void)queryChannelProduct:(NSString *)channel
             callBackBlock:(void(^)(NSArray *channelProductsArray,NSError *error))callBackBlock;
-(BOOL)isPayServiceAvailable;
-(void)fetchProductInformations:(NSDictionary *)waProductIds inventoryDelegate:(id<WAInventoryDelegate>)delegate;
- (void)checkFinishTransactions;
frameworks/WASdkIntf.framework/Headers/WAIPush.h
@@ -35,7 +35,7 @@
- (void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler;
// 通知的点击事件
- (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void(^)())completionHandler;
- (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void(^)(void))completionHandler;
// 程序进入后台
- (void)applicationDidEnterBackground:(UIApplication *)application;
frameworks/WASdkIntf.framework/Headers/WAIUser.h
@@ -49,4 +49,9 @@
-(WALoginResult*)getCurrentLoginResult;
-(void)didUserLogin:(void(^)(NSError* error,BOOL didLogin))block;
- (void)getUserCenterNotice:(id<WAUserCenterNoticeDelegate>)delegate;
- (void)showUserCenterNoticeUI:(id<WAUserCenterNoticeUIDelegate>)delegate;
@end
frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h
@@ -30,5 +30,6 @@
@property(nonatomic) NSInteger enableUnBindAccount; // 解绑:   0-关闭,1-打开
@property(nonatomic,copy)NSString* privacyUrl; // 用户协议url
@property(nonatomic,copy)NSString* privacyUpdateTime; // 用户协议更新时间
@property(nonatomic)NSInteger userCenterStatus; // 用户中心状态 0-关闭,1-打开
@end
frameworks/WASdkIntf.framework/Headers/WAPayProxy.h
@@ -8,7 +8,7 @@
#import <Foundation/Foundation.h>
#import "WAIPay.h"
@class WAIapProduct,WAIapResult;
@class WAIapProduct,WAIapResult,WAChannelProduct;
/*!
 @discussion 查询商品库存协议
@@ -60,6 +60,15 @@
 @param delegate 委托
 */
+(void)queryInventoryWithDelegate:(id<WAInventoryDelegate>)delegate;
/*!
@abstract 查询渠道商品调用方法
@param callBackBlock 回掉
*/
+ (void)queryChannelProduct:(NSString *)channel
              callBackBlock:(void(^)(NSArray <WAChannelProduct *>*channelProductsArray,NSError *error))callBackBlock;
/*!
 @abstract 支付某个商品
 @param productId 商品id
@@ -75,4 +84,6 @@
+(void)payLog:(NSString *)logInfo;
@end
frameworks/WASdkIntf.framework/Headers/WAPushProxy.h
@@ -34,7 +34,7 @@
+ (void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler;
// 通知的点击事件
+ (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void(^)())completionHandler;
+ (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void(^)(void))completionHandler;
// 程序进入后台
+ (void)applicationDidEnterBackground:(UIApplication *)application;
frameworks/WASdkIntf.framework/Headers/WASdkIntf.h
@@ -25,6 +25,7 @@
#import <WASdkIntf/WAIPay.h>
#import <WASdkIntf/WAPayProxy.h>
#import <WASdkIntf/WAIapProduct.h>
#import <WASdkIntf/WAChannelProduct.h>
#import <WASdkIntf/WAPayChannel.h>
#import <WASdkIntf/WAIapResult.h>
#import <WASdkIntf/WAISocial.h>
@@ -35,6 +36,7 @@
#import <WASdkIntf/WATrackProxy.h>
#import <WASdkIntf/WABindingResult.h>
#import <WASdkIntf/WALoginResult.h>
#import <WASdkIntf/WAUserCenterResult.h>
#import <WASdkIntf/WAIUser.h>
#import <WASdkIntf/WAUserProxy.h>
#import <WASdkIntf/WAAccount.h>
@@ -65,4 +67,4 @@
// In this header, you should import all the public headers of your framework using statements like #import <WASdkIntf/PublicHeader.h>
//time:2018/10/26 10:38 ver:1.2.1
//time:2019/10/09 09:15 ver:1.3.0
frameworks/WASdkIntf.framework/Headers/WAUserCenterResult.h
New file
@@ -0,0 +1,38 @@
//
//  WAUserCenterResult.h
//  WASdkIntf
//
//  Created by hank on 2019/5/8.
//  Copyright © 2019年 GHW-T-01. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface WAUserCenterResult : NSObject<NSCoding,NSCopying>
/*!
 @abstract 状态码
 */
@property NSInteger code;
/*!
 @abstract 结果描述
 */
@property(copy,nonatomic)NSString *msg;
/*!
 @abstract 用户中心文字内容
 */
@property(copy,nonatomic)NSString *userCenterInfo;
/*!
 @abstract 用户名
 */
@property(copy,nonatomic)NSString *userName;
/*!
 @abstract 初始密码
 */
@property(copy,nonatomic)NSString *password;
@end
NS_ASSUME_NONNULL_END
frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
@@ -11,6 +11,7 @@
#import "WALoginResult.h"
#import "WABindingResult.h"
#import "WAAccount.h"
#import "WAUserCenterResult.h"
#import "WAAppUser.h"
/*!
 @discussion 登录协议
@@ -110,6 +111,36 @@
-(void)switchAcctDidCompleteWithResult:(WALoginResult*)result;
@end
/*!
 @discussion 用户中心
 - - -
 */
@protocol WAUserCenterNoticeDelegate <NSObject>
/*!
 @abstract 获取用户中心数据回调接口
 @param result 用户中心数据信息
 */
- (void)userCenterNoticeWithResult:(WAUserCenterResult *)result;
@end
/*!
 @discussion 用户中心
 - - -
 */
@protocol WAUserCenterNoticeUIDelegate <NSObject>
/*!
 @abstract 用户中心界面关闭回调接口
 */
- (void)userCenterNoticeClose;
/*!
 @abstract 用户中心界面错误回调接口
 @param error 用户中心错误信息
 */
- (void)userCenterNoticeError:(NSError *)error;
@end
/*!
 @discussion WAUserProxy 是用户模块的代理类。功能包括设置登录流程、登录、登出、绑定、解绑、查询当前用户绑定的第三方平台账户列表、切换账号、创建账号等等。
@@ -203,6 +234,10 @@
//+(NSString*)transferWithPlatform:(NSString *const)platform;
+ (void)getUserCenterNotice:(id<WAUserCenterNoticeDelegate>)delegate;
+ (void)showUserCenterNoticeUI:(id<WAUserCenterNoticeUIDelegate>)delegate;
/*!
 @discussion 处理UIApplicationDelegate的方法[-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions]传递过来的参数。
 */
frameworks/WASdkIntf.framework/Info.plist
Binary files differ
frameworks/WASdkIntf.framework/WASdkIntf
Binary files differ