开发版本-developer——01 first commit
|
After Width: | Height: | Size: 765 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"iosAppLinkConfig": {
|
||||
"exp" : 600,
|
||||
"degradeType" : 0,
|
||||
"canDeepLink" : 0,
|
||||
"appScheme":{
|
||||
"taobao" : "tbopen://m.taobao.com/tbopen/index.html",
|
||||
"tmall" : "tmall://page.tm/appLink",
|
||||
},
|
||||
"h5Scheme":{
|
||||
"detail":"https://h5.m.taobao.com/awp/core/detail.htm",
|
||||
"shop":"https://shop.m.taobao.com/shop/shopIndex.htm",
|
||||
"activity":"https://huodong.m.taobao.com/go/2085.html",
|
||||
},
|
||||
"dynamicParam":{
|
||||
"k1":"v1"
|
||||
},
|
||||
"downloadUrl":{
|
||||
"taobao":"https://itunes.apple.com/cn/app/tao-bao-sui-shi-sui-xiang/id387682726?mt=8",
|
||||
"tmall":"https://itunes.apple.com/cn/app/tian-mao-zhi-bo-gou-wu-xin/id518966501?mt=8"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
|
After Width: | Height: | Size: 192 B |
|
After Width: | Height: | Size: 1011 B |
|
After Width: | Height: | Size: 605 B |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 222 B |
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* AlibcTradePageFactory.h
|
||||
*
|
||||
* 阿里百川电商
|
||||
* 项目名称:阿里巴巴电商 AlibcTradeSDK
|
||||
* 版本号:3.1.1.96
|
||||
* 发布时间:2017-03-24
|
||||
* 开发团队:阿里巴巴百川商业化团队
|
||||
* 阿里巴巴电商SDK答疑群号:1229144682(阿里旺旺)
|
||||
* Copyright (c) 2016-2019 阿里巴巴-移动事业群-百川. All rights reserved.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
|
||||
@protocol AlibcTradePage <NSObject>
|
||||
|
||||
@end
|
||||
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/** 页面工厂类,用于构造各类要显示的page */
|
||||
@interface AlibcTradePageFactory : NSObject
|
||||
|
||||
/**
|
||||
* 创建URL指定页面
|
||||
*
|
||||
* @param url 地址
|
||||
*
|
||||
* @return URL指定页面
|
||||
*/
|
||||
+ (id <AlibcTradePage>)page:(NSString *)url;
|
||||
|
||||
/**
|
||||
* 创建商品真实ID或者混淆(open)ID对应的详情页面
|
||||
*
|
||||
* @param itemId 商品真实ID或者混淆(open)ID
|
||||
*
|
||||
* @return 详情页面
|
||||
*/
|
||||
+ (id <AlibcTradePage>)itemDetailPage:(NSString *)itemId;
|
||||
|
||||
/**
|
||||
* 创建商品真实ID或者混淆(open)ID对应的迷你详情页面
|
||||
*
|
||||
* @param itemId 商品真实ID或者混淆(open)ID
|
||||
*
|
||||
* @return 详情页面
|
||||
*/
|
||||
+ (id <AlibcTradePage>)itemMiniDetailPage:(NSString *)itemId;
|
||||
|
||||
/**
|
||||
* 创建我的购物车页面
|
||||
*
|
||||
* @return 我的购物车页面
|
||||
*/
|
||||
+ (id <AlibcTradePage>)myCartsPage;
|
||||
|
||||
/**
|
||||
* 创建我的订单列表页面
|
||||
*
|
||||
* @param status 所要展示订单的订单状态
|
||||
* 0: 为全部订单
|
||||
* 1: 为待付款订单
|
||||
* 2: 为待发货订单
|
||||
* 3: 为待收货订单
|
||||
* 4: 为待评价订单
|
||||
* @param isAllOrder 是否显示全部订单
|
||||
*
|
||||
* YES: 显示全部订单
|
||||
* NO : 显示ISV自己创建的订单
|
||||
*
|
||||
* @return 我的订单列表页面
|
||||
*/
|
||||
+ (id <AlibcTradePage>)myOrdersPage:(NSInteger)status isAllOrder:(BOOL)isAllOrder;
|
||||
|
||||
/**
|
||||
* 创建店铺页面
|
||||
*
|
||||
* @param shopId 店铺ID
|
||||
*
|
||||
* @return 店铺页面
|
||||
*/
|
||||
+ (id <AlibcTradePage>)shopPage:(NSString *)shopId;
|
||||
|
||||
/**
|
||||
* 创建添加到购物车页面
|
||||
*
|
||||
* @param itemId 商品真实ID或者混淆(open)ID
|
||||
*
|
||||
* @return 店铺页面
|
||||
*/
|
||||
+ (id <AlibcTradePage>)addCartPage:(NSString *)itemId;
|
||||
|
||||
/**
|
||||
* 通过request加载指定页面,可以在里面自己附加header等
|
||||
*
|
||||
* @param request 请求
|
||||
*
|
||||
* @return URL指定页面
|
||||
*/
|
||||
+ (id <AlibcTradePage>)requestPage:(NSMutableURLRequest *)request;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* AlibcTradeResult.h
|
||||
*
|
||||
* 阿里百川电商
|
||||
* 项目名称:阿里巴巴电商 AlibcTradeSDK
|
||||
* 版本号:3.1.1.96
|
||||
* 发布时间:2017-03-24
|
||||
* 开发团队:阿里巴巴百川商业化团队
|
||||
* 阿里巴巴电商SDK答疑群号:1229144682(阿里旺旺)
|
||||
* Copyright (c) 2016-2019 阿里巴巴-移动事业群-百川. All rights reserved.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class AlibcTradePayResult;
|
||||
|
||||
/** 交易结果类型 */
|
||||
typedef NS_ENUM (NSUInteger, AlibcTradeResultType) {
|
||||
/** 成功添加到购物车 */
|
||||
AlibcTradeResultTypeAddCard,
|
||||
/** 成功支付 */
|
||||
AlibcTradeResultTypePaySuccess
|
||||
};
|
||||
|
||||
|
||||
/** 交易结果 */
|
||||
@interface AlibcTradeResult : NSObject
|
||||
/** 交易结果的类型 */
|
||||
@property(nonatomic, assign) AlibcTradeResultType result;
|
||||
/** 支付结果,只有Result为 AlibcTradeResultTypePaySuccess时有效 */
|
||||
@property(nonatomic, strong, nullable) AlibcTradePayResult *payResult;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,166 @@
|
||||
/*
|
||||
* AlibcTradeSDK.h
|
||||
*
|
||||
* 阿里百川电商
|
||||
* 项目名称:阿里巴巴电商 AlibcTradeSDK
|
||||
* 版本号:3.1.1.96
|
||||
* 发布时间:2017-03-24
|
||||
* 开发团队:阿里巴巴百川商业化团队
|
||||
* 阿里巴巴电商SDK答疑群号:1229144682(阿里旺旺)
|
||||
* Copyright (c) 2016-2019 阿里巴巴-移动事业群-百川. All rights reserved.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "AlibcTradePageFactory.h"
|
||||
#import "AlibcTradeService.h"
|
||||
#import "AlibcTradeShowParams.h"
|
||||
#import <AlibcTradeCommon/AlibcTradeCommon.h>
|
||||
#import <AlibcTradeBiz/AlibcTradeBiz.h>
|
||||
|
||||
@interface AlibcTradeSDK : NSObject
|
||||
|
||||
/**
|
||||
* AlibcTradeSDK 的单例对象
|
||||
*/
|
||||
+ (instancetype)sharedInstance;
|
||||
|
||||
/**
|
||||
* !!!: 已弃用
|
||||
* 初始化函数,初始化成功后方可正常使用SDK中的功能
|
||||
*
|
||||
* @param appKey 该App对应的AppKey
|
||||
* @param onSuccess 初始化成功的回调
|
||||
* @param onFailure 初始化失败的回调
|
||||
*/
|
||||
/*
|
||||
- (void)asyncInit:(NSString*)appKey
|
||||
success:(void (^)())onSuccess
|
||||
failure:(void (^)(NSError *error))onFailure DEPRECATED_ATTRIBUTE;
|
||||
*/
|
||||
|
||||
/**
|
||||
* 初始化函数,初始化成功后方可正常使用SDK中的功能
|
||||
*
|
||||
* @param onSuccess 初始化成功的回调
|
||||
* @param onFailure 初始化失败的回调
|
||||
*/
|
||||
- (void)asyncInitWithSuccess:(void (^)())onSuccess
|
||||
failure:(void (^)(NSError *error))onFailure;
|
||||
|
||||
/**
|
||||
* 获取service对象,该对象包含大部分Trade相关的方法
|
||||
*/
|
||||
- (id <AlibcTradeService>)tradeService;
|
||||
|
||||
/**
|
||||
* ============================================================================
|
||||
* 用于处理其他App的回跳
|
||||
*
|
||||
* @param url 需要进行判断的URL对象
|
||||
*
|
||||
* @return 是否被SDK进行处理
|
||||
*
|
||||
* 该接口已经启用, 请使用
|
||||
* iOS 7&8: -[AlibcTradeSDK application:openURL:sourceApplication:annotation:]
|
||||
* iOS 9+: -[AlibcTradeSDK application:openURL:options:] => iOS 9+
|
||||
* 替代
|
||||
* ============================================================================
|
||||
*/
|
||||
/* - (BOOL)handleOpenURL:(NSURL *)url; */
|
||||
|
||||
|
||||
/**
|
||||
* App 回跳处理, 适用于 iOS 9 以下的回调接口
|
||||
|
||||
@param application application
|
||||
@param url url
|
||||
@param sourceApplication sourceApplication
|
||||
@param annotation annotation
|
||||
@return handled or nor
|
||||
*/
|
||||
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;
|
||||
|
||||
/**
|
||||
* App 回跳处理, 适用于 iOS 9 起的回调接口
|
||||
|
||||
@param annotation annotation
|
||||
@param url url
|
||||
@param options options
|
||||
@return handled or nor
|
||||
*/
|
||||
- (BOOL)application:(UIApplication *)application
|
||||
openURL:(NSURL *)url
|
||||
options:(NSDictionary<NSString *, id> *)options NS_AVAILABLE_IOS(9_0);
|
||||
|
||||
@end
|
||||
|
||||
@interface AlibcTradeSDK (Settings)
|
||||
|
||||
- (void)setDebugLogOpen:(BOOL)isDebugLogOpen;
|
||||
|
||||
/**
|
||||
* 设置环境
|
||||
*/
|
||||
- (void)setEnv:(AlibcEnvironment)env;
|
||||
|
||||
/**
|
||||
* 设置全局配置,是否强制使用h5
|
||||
*
|
||||
* @param isForceH5 是否强制使用h5,show接口的AlibcTradeShowParams参数优先级比这里高,AlibcTradeShowParams设置AlibcOpenTypeNative,依然可以跳手淘..
|
||||
*/
|
||||
- (void)setIsForceH5:(BOOL)isForceH5;
|
||||
|
||||
/*
|
||||
* 设置是否对淘客使用同步打点
|
||||
* 默认的淘客打点方式,sdk会自己选择合适的方式,调用该接口与否不影响打点,建议开发者不要调用自己配置
|
||||
* 只有跟阿里妈妈申请了高分润的才需要设为同步
|
||||
*
|
||||
* @param isSync 是否对淘客使用同步打点
|
||||
*/
|
||||
- (void)setIsSyncForTaoke:(BOOL)isSync;
|
||||
|
||||
/**
|
||||
* 设置三方App版本,可用于标识App版本
|
||||
*
|
||||
* @param version 版本字段
|
||||
*/
|
||||
- (void)setIsvVersion:(NSString *)version;
|
||||
|
||||
/**
|
||||
* 设置App标识字段,和isvcode同义,可用于区分使用本SDK的具体三方App
|
||||
*
|
||||
* @param code isv code 字段
|
||||
*/
|
||||
- (void)setISVCode:(NSString *)code;
|
||||
|
||||
/**
|
||||
* 设置默认淘客参数
|
||||
*
|
||||
* @param param 传入一个配置好的AlibcTradeTaokeParams作为默认淘客参数,详见 AlibcTradeTaokeParams.h
|
||||
*/
|
||||
|
||||
- (void)setTaokeParams:(AlibcTradeTaokeParams *)param;
|
||||
|
||||
/**
|
||||
* 设置渠道信息,渠道专享价专用.
|
||||
*
|
||||
* @param type 渠道类型
|
||||
* @param name 渠道名
|
||||
*/
|
||||
- (void)setChannel:(NSString *)type name:(NSString *)name;
|
||||
|
||||
/**
|
||||
* 开启接口免授权模式,
|
||||
* 请不要随便设置,没有在后台申请相关的权限的,开启后会导致网络请求失败
|
||||
*
|
||||
*/
|
||||
- (void)enableAuthVipMode;
|
||||
|
||||
/**
|
||||
* 设置是否需要 Native AliPay 接口
|
||||
*
|
||||
* @param shouldUseAlipay 是否需要 Native AliPay 接口
|
||||
*/
|
||||
- (void)setShouldUseAlipayNative:(BOOL)shouldUseAlipayNative;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* AlibcTradeSDKDefines.h
|
||||
*
|
||||
* 阿里百川电商
|
||||
* 项目名称:阿里巴巴电商 AlibcTradeSDK
|
||||
* 版本号:3.1.1.96
|
||||
* 发布时间:2017-03-24
|
||||
* 开发团队:阿里巴巴百川商业化团队
|
||||
* 阿里巴巴电商SDK答疑群号:1229144682(阿里旺旺)
|
||||
* Copyright (c) 2016-2019 阿里巴巴-移动事业群-百川. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef AlibcTradeSDKDefines_h
|
||||
#define AlibcTradeSDKDefines_h
|
||||
|
||||
/*
|
||||
* trackParam 参数key说明
|
||||
*/
|
||||
#define track_scm @"scm"
|
||||
#define track_pvid @"pvid"
|
||||
#define track_isv_code @"isv_code"
|
||||
|
||||
typedef void (^AlibcTradeProcessSuccessCallback)(AlibcTradeResult *__nullable result);
|
||||
|
||||
typedef void (^AlibcTradeProcessFailedCallback)(NSError *__nullable error);
|
||||
|
||||
#endif /* AlibcTradeSDKDefines_h */
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* AlibcTradeService.h
|
||||
*
|
||||
* 阿里百川电商
|
||||
* 项目名称:阿里巴巴电商 AlibcTradeSDK
|
||||
* 版本号:3.1.1.96
|
||||
* 发布时间:2017-03-24
|
||||
* 开发团队:阿里巴巴百川商业化团队
|
||||
* 阿里巴巴电商SDK答疑群号:1229144682(阿里旺旺)
|
||||
* Copyright (c) 2016-2019 阿里巴巴-移动事业群-百川. All rights reserved.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "AlibcTradeResult.h"
|
||||
#import "AlibcTradePageFactory.h"
|
||||
#import "AlibcTradeShowParams.h"
|
||||
#import "AlibcTradeSDKDefines.h"
|
||||
|
||||
@class UIViewController;
|
||||
@class UIWebView;
|
||||
|
||||
/** 交易服务 */
|
||||
@protocol AlibcTradeService <NSObject>
|
||||
|
||||
/**
|
||||
* 使用百川SDK的webview打开page,可以实现淘宝账号免登以及电商交易支付流程
|
||||
*
|
||||
* @param parentController 当前view controller. 若isNeedPush为YES, 需传入当前UINavigationController.
|
||||
* @param page 想要打开的page
|
||||
* @param showParams 打开方式的一些自定义参数
|
||||
* @param taoKeParams 淘客参数
|
||||
* @param trackParam 链路跟踪参数
|
||||
* @param tradeProcessSuccessCallback 交易流程中成功回调(加购成功(使用+[AlibcTradePageFactory addCartPage:]时)/发生支付)
|
||||
* @param tradeProcessFailedCallback 交易流程中退出或者调用发生错误的回调
|
||||
*
|
||||
* @return 0标识跳转到手淘打开了,1标识用h5打开,-1标识出错
|
||||
*/
|
||||
- (NSInteger) show:(UIViewController *__nonnull)parentController
|
||||
page:(id <AlibcTradePage> __nonnull)page
|
||||
showParams:(nullable AlibcTradeShowParams *)showParams
|
||||
taoKeParams:(nullable AlibcTradeTaokeParams *)taoKeParams
|
||||
trackParam:(nullable NSDictionary *)trackParam
|
||||
tradeProcessSuccessCallback:(nullable void (^)(AlibcTradeResult *__nullable result))onSuccess
|
||||
tradeProcessFailedCallback:(nullable void (^)(NSError *__nullable error))onFailure;
|
||||
|
||||
/**
|
||||
* 使用isv自己的webview打开page,可以实现淘宝账号免登以及电商交易支付流程
|
||||
*
|
||||
* @param parentController webView所在的view controller.
|
||||
* @param webView isv自己的webview,请先设置好自己的delegate先调用本接口,否则拦截登陆等逻辑会失效
|
||||
* @param page 想要打开的page
|
||||
* @param showParams 打开方式的一些自定义参数
|
||||
* @param taoKeParams 淘客参数
|
||||
* @param trackParam 链路跟踪参数
|
||||
* @param tradeProcessSuccessCallback 交易流程中成功回调(加购成功(使用+[AlibcTradePageFactory addCartPage:]时)/发生支付)
|
||||
* @param tradeProcessFailedCallback 交易流程中退出或者调用发生错误的回调
|
||||
*
|
||||
* @return 0: 标识跳转到手淘打开了
|
||||
1: 标识用h5打开
|
||||
-1: 标识出错
|
||||
*/
|
||||
- (NSInteger) show:(UIViewController *__nonnull)parentController
|
||||
webView:(nullable UIWebView *)webView
|
||||
page:(id <AlibcTradePage> __nonnull)page
|
||||
showParams:(nullable AlibcTradeShowParams *)showParams
|
||||
taoKeParams:(nullable AlibcTradeTaokeParams *)taoKeParams
|
||||
trackParam:(nullable NSDictionary *)trackParam
|
||||
tradeProcessSuccessCallback:(nullable void (^)(AlibcTradeResult *__nullable result))onSuccess
|
||||
tradeProcessFailedCallback:(nullable void (^)(NSError *__nullable error))onFailure;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* AlibcTradeShowParams.h
|
||||
*
|
||||
* 阿里百川电商
|
||||
* 项目名称:阿里巴巴电商 AlibcTradeSDK
|
||||
* 版本号:3.1.1.96
|
||||
* 发布时间:2017-03-24
|
||||
* 开发团队:阿里巴巴百川商业化团队
|
||||
* 阿里巴巴电商SDK答疑群号:1229144682(阿里旺旺)
|
||||
* Copyright (c) 2016-2019 阿里巴巴-移动事业群-百川. All rights reserved.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <AlibcTradeBiz/AlibcTradeBiz.h>
|
||||
/**
|
||||
* 打开页面的类型
|
||||
*/
|
||||
typedef NS_ENUM(NSUInteger, AlibcOpenType) {
|
||||
/** 智能判断 */
|
||||
AlibcOpenTypeAuto,
|
||||
/** 强制跳手淘 */
|
||||
AlibcOpenTypeNative,
|
||||
/** 强制h5展示 */
|
||||
AlibcOpenTypeH5
|
||||
};
|
||||
|
||||
|
||||
|
||||
@interface AlibcTradeShowParams : NSObject
|
||||
/**
|
||||
* 是否为push方式打开新页面
|
||||
* 当show page时传入自定义webview时,本参数没有实际意义
|
||||
*
|
||||
* NO : 在当前view controller上present新页面
|
||||
* YES: 在传入的UINavigationController中push新页面
|
||||
* 默认值:NO
|
||||
*/
|
||||
@property(nonatomic, assign) BOOL isNeedPush;
|
||||
/**
|
||||
* 打开页面的方式,详见AlibcOpenType
|
||||
* 默认值:Auto
|
||||
*/
|
||||
@property(nonatomic, assign) AlibcOpenType openType;
|
||||
/**
|
||||
* 指定手淘回跳的地址,跳转至isv指定的url
|
||||
* 规则: tbopen${appkey}://xx.xx.xx
|
||||
*/
|
||||
@property(nonatomic, strong) NSString *backUrl;
|
||||
|
||||
/**
|
||||
* applink使用,优先拉起的linkKey,手淘:@"taobao_scheme"
|
||||
*/
|
||||
@property(nonatomic, strong) NSString *linkKey;
|
||||
|
||||
/**
|
||||
* 跳手淘/天猫失败后的处理策略, 默认值为: AlibcNativeFailModeJumpH5
|
||||
*/
|
||||
@property(nonatomic, assign) AlibcNativeFailMode nativeFailMode;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* AlibcTradeTrackService.h
|
||||
*
|
||||
* 阿里百川电商
|
||||
* 项目名称:阿里巴巴电商 AlibcTradeSDK
|
||||
* 版本号:3.1.1.96
|
||||
* 发布时间:2017-03-24
|
||||
* 开发团队:阿里巴巴百川商业化团队
|
||||
* 阿里巴巴电商SDK答疑群号:1229144682(阿里旺旺)
|
||||
* Copyright (c) 2016-2019 阿里巴巴-移动事业群-百川. All rights reserved.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
//#import <AlibcTradeBiz/AlibcTrackParams.h>
|
||||
|
||||
/** 内容曝光 */
|
||||
extern NSString *const AlibcTradeEventId_Exposure;
|
||||
/** 内容点击 */
|
||||
extern NSString *const AlibcTradeEventId_ContentClick;
|
||||
|
||||
|
||||
@interface AlibcTradeTrackService : NSObject
|
||||
|
||||
/**
|
||||
* isv添加自定义ut打点..
|
||||
*
|
||||
* @param eventId 事件名,系统自带事件名,见最上面的几个常量字符串
|
||||
* @param Params 埋点参数
|
||||
*/
|
||||
+ (void)addTraceLog:(NSString *)eventId param:(AlibcTrackParams *)params;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BuildMachineOSBuild</key>
|
||||
<string>16A323</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>AlibcTradeSDK</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.alibaba.baichuan.trade</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>AlibcTradeSDK</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>3.1.1.96-SNAPSHOT</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>iPhoneOS</string>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>DTCompiler</key>
|
||||
<string>com.apple.compilers.llvm.clang.1_0</string>
|
||||
<key>DTPlatformBuild</key>
|
||||
<string>14B72</string>
|
||||
<key>DTPlatformName</key>
|
||||
<string>iphoneos</string>
|
||||
<key>DTPlatformVersion</key>
|
||||
<string>10.1</string>
|
||||
<key>DTSDKBuild</key>
|
||||
<string>14B72</string>
|
||||
<key>DTSDKName</key>
|
||||
<string>iphoneos10.1</string>
|
||||
<key>DTXcode</key>
|
||||
<string>0810</string>
|
||||
<key>DTXcodeBuild</key>
|
||||
<string>8B62</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>7.0</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>StringsTable</key>
|
||||
<string>Root</string>
|
||||
<key>PreferenceSpecifiers</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Group</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Name</string>
|
||||
<key>Key</key>
|
||||
<string>name_preference</string>
|
||||
<key>DefaultValue</key>
|
||||
<string></string>
|
||||
<key>IsSecure</key>
|
||||
<false/>
|
||||
<key>KeyboardType</key>
|
||||
<string>Alphabet</string>
|
||||
<key>AutocapitalizationType</key>
|
||||
<string>None</string>
|
||||
<key>AutocorrectionType</key>
|
||||
<string>No</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Enabled</string>
|
||||
<key>Key</key>
|
||||
<string>enabled_preference</string>
|
||||
<key>DefaultValue</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSSliderSpecifier</string>
|
||||
<key>Key</key>
|
||||
<string>slider_preference</string>
|
||||
<key>DefaultValue</key>
|
||||
<real>0.5</real>
|
||||
<key>MinimumValue</key>
|
||||
<integer>0</integer>
|
||||
<key>MaximumValue</key>
|
||||
<integer>1</integer>
|
||||
<key>MinimumValueImage</key>
|
||||
<string></string>
|
||||
<key>MaximumValueImage</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
After Width: | Height: | Size: 765 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"group0": {
|
||||
"dataId": "com.alibaba.baichuan.nbcp.meta.default",
|
||||
"group": "1.0.0",
|
||||
"lastUpdate": "Jun 14, 2016 2:12:22 PM",
|
||||
"sign": ""
|
||||
},
|
||||
"albbTradeConfig": {
|
||||
"isSyncForTaoke": "YES",
|
||||
"isForceH5": "NO",
|
||||
"isNeedAlipay": "YES",
|
||||
"loginDegarade": "NO",
|
||||
"double11OpenType":"0",
|
||||
"sampling":"10000"
|
||||
},
|
||||
"group2": {
|
||||
"abc1": "agc1",
|
||||
"abc2": "agc2",
|
||||
"abc3": "agc3",
|
||||
"11111":"11111"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"Release": {
|
||||
"trade.tmallTradeItemUrlHost": "https://detail.m.tmall.com/item.htm",
|
||||
"trade.taobaoMobileTradeItemUrlHost": "https://h5.m.taobao.com/awp/core/detail.htm",
|
||||
"trade.myOrdersUrl": "https://h5.m.taobao.com/mlapp/olist.html",
|
||||
"trade.shopUrlHost": "https://shop.m.taobao.com/shop/shop_index.htm",
|
||||
"trade.cartUrl": "https://h5.m.taobao.com/mlapp/cart.html",
|
||||
"trade.taobaoHomeUrl": "https://h5.m.taobao.com",
|
||||
"trade.taobaoTradeItemMiniUrlHost": "https://h5.m.taobao.com/trade/detail.html",
|
||||
"trade.taobaoTradeItemUrlHost": "https://h5.m.taobao.com/cm/snap/index.html"
|
||||
},
|
||||
"PreRelease": {
|
||||
},
|
||||
"Daily": {
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 773 B |
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,33 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.platform = :ios
|
||||
s.ios.deployment_target = '5.0'
|
||||
s.name = 'OpenMtopSDK'
|
||||
s.version = "1.6.1.17-SNAPSHOT"
|
||||
s.summary = '淘宝MTOPSDK'
|
||||
s.description = 'MTOP SDK for IOS'
|
||||
s.homepage = 'http://gitlab.alibaba-inc.com/wireless/mtopsdk'
|
||||
s.license = {
|
||||
:type => 'Copyright',
|
||||
:text => <<-LICENSE
|
||||
Alibaba-Inc copyright
|
||||
LICENSE
|
||||
}
|
||||
s.requires_arc = true
|
||||
s.authors = {'苍至'=>'silu.msl@taobao.com'}
|
||||
|
||||
s.frameworks = 'UIKit', 'Foundation'
|
||||
|
||||
s.dependency 'UTDID'
|
||||
|
||||
s.dependency 'UTDID'
|
||||
s.dependency 'SecurityGuardSDK'
|
||||
s.dependency 'SGMain'
|
||||
s.dependency 'SGSecurityBody'
|
||||
s.dependency 'SGNoCaptcha'
|
||||
|
||||
s.source = { :git=>"git@gitlab.alibaba-inc.com:wireless/opensdk.git", :commit=> "d81fd09" }
|
||||
|
||||
#s.exclude_files = exclude_files+networksdk_no_arc_files
|
||||
s.source_files = 'MtopSDK/*.{h,m,c,mm}'
|
||||
|
||||
end
|
||||