Commit a54d8234ad7adfe49b59389ca42c71703b500613

Authored by alexYang
1 parent 79f6c46eff
Exists in master

v3.3.20 修改第三方支付参数,删除iOSBlue测试配置参数

Showing 8 changed files with 9 additions and 12 deletions Side-by-side Diff

... ... @@ -2,8 +2,8 @@
2 2  
3 3  
4 4 接入手册
5   -V 3.3.19
6   -2016年11月14日
  5 +V 3.3.20
  6 +2016年11月16日
7 7  
8 8 ## 概述
9 9 #### 本SDK提供gump账号,fb账号,vk账号三种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。
... ... @@ -101,7 +101,6 @@ Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifi
101 101 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息
102 102 [payInfo setValue:@"元宝" forKey:@"product"];//物品信息
103 103 [payInfo setValue:self.sessionKey forKey:@"sessionKey"];//登录成功的sessionKey
104   - [payInfo setValue:@"1" forKey:@"iosBlue"];//接入完BluePay,需要使用时需要的标志位
105 104 [[LetsGameAPI instance] pay:payInfo handleCallBack:^{
106 105 //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调
107 106 NSLog(@"第三方支付完成");
... ... @@ -127,12 +126,7 @@ Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifi
127 126 //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功
128 127 NSLog(@"iap completed orderId of gumptech:%@",orderId);
129 128 }];
130   -### 8、SDK版本测试设置
131   -若想使用SDK的debug版本,需要在AppDelegate的application: didFinishLaunchingWithOptions:中设置:
132   -
133   - [[LetsGameAPI instance] decideIsDebug:1];
134   -不设置或者设置为0时,默认使用release版本
135   -### 9、token的获取
  129 +### 8、token的获取
136 130 FB登录之后会产生token并自动登录,需要如果需要token的话,需要自己调用接口获取。
137 131  
138 132 //tokenString:token字符串
ios/GameSDK.framework/Versions/A/GameSDK
No preview for this file type
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
... ... @@ -13,7 +13,7 @@ static BOOL isEnableVK = NO;
13 13  
14 14 static BOOL hiddenLogo = NO;
15 15  
16   -static NSString *version = @"3.3.19";
  16 +static NSString *version = @"3.3.20";
17 17  
18 18 @interface LetsGameAPI : NSObject<UIApplicationDelegate>
19 19  
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/xcshareddata/xcdebugger/Breakpoints_v2.xcbkptlist
... ... @@ -0,0 +1,5 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<Bucket
  3 + type = "4"
  4 + version = "2.0">
  5 +</Bucket>
ios/GameSDKDemo/letsgameDemo/LSGAppDelegate.m
... ... @@ -22,7 +22,6 @@
22 22  
23 23 self.window.backgroundColor = [UIColor whiteColor];
24 24 [self.window makeKeyAndVisible];
25   -// [[LetsGameAPI instance] decideIsDebug:1];
26 25 [[UIApplication sharedApplication] setStatusBarHidden:YES];
27 26 [[LetsGameAPI instance] registeIapObserver];
28 27  
ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
... ... @@ -122,7 +122,6 @@
122 122 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];
123 123 [payInfo setValue:@"test" forKey:@"product"];
124 124 [payInfo setValue:@"76c17cc68ff9f7f40bd3d096ccc5600a" forKey:@"sessionKey"]; //self.sessionKey
125   - [payInfo setValue:@"1" forKey:@"iosBlue"];
126 125 [[LetsGameAPI instance] pay:payInfo handleCallBack:^{
127 126 NSLog(@"第三方支付完成");
128 127 }];