Commit d7e540e1e8fd92d7734c32a7a40174fea0e99a14

Authored by alexYang
1 parent 524f882206
Exists in master

1、关闭页面接口增加2、关于游客登录绑定3、游客登录或者自动登录的时候绑定成gump用户alert出现4、IAP添加增加金额和金额种类5、web第三方登录时有时…

…出现bug6、password 加密过程中问题修改7、Google登录修改UA

Showing 17 changed files with 145 additions and 41 deletions Inline Diff

1 # Gump IOS SDK使用文档 1 # Gump IOS SDK使用文档
2 2
3 3
4 接入手册 4 接入手册
5 V 3.5.7 5 V 3.5.18
6 2018年6月13日 6 2018年7月24日
7 7
8 ## 概述 8 ## 概述
9 #### 本SDK提供gump账号,fb账号,vk账号,Google帐号四种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。 9 #### 本SDK提供gump账号,fb账号,vk账号,Google帐号四种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。
10 10
11 ## 接入步骤 11 ## 接入步骤
12 ### 1、添加Framework和资源文件 12 ### 1、添加Framework和资源文件
13 + 以下为必须添加的framework以及资源bundle: 13 + 以下为必须添加的framework以及资源bundle:
14 MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GameSDK.framework、StoreKit.framework、GameSDKResources.bundle 14 MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GameSDK.framework、StoreKit.framework、GameSDKResources.bundle
15 + 以下为可选,若接入vk登录则需要添加以下framework和bundle,其中VKSdk.framework和VKSDKResources.bundle请自行从vk.com下载,使用1.3版本 15 + 以下为可选,若接入vk登录则需要添加以下framework和bundle,其中VKSdk.framework和VKSDKResources.bundle请自行从vk.com下载,使用1.3版本
16 VKSdk.framework、VKBridge.framework、VKSDKResources.bundle 16 VKSdk.framework、VKBridge.framework、VKSDKResources.bundle
17 + 以下可选,若接入微信登陆则需要添加如下的framework: 17 + 以下可选,若接入微信登陆则需要添加如下的framework:
18 libsqlite3.0.dylib, libc++.dylib, Security.framework, CoreTelephony.framework, CFNetwork.framework 18 libsqlite3.0.dylib, libc++.dylib, Security.framework, CoreTelephony.framework, CFNetwork.framework
19 19
20 20
21 ### 2、引入头文件,设置build setting 21 ### 2、引入头文件,设置build setting
22 需要使用头文件有LetsGameAPI.h和VKBridge.h,其中VKBridge.h为接入vk时使用,不接入vk可忽略。 22 需要使用头文件有LetsGameAPI.h和VKBridge.h,其中VKBridge.h为接入vk时使用,不接入vk可忽略。
23 因sdk内使用了category,需要设置other linker flag为 -ObjC 23 因sdk内使用了category,需要设置other linker flag为 -ObjC
24 24
25 25
26 ### 3、增加必要配置 26 ### 3、增加必要配置
27 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回: 27 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回:
28 28
29 return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; 29 return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication];
30 30
31 31
32 2)配置URL-schema(vk专用,不接入vk可忽略) 32 2)配置URL-schema(vk专用,不接入vk可忽略)
33 Xcode 5: Open your application settings then select the Info tab. In the URL Types section click the plus sign. Enter vk+APP_ID (e.g. vk1234567) to the Identifier and URL Schemes fields. 33 Xcode 5: Open your application settings then select the Info tab. In the URL Types section click the plus sign. Enter vk+APP_ID (e.g. vk1234567) to the Identifier and URL Schemes fields.
34 ![](images/vk1.jpg) 34 ![](images/vk1.jpg)
35 Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifier to vk+APP_ID 35 Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifier to vk+APP_ID
36 ![](images/vk2.jpg) 36 ![](images/vk2.jpg)
37 3)配置URL-schema(weChat专用,不接入可以忽略) 37 3)配置URL-schema(weChat专用,不接入可以忽略)
38 选中“TARGETS”一栏,在“info”标签栏的“URL type“添加“URL scheme”为你所注册的应用程序id 38 选中“TARGETS”一栏,在“info”标签栏的“URL type“添加“URL scheme”为你所注册的应用程序id
39 选中“TARGETS”一栏,在“info”标签栏的“LSApplicationQueriesSchemes“添加weixin和wechat 39 选中“TARGETS”一栏,在“info”标签栏的“LSApplicationQueriesSchemes“添加weixin和wechat
40 40
41 ### 4、在工程里添加SDK登录代码 41 ### 4、在工程里添加SDK登录代码
42 42
43 [LetsGameAPI instance].appId = @"100"; // 设置appId 43 [LetsGameAPI instance].appId = @"100"; // 设置appId
44 [LetsGameAPI instance].appKey = @"100"; // 设置appKey 44 [LetsGameAPI instance].appKey = @"100"; // 设置appKey
45 [LetsGameAPI instance].channelId = @"100"; //设置channelId 45 [LetsGameAPI instance].channelId = @"100"; //设置channelId
46 46
47 //启用vk的代码,需要填入vk appId,若不接入vk,可以忽略 47 //启用vk的代码,需要填入vk appId,若不接入vk,可以忽略
48 //VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; 48 //VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"];
49 //[LetsGameAPI instance].vkBridge = vkBridge; 49 //[LetsGameAPI instance].vkBridge = vkBridge;
50 50
51 //隐藏fb登录 51 //隐藏fb登录
52 [LetsGameAPI disableFB:YES]; 52 [LetsGameAPI disableFB:YES];
53 //隐藏Google登录 53 //隐藏Google登录
54 [LetsGameAPI disableGoogle:YES]; 54 [LetsGameAPI disableGoogle:YES];
55 //隐藏gumptech的logo 55 //隐藏gumptech的logo
56 [LetsGameAPI hiddenLogo:YES]; 56 [LetsGameAPI hiddenLogo:YES];
57 //隐藏line登录 57 //隐藏line登录
58 [LetsGameAPI disableLine:YES]; 58 [LetsGameAPI disableLine:YES];
59 //隐藏wechat登录 59 //隐藏wechat登录
60 [LetsGameAPI disableWeChat:YES]; 60 [LetsGameAPI disableWeChat:YES];
61 61
62 [[LetsGameAPI instance] showLoginView]; // 弹出登录页面 62 [[LetsGameAPI instance] showLoginView]; // 弹出登录页面
63 63
64 // 登录成功回调 64 // 登录成功回调
65 [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) { 65 [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) {
66 NSLog(@"%@", [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %d", userId, sessionKey, type]); 66 NSLog(@"%@", [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %d", userId, sessionKey, type]);
67 }; 67 };
68 68
69 // 登录失败回调 69 // 登录失败回调
70 [LetsGameAPI instance].dismissBlock = ^() { 70 [LetsGameAPI instance].dismissBlock = ^() {
71 NSLog(@"dismiss without login"); 71 NSLog(@"dismiss without login");
72 }; 72 };
73 73
74 ### 5、登录注销 74 ### 5、登录注销
75 注销接口只要设置过appId和appKey之后就不需要设置了,注销完成之后会回到登录界面。FB登录回到登录页面,Gump登录或者游客登录回到登录框。 75 注销接口只要设置过appId和appKey之后就不需要设置了,注销完成之后会回到登录界面。FB登录回到登录页面,Gump登录或者游客登录回到登录框。
76 76
77 [LetsGameAPI instance].appId = @"100";//设置appId 77 [LetsGameAPI instance].appId = @"100";//设置appId
78 [LetsGameAPI instance].appKey = @"100";//设置appkey 78 [LetsGameAPI instance].appKey = @"100";//设置appkey
79 [[LetsGameAPI instance] logout]; //注销 79 [[LetsGameAPI instance] logout]; //注销
80 80
81 81
82 ### 6、第三方支付 82 ### 6、第三方支付
83 [LetsGameAPI instance].appId = @"10022"; 83 [LetsGameAPI instance].appId = @"10022";
84 [LetsGameAPI instance].appKey = @"f899139df5e1059396431415e770c6dd"; 84 [LetsGameAPI instance].appKey = @"f899139df5e1059396431415e770c6dd";
85 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; 85 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary];
86 [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数 86 [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数
87 [payInfo setValue:@"10010" forKey:@"roleId"];//用户角色id 87 [payInfo setValue:@"10010" forKey:@"roleId"];//用户角色id
88 [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id 88 [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id
89 [payInfo setValue:@"10" forKey:@"amount"];//金额 89 [payInfo setValue:@"10" forKey:@"amount"];//金额
90 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 90 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息
91 [payInfo setValue:@"元宝" forKey:@"product"];//物品信息 91 [payInfo setValue:@"元宝" forKey:@"product"];//物品信息
92 [payInfo setValue:self.sessionKey forKey:@"sessionKey"];//登录成功的sessionKey 92 [payInfo setValue:self.sessionKey forKey:@"sessionKey"];//登录成功的sessionKey
93 [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{ 93 [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{
94 //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调 94 //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调
95 NSLog(@"第三方支付完成"); 95 NSLog(@"第三方支付完成");
96 }]]; 96 }]];
97 97
98 ### 7、IAP支付 98 ### 7、IAP支付
99 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 99 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法
100 100
101 [[LetsGameAPI instance] registeIapObserver]; 101 [[LetsGameAPI instance] registeIapObserver];
102 具体调用iap支付的方法如下: 102 具体调用iap支付的方法如下:
103 103
104 [LetsGameAPI instance].appId = @"10022"; 104 [LetsGameAPI instance].appId = @"10022";
105 [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; 105 [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab";
106 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; 106 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary];
107 [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id 107 [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id
108 [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id 108 [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id
109 [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计 109 [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计
110 [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准 110 [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准
111 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号 111 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号
112 [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId 112 [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId
113 [[LetsGameAPI instance] iap:payInfo forUser:@"" succCallback:^(NSString *orderId) { 113 [[LetsGameAPI instance] iap:payInfo forUser:@"" succCallback:^(NSString *orderId) {
114 //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 114 //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果
115 //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 115 //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功
116 NSLog(@"IAP completed orderId of Gumptech:%@",orderId); 116 NSLog(@"IAP completed orderId of Gumptech:%@",orderId);
117 } failCallback:^(NSString *orderId) { 117 } failCallback:^(NSString *orderId) {
118 //支付失败 118 //支付失败
119 NSLog(@"IAP file orderId of Gumptech:%@",orderId); 119 NSLog(@"IAP file orderId of Gumptech:%@",orderId);
120 }]; 120 }];
121 ### 8、token的获取 121 ### 8、token的获取
122 FB登录之后会产生token并自动登录,需要如果需要token的话,需要自己调用接口获取。 122 FB登录之后会产生token并自动登录,需要如果需要token的话,需要自己调用接口获取。
123 123
124 //tokenString:token字符串 124 //tokenString:token字符串
125 //refreshTime:refreshTime token最后刷新的时间,即获取的token的时间 125 //refreshTime:refreshTime token最后刷新的时间,即获取的token的时间
126 //expirationTime:expirationTime token最后的有效时间 126 //expirationTime:expirationTime token最后的有效时间
127 [[LetsGameAPI instance] obtainAccessTokenSuccess:^(NSString *tokenString, NSString *refreshTime, NSString *expirationTime) { 127 [[LetsGameAPI instance] obtainAccessTokenSuccess:^(NSString *tokenString, NSString *refreshTime, NSString *expirationTime) {
128 NSLog(@"tokenString %@, refreshTime %@, expirationTime %@", tokenString, refreshTime, expirationTime); 128 NSLog(@"tokenString %@, refreshTime %@, expirationTime %@", tokenString, refreshTime, expirationTime);
129 } failure:^(NSString *errorString) { 129 } failure:^(NSString *errorString) {
130 NSLog(@"get token faile"); 130 NSLog(@"get token faile");
131 }]; 131 }];
132 132
133 133
134 ### 9、第三方支付版本 134 ### 9、第三方支付版本
135 第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为不带gump币版本,如果使用带gump币的版本如下设置: 135 第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为不带gump币版本,如果使用带gump币的版本如下设置:
136 136
137 需要在 application:didFinishLaunchingWithOptions方法中添加: 137 需要在 application:didFinishLaunchingWithOptions方法中添加:
138 138
139 [[LetsGameAPI instance] decideWebToVersion:1] 139 [[LetsGameAPI instance] decideWebToVersion:1]
140 140
141 141
142 ### 10、关于侵权还是侵权的接口显示 142 ### 10、关于侵权还是侵权的接口显示
143 运营在后台配置此包名和版本在什么时候显示侵权内容还是不侵权内容,此接口调用需要在游戏才开始加载的时候调用,返回值是YES的时候显示侵权内容,在NO的时候显示不侵权内容。 143 运营在后台配置此包名和版本在什么时候显示侵权内容还是不侵权内容,此接口调用需要在游戏才开始加载的时候调用,返回值是YES的时候显示侵权内容,在NO的时候显示不侵权内容。
144 144
145 注意:关于运营配置的游戏的版本号,我们默认取的是Bulid版本号的值,请注意。 145 注意:关于运营配置的游戏的版本号,我们默认取的是Bulid版本号的值,请注意。
146 146
147 [[LetsGameAPI instance] gameObtainSafeSetInfoWithAppId:@"10056" ChannelId:@"1000" handleCallBack:^(BOOL resultStatus) { 147 [[LetsGameAPI instance] gameObtainSafeSetInfoWithAppId:@"10056" ChannelId:@"1000" handleCallBack:^(BOOL resultStatus) {
148 if (resultStatus) { 148 if (resultStatus) {
149 NSLog(@"YES 侵权"); 149 NSLog(@"YES 侵权");
150 }else{ 150 }else{
151 NSLog(@"NO 不侵权"); 151 NSLog(@"NO 不侵权");
152 } 152 }
153 }]; 153 }];
154 ### 11、横竖屏设置 154 ### 11、横竖屏设置
155 155
156 首先设置SDK默认是横屏,在General->Deployment Info->Device Orientain下,只选择Landscape Left 和 Landscape Right,SDK的界面默认是横屏。 156 首先设置SDK默认是横屏,在General->Deployment Info->Device Orientain下,只选择Landscape Left 和 Landscape Right,SDK的界面默认是横屏。
157 其次如果想使用竖屏的模式,需要在General->Deployment Info->Device Orientain下,只选择Portrait模式,并且需要在AppDelegate中的方法: 157 其次如果想使用竖屏的模式,需要在General->Deployment Info->Device Orientain下,只选择Portrait模式,并且需要在AppDelegate中的方法:
158 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;靠前的位置添加代码设置: 158 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;靠前的位置添加代码设置:
159 159
160 [LetsGameAPI DeviceOrientationIsHorizontal:NO]; 160 [LetsGameAPI DeviceOrientationIsHorizontal:NO];
161 161
162 162
163 163
164 164
165 165
166 ### 12、微信登陆 166 ### 12、微信登陆
167 167
168 首先在- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;方法中向微信注册应用 168 首先在- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;方法中向微信注册应用
169 //微信登陆 169 //微信登陆
170 [[LetsGameAPI instance] registerAppWeChatWithAppId:@"appId" appKey:@"appKey" Success:^{ 170 [[LetsGameAPI instance] registerAppWeChatWithAppId:@"appId" appKey:@"appKey" Success:^{
171 NSLog(@"注册成功"); 171 NSLog(@"注册成功");
172 } failure:^{ 172 } failure:^{
173 NSLog(@"注册失败"); 173 NSLog(@"注册失败");
174 }]; 174 }];
175 175
176 176
177 ### 13、CocoaPods集成 177 ### 13、CocoaPods集成
178 集成项目的.framework和bundle,但是vk登录封装的VK.framework,需要自己手动添加。 178 集成项目的.framework和bundle,但是vk登录封装的VK.framework,需要自己手动添加。
179 ``` 179 ```
180 pod 'GameSDK', '~> 3.5.5' 180 pod 'GameSDK', '~> 3.5.5'
181 ``` 181 ```
182 182
183 ### 14、活动添加 183 ### 14、活动添加
184 添加项目GameActivitySDK.framework 184 添加项目GameActivitySDK.framework
185 设置:设置xxxx.plist 185 设置:设置xxxx.plist
186 只支持HTTP的方式,需要将相应的项目的xxx.plist添加Information Property List->App Transport Security Settings -> Allow Arbitrary Loads设置为YES 186 只支持HTTP的方式,需要将相应的项目的xxx.plist添加Information Property List->App Transport Security Settings -> Allow Arbitrary Loads设置为YES
187 187
188 工程中添加SDK登录代码: 188 工程中添加SDK登录代码:
189 189
190 NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary]; 190 NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary];
191 [activityInfo setValue:@"100" forKey:@"appId"]; 191 [activityInfo setValue:@"100" forKey:@"appId"];
192 [activityInfo setValue:@"f899139df5e1059396431415e770c6dd" forKey:@"appKey"]; 192 [activityInfo setValue:@"f899139df5e1059396431415e770c6dd" forKey:@"appKey"];
193 [activityInfo setValue:@"123456" forKey:@"userId"]; 193 [activityInfo setValue:@"123456" forKey:@"userId"];
194 [activityInfo setValue:@"111" forKey:@"serverId"]; 194 [activityInfo setValue:@"111" forKey:@"serverId"];
195 [activityInfo setValue:@"aaa" forKey:@"serverName"]; 195 [activityInfo setValue:@"aaa" forKey:@"serverName"];
196 [activityInfo setValue:@"222" forKey:@"roleId"]; 196 [activityInfo setValue:@"222" forKey:@"roleId"];
197 [activityInfo setValue:@"ccc" forKey:@"roleName"]; 197 [activityInfo setValue:@"ccc" forKey:@"roleName"];
198 [activityInfo setValue:@"888" forKey:@"diamond"]; 198 [activityInfo setValue:@"888" forKey:@"diamond"];
199 //活动关闭的回调 199 //活动关闭的回调
200 [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{ 200 [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{
201 NSLog(@"activity finish!"); 201 NSLog(@"activity finish!");
202 }]; 202 }];
203 203
ios/GameActivitySDK.framework/Versions/A/GameActivitySDK
No preview for this file type
ios/GameActivitySDK.framework/Versions/A/Headers/LetsGameActivityAPI.h
1 // 1 //
2 // LetsGameActivityAPI.h 2 // LetsGameActivityAPI.h
3 // GameActivitySDK 3 // GameActivitySDK
4 // 4 //
5 // Created by yanglele on 2018/6/11. 5 // Created by yanglele on 2018/6/11.
6 // Copyright © 2018年 alexYang. All rights reserved. 6 // Copyright © 2018年 alexYang. All rights reserved.
7 // 7 //
8 8
9 #import <Foundation/Foundation.h> 9 #import <Foundation/Foundation.h>
10 #import <UIKit/UIKit.h> 10 #import <UIKit/UIKit.h>
11 11
12 static NSString *actVersion = @"1.0.1"; 12 static NSString *actVersion = @"1.0.2";
13 13
14 @interface LetsGameActivityAPI : NSObject<UIApplicationDelegate> 14 @interface LetsGameActivityAPI : NSObject<UIApplicationDelegate>
15 15
16 @property(nonatomic, assign) int isDebug; 16 @property(nonatomic, assign) int isDebug;
17 @property(nonatomic, assign) int allowRotate;
18 @property(nonatomic, assign) BOOL supportLandscape;
17 19
18 +(instancetype)instance; 20 +(instancetype)instance;
19 21
20 - (void)hide; 22 - (void)hide;
21 23
22 -(void)decideIsDebug:(int)isDebug; 24 -(void)decideIsDebug:(int)isDebug;
23 25
26 -(void)decideAllowRotate:(int)allowRotate;
27
24 -(void)GameActivityWithParaDictory:(NSDictionary *)paraDictory handleCallBackL:(void(^)(void))accomplistCallBack; 28 -(void)GameActivityWithParaDictory:(NSDictionary *)paraDictory handleCallBackL:(void(^)(void))accomplistCallBack;
25 29
26 @end 30 @end
27 31
ios/GameSDK.framework/Versions/A/GameSDK
No preview for this file type
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
1 1
2 #import <Foundation/Foundation.h> 2 #import <Foundation/Foundation.h>
3 #import "LSGAccount.h" 3 #import "LSGAccount.h"
4 #import "VKBridgeProtocol.h" 4 #import "VKBridgeProtocol.h"
5 5
6 6
7 typedef void (^LSGLoginSuccBlock)(NSString *userId, NSString *sessionKey, LSGAccountType type); 7 typedef void (^LSGLoginSuccBlock)(NSString *userId, NSString *sessionKey, LSGAccountType type);
8 typedef void (^LSGDismissBlock)(void); 8 typedef void (^LSGDismissBlock)(void);
9 9
10 static BOOL isDisableFB = NO; 10 static BOOL isDisableFB = NO;
11 11
12 static BOOL isEnableVK = NO; 12 static BOOL isEnableVK = NO;
13 13
14 static BOOL isDisableLine = NO; 14 static BOOL isDisableLine = NO;
15 15
16 static BOOL isDisableWeChat = NO; 16 static BOOL isDisableWeChat = NO;
17 17
18 static BOOL isDisableGoogle = NO; 18 static BOOL isDisableGoogle = NO;
19 19
20 static BOOL hiddenLogo = NO; 20 static BOOL hiddenLogo = NO;
21 21
22 //默认横屏 22 //默认横屏
23 static BOOL DeviceOrientationIsHorizontal = YES; 23 static BOOL DeviceOrientationIsHorizontal = YES;
24 24
25 static NSString *version = @"3.5.7"; 25 static NSString *version = @"3.5.18";
26 26
27 @interface LetsGameAPI : NSObject<UIApplicationDelegate> 27 @interface LetsGameAPI : NSObject<UIApplicationDelegate>
28 28
29 @property (nonatomic, strong) NSString *appId; 29 @property (nonatomic, strong) NSString *appId;
30 @property (nonatomic, strong) NSString *appKey; 30 @property (nonatomic, strong) NSString *appKey;
31 @property(nonatomic, strong) NSString *channelId; 31 @property(nonatomic, strong) NSString *channelId;
32 @property (nonatomic, copy) LSGLoginSuccBlock succBlock; 32 @property (nonatomic, copy) LSGLoginSuccBlock succBlock;
33 @property (nonatomic, copy) LSGDismissBlock dismissBlock; 33 @property (nonatomic, copy) LSGDismissBlock dismissBlock;
34 @property (nonatomic, assign) int isDebug; 34 @property (nonatomic, assign) int isDebug;
35 @property (nonatomic, assign) int decideWebTo; 35 @property (nonatomic, assign) int decideWebTo;
36 @property (nonatomic,retain) id<VKBridgeProtocol> vkBridge; 36 @property (nonatomic,retain) id<VKBridgeProtocol> vkBridge;
37 //@property(nonatomic,strong) NSString *version; 37 //@property(nonatomic,strong) NSString *version;
38 38
39 + (instancetype)instance; 39 + (instancetype)instance;
40 40
41 -(NSString*)version; 41 -(NSString*)version;
42 42
43 - (void)showLoginView; 43 - (void)showLoginView;
44 - (void)showLoginViewInView:(UIView *)view; 44 - (void)showLoginViewInView:(UIView *)view;
45 45
46 +(void)disableFB:(BOOL)isDisable; 46 +(void)disableFB:(BOOL)isDisable;
47 +(void)disableGoogle:(BOOL)isDisable; 47 +(void)disableGoogle:(BOOL)isDisable;
48 +(void)disableWeChat:(BOOL)isDisable; 48 +(void)disableWeChat:(BOOL)isDisable;
49 +(void)disableLine:(BOOL)isDissable; 49 +(void)disableLine:(BOOL)isDissable;
50 +(BOOL)isFBDisable; 50 +(BOOL)isFBDisable;
51 +(BOOL)isVKEnable; 51 +(BOOL)isVKEnable;
52 +(BOOL)isWeChatDisable; 52 +(BOOL)isWeChatDisable;
53 +(BOOL)isGoogleDisable; 53 +(BOOL)isGoogleDisable;
54 +(BOOL)isLineDisable; 54 +(BOOL)isLineDisable;
55 +(void)hiddenLogo:(BOOL)isHidden; 55 +(void)hiddenLogo:(BOOL)isHidden;
56 +(BOOL)isHiddenLogo; 56 +(BOOL)isHiddenLogo;
57 +(void)DeviceOrientationIsHorizontal:(BOOL)isDisable; 57 +(void)DeviceOrientationIsHorizontal:(BOOL)isDisable;
58 +(BOOL)DeviceOrientationIsHorizontal; 58 +(BOOL)DeviceOrientationIsHorizontal;
59 59
60 - (void)logout; 60 - (void)logout;
61 61
62 - (void)hide; 62 - (void)hide;
63 //是否安装微信 63 //是否安装微信
64 -(BOOL)isWeChatInstall; 64 -(BOOL)isWeChatInstall;
65 //向微信注册应用 65 //向微信注册应用
66 -(void)registerAppWeChatWithAppId:(NSString *)appId 66 -(void)registerAppWeChatWithAppId:(NSString *)appId
67 appKey:(NSString *)appKey 67 appKey:(NSString *)appKey
68 Success:(void (^)())success 68 Success:(void (^)())success
69 failure:(void (^)())failure; 69 failure:(void (^)())failure;
70 70
71 - (BOOL)handleOpenURL:(NSURL *)url 71 - (BOOL)handleOpenURL:(NSURL *)url
72 sourceApplication:(NSString *)sourceApplication; 72 sourceApplication:(NSString *)sourceApplication;
73 73
74 -(void)pWeb:(NSDictionary*) pWebInfo handleCallBack:(void (^)()) pWebAccomplistCallback; 74 -(void)pWeb:(NSDictionary*) pWebInfo handleCallBack:(void (^)()) pWebAccomplistCallback;
75 75
76 -(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid succCallback:(void (^)(NSString* orderId)) succCallback failCallback:(void (^)(NSString* orderId)) failCallback; 76 -(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid succCallback:(void (^)(NSString* orderId)) succCallback failCallback:(void (^)(NSString* orderId)) failCallback;
77 77
78 -(void)registeIapObserver; 78 -(void)registeIapObserver;
79 79
80 -(void)decideIsDebug:(int)isDebug; 80 -(void)decideIsDebug:(int)isDebug;
81 81
82 -(void)decideWebToVersion:(int)decideWebTo; 82 -(void)decideWebToVersion:(int)decideWebTo;
83 83
84 -(void)obtainAccessTokenSuccess:(void (^)(NSString *tokenString, NSString *refreshTime, NSString *expirationTime))success 84 -(void)obtainAccessTokenSuccess:(void (^)(NSString *tokenString, NSString *refreshTime, NSString *expirationTime))success
85 failure:(void (^)(NSString *errorString))failure; 85 failure:(void (^)(NSString *errorString))failure;
86 86
87 //获取是否展示安全页面,YES展示侵权页面,NO展示非侵权页面 87 //获取是否展示安全页面,YES展示侵权页面,NO展示非侵权页面
88 -(void)gameObtainSafeSetInfoWithAppId:(NSString *)appId 88 -(void)gameObtainSafeSetInfoWithAppId:(NSString *)appId
89 ChannelId:(NSString *)channelId 89 ChannelId:(NSString *)channelId
90 handleCallBack:(void (^)(BOOL resultStatus))callBack; 90 handleCallBack:(void (^)(BOOL resultStatus))callBack;
91 //关闭登录页面
92 -(void)hidenLogInView;
91 @end 93 @end
92 94
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.pbxproj
1 // !$*UTF8*$! 1 // !$*UTF8*$!
2 { 2 {
3 archiveVersion = 1; 3 archiveVersion = 1;
4 classes = { 4 classes = {
5 }; 5 };
6 objectVersion = 46; 6 objectVersion = 46;
7 objects = { 7 objects = {
8 8
9 /* Begin PBXBuildFile section */ 9 /* Begin PBXBuildFile section */
10 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D8521C312F5900534E33 /* StoreKit.framework */; }; 10 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D8521C312F5900534E33 /* StoreKit.framework */; };
11 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D8541C312F6500534E33 /* QuartzCore.framework */; }; 11 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D8541C312F6500534E33 /* QuartzCore.framework */; };
12 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */; }; 12 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */; };
13 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D97E1C4394C800534E33 /* VKSdk.framework */; }; 13 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D97E1C4394C800534E33 /* VKSdk.framework */; };
14 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 331262361C50B56800B1B435 /* VKBridge.framework */; }; 14 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 331262361C50B56800B1B435 /* VKBridge.framework */; };
15 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */; }; 15 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */; };
16 7517F2111FFF437F000237ED /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7517F2101FFF437E000237ED /* GameSDK.framework */; }; 16 7517F2111FFF437F000237ED /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7517F2101FFF437E000237ED /* GameSDK.framework */; };
17 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */; }; 17 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */; };
18 752CAD8C20CE5CED003C3840 /* GameActivitySDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */; }; 18 752CAD8C20CE5CED003C3840 /* GameActivitySDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */; };
19 75864D631FF35A22002C9012 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D601FF35A22002C9012 /* libsqlite3.tbd */; }; 19 75864D631FF35A22002C9012 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D601FF35A22002C9012 /* libsqlite3.tbd */; };
20 75864D651FF35A3A002C9012 /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D641FF35A3A002C9012 /* CoreTelephony.framework */; }; 20 75864D651FF35A3A002C9012 /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D641FF35A3A002C9012 /* CoreTelephony.framework */; };
21 75864D671FF35A48002C9012 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D661FF35A48002C9012 /* libz.tbd */; }; 21 75864D671FF35A48002C9012 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D661FF35A48002C9012 /* libz.tbd */; };
22 75864D691FF35A58002C9012 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D681FF35A57002C9012 /* libc++.tbd */; }; 22 75864D691FF35A58002C9012 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D681FF35A57002C9012 /* libc++.tbd */; };
23 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B119303DC6005EF4AB /* Foundation.framework */; }; 23 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B119303DC6005EF4AB /* Foundation.framework */; };
24 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B519303DC6005EF4AB /* UIKit.framework */; }; 24 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B519303DC6005EF4AB /* UIKit.framework */; };
25 9934F1BE19303DC6005EF4AB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1BD19303DC6005EF4AB /* main.m */; }; 25 9934F1BE19303DC6005EF4AB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1BD19303DC6005EF4AB /* main.m */; };
26 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */; }; 26 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */; };
27 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9934F1C319303DC6005EF4AB /* Images.xcassets */; }; 27 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9934F1C319303DC6005EF4AB /* Images.xcassets */; };
28 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F23919307153005EF4AB /* LSGMainViewController.m */; }; 28 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F23919307153005EF4AB /* LSGMainViewController.m */; };
29 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523271930A42500F50D29 /* CFNetwork.framework */; }; 29 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523271930A42500F50D29 /* CFNetwork.framework */; };
30 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523311930A52600F50D29 /* MobileCoreServices.framework */; }; 30 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523311930A52600F50D29 /* MobileCoreServices.framework */; };
31 /* End PBXBuildFile section */ 31 /* End PBXBuildFile section */
32 32
33 /* Begin PBXContainerItemProxy section */
34 75C5488520D0E55E002A6ABF /* PBXContainerItemProxy */ = {
35 isa = PBXContainerItemProxy;
36 containerPortal = 75C5488020D0E55E002A6ABF /* GameSDK.xcodeproj */;
37 proxyType = 2;
38 remoteGlobalIDString = 99626194192D9649004FF2E3;
39 remoteInfo = GameSDK;
40 };
41 75C5488D20D0E585002A6ABF /* PBXContainerItemProxy */ = {
42 isa = PBXContainerItemProxy;
43 containerPortal = 75C5488820D0E584002A6ABF /* GameActivitySDK.xcodeproj */;
44 proxyType = 2;
45 remoteGlobalIDString = 752CAD5D20CE2AEE003C3840;
46 remoteInfo = GameActivitySDK;
47 };
48 /* End PBXContainerItemProxy section */
49
33 /* Begin PBXFileReference section */ 50 /* Begin PBXFileReference section */
34 27019DCA1A208B1500DA560D /* Path.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Path.xcconfig; sourceTree = "<group>"; }; 51 27019DCA1A208B1500DA560D /* Path.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Path.xcconfig; sourceTree = "<group>"; };
35 27019DCB1A208B1500DA560D /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Project.xcconfig; sourceTree = "<group>"; }; 52 27019DCB1A208B1500DA560D /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Project.xcconfig; sourceTree = "<group>"; };
36 3309D8521C312F5900534E33 /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/StoreKit.framework; sourceTree = "<absolute>"; }; 53 3309D8521C312F5900534E33 /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/StoreKit.framework; sourceTree = "<absolute>"; };
37 3309D8541C312F6500534E33 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/QuartzCore.framework; sourceTree = "<absolute>"; }; 54 3309D8541C312F6500534E33 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/QuartzCore.framework; sourceTree = "<absolute>"; };
38 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.1.2.5.tbd; path = usr/lib/libz.1.2.5.tbd; sourceTree = SDKROOT; }; 55 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.1.2.5.tbd; path = usr/lib/libz.1.2.5.tbd; sourceTree = SDKROOT; };
39 3309D97E1C4394C800534E33 /* VKSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKSdk.framework; path = letsgameDemo/VKSdk.framework; sourceTree = "<group>"; }; 56 3309D97E1C4394C800534E33 /* VKSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKSdk.framework; path = letsgameDemo/VKSdk.framework; sourceTree = "<group>"; };
40 331262361C50B56800B1B435 /* VKBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKBridge.framework; path = ../VKBridge.framework; sourceTree = "<group>"; }; 57 331262361C50B56800B1B435 /* VKBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKBridge.framework; path = ../VKBridge.framework; sourceTree = "<group>"; };
41 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = VKSdkResources.bundle; sourceTree = "<group>"; }; 58 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = VKSdkResources.bundle; sourceTree = "<group>"; };
42 7517F2101FFF437E000237ED /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; }; 59 7517F2101FFF437E000237ED /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; };
43 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = GameSDKResources.bundle; path = ../../GameSDKResources.bundle; sourceTree = "<group>"; }; 60 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = GameSDKResources.bundle; path = ../../GameSDKResources.bundle; sourceTree = "<group>"; };
44 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameActivitySDK.framework; path = ../GameActivitySDK.framework; sourceTree = "<group>"; }; 61 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameActivitySDK.framework; path = ../GameActivitySDK.framework; sourceTree = "<group>"; };
45 75864D601FF35A22002C9012 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; }; 62 75864D601FF35A22002C9012 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; };
46 75864D641FF35A3A002C9012 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; }; 63 75864D641FF35A3A002C9012 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; };
47 75864D661FF35A48002C9012 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; 64 75864D661FF35A48002C9012 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
48 75864D681FF35A57002C9012 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; 65 75864D681FF35A57002C9012 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; };
66 75C5488020D0E55E002A6ABF /* GameSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameSDK.xcodeproj; path = ../../../iosgamesdk/GameSDK/GameSDK.xcodeproj; sourceTree = "<group>"; };
67 75C5488820D0E584002A6ABF /* GameActivitySDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameActivitySDK.xcodeproj; path = ../../../GameActivitySDK/GameActivitySDK.xcodeproj; sourceTree = "<group>"; };
49 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GameSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 68 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GameSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
50 9934F1B119303DC6005EF4AB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 69 9934F1B119303DC6005EF4AB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
51 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 70 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
52 9934F1B519303DC6005EF4AB /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 71 9934F1B519303DC6005EF4AB /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
53 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "letsgameDemo-Info.plist"; sourceTree = "<group>"; }; 72 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "letsgameDemo-Info.plist"; sourceTree = "<group>"; };
54 9934F1BD19303DC6005EF4AB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; 73 9934F1BD19303DC6005EF4AB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
55 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "GameSDKDemo-Prefix.pch"; sourceTree = "<group>"; }; 74 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "GameSDKDemo-Prefix.pch"; sourceTree = "<group>"; };
56 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LSGAppDelegate.h; sourceTree = "<group>"; }; 75 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LSGAppDelegate.h; sourceTree = "<group>"; };
57 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LSGAppDelegate.m; sourceTree = "<group>"; }; 76 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LSGAppDelegate.m; sourceTree = "<group>"; };
58 9934F1C319303DC6005EF4AB /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; 77 9934F1C319303DC6005EF4AB /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
59 9934F23819307153005EF4AB /* LSGMainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LSGMainViewController.h; sourceTree = "<group>"; }; 78 9934F23819307153005EF4AB /* LSGMainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LSGMainViewController.h; sourceTree = "<group>"; };
60 9934F23919307153005EF4AB /* LSGMainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LSGMainViewController.m; sourceTree = "<group>"; }; 79 9934F23919307153005EF4AB /* LSGMainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LSGMainViewController.m; sourceTree = "<group>"; };
61 997523271930A42500F50D29 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; 80 997523271930A42500F50D29 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
62 997523311930A52600F50D29 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; 81 997523311930A52600F50D29 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
63 /* End PBXFileReference section */ 82 /* End PBXFileReference section */
64 83
65 /* Begin PBXFrameworksBuildPhase section */ 84 /* Begin PBXFrameworksBuildPhase section */
66 9934F1AB19303DC6005EF4AB /* Frameworks */ = { 85 9934F1AB19303DC6005EF4AB /* Frameworks */ = {
67 isa = PBXFrameworksBuildPhase; 86 isa = PBXFrameworksBuildPhase;
68 buildActionMask = 2147483647; 87 buildActionMask = 2147483647;
69 files = ( 88 files = (
70 752CAD8C20CE5CED003C3840 /* GameActivitySDK.framework in Frameworks */, 89 752CAD8C20CE5CED003C3840 /* GameActivitySDK.framework in Frameworks */,
71 75864D691FF35A58002C9012 /* libc++.tbd in Frameworks */, 90 75864D691FF35A58002C9012 /* libc++.tbd in Frameworks */,
72 75864D671FF35A48002C9012 /* libz.tbd in Frameworks */, 91 75864D671FF35A48002C9012 /* libz.tbd in Frameworks */,
73 75864D651FF35A3A002C9012 /* CoreTelephony.framework in Frameworks */, 92 75864D651FF35A3A002C9012 /* CoreTelephony.framework in Frameworks */,
74 7517F2111FFF437F000237ED /* GameSDK.framework in Frameworks */, 93 7517F2111FFF437F000237ED /* GameSDK.framework in Frameworks */,
75 75864D631FF35A22002C9012 /* libsqlite3.tbd in Frameworks */, 94 75864D631FF35A22002C9012 /* libsqlite3.tbd in Frameworks */,
76 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */, 95 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */,
77 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */, 96 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */,
78 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */, 97 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */,
79 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */, 98 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */,
80 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */, 99 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */,
81 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */, 100 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */,
82 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */, 101 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */,
83 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */, 102 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */,
84 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */, 103 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */,
85 ); 104 );
86 runOnlyForDeploymentPostprocessing = 0; 105 runOnlyForDeploymentPostprocessing = 0;
87 }; 106 };
88 /* End PBXFrameworksBuildPhase section */ 107 /* End PBXFrameworksBuildPhase section */
89 108
90 /* Begin PBXGroup section */ 109 /* Begin PBXGroup section */
91 27019DC91A208B1500DA560D /* Configuration */ = { 110 27019DC91A208B1500DA560D /* Configuration */ = {
92 isa = PBXGroup; 111 isa = PBXGroup;
93 children = ( 112 children = (
94 27019DCA1A208B1500DA560D /* Path.xcconfig */, 113 27019DCA1A208B1500DA560D /* Path.xcconfig */,
95 27019DCB1A208B1500DA560D /* Project.xcconfig */, 114 27019DCB1A208B1500DA560D /* Project.xcconfig */,
96 ); 115 );
97 path = Configuration; 116 path = Configuration;
98 sourceTree = "<group>"; 117 sourceTree = "<group>";
99 }; 118 };
100 27019DCE1A208B2300DA560D /* Dependencies */ = { 119 27019DCE1A208B2300DA560D /* Dependencies */ = {
101 isa = PBXGroup; 120 isa = PBXGroup;
102 children = ( 121 children = (
122 75C5488820D0E584002A6ABF /* GameActivitySDK.xcodeproj */,
123 75C5488020D0E55E002A6ABF /* GameSDK.xcodeproj */,
103 ); 124 );
104 name = Dependencies; 125 name = Dependencies;
105 sourceTree = "<group>"; 126 sourceTree = "<group>";
106 }; 127 };
128 75C5488120D0E55E002A6ABF /* Products */ = {
129 isa = PBXGroup;
130 children = (
131 75C5488620D0E55E002A6ABF /* libGameSDK.a */,
132 );
133 name = Products;
134 sourceTree = "<group>";
135 };
136 75C5488920D0E584002A6ABF /* Products */ = {
137 isa = PBXGroup;
138 children = (
139 75C5488E20D0E585002A6ABF /* libGameActivitySDK.a */,
140 );
141 name = Products;
142 sourceTree = "<group>";
143 };
107 9934F1A519303DC6005EF4AB = { 144 9934F1A519303DC6005EF4AB = {
108 isa = PBXGroup; 145 isa = PBXGroup;
109 children = ( 146 children = (
110 27019DC91A208B1500DA560D /* Configuration */, 147 27019DC91A208B1500DA560D /* Configuration */,
111 27019DCE1A208B2300DA560D /* Dependencies */, 148 27019DCE1A208B2300DA560D /* Dependencies */,
112 9934F1B719303DC6005EF4AB /* letsgameDemo */, 149 9934F1B719303DC6005EF4AB /* letsgameDemo */,
113 9934F1B019303DC6005EF4AB /* Frameworks */, 150 9934F1B019303DC6005EF4AB /* Frameworks */,
114 9934F1AF19303DC6005EF4AB /* Products */, 151 9934F1AF19303DC6005EF4AB /* Products */,
115 ); 152 );
116 sourceTree = "<group>"; 153 sourceTree = "<group>";
117 }; 154 };
118 9934F1AF19303DC6005EF4AB /* Products */ = { 155 9934F1AF19303DC6005EF4AB /* Products */ = {
119 isa = PBXGroup; 156 isa = PBXGroup;
120 children = ( 157 children = (
121 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */, 158 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */,
122 ); 159 );
123 name = Products; 160 name = Products;
124 sourceTree = "<group>"; 161 sourceTree = "<group>";
125 }; 162 };
126 9934F1B019303DC6005EF4AB /* Frameworks */ = { 163 9934F1B019303DC6005EF4AB /* Frameworks */ = {
127 isa = PBXGroup; 164 isa = PBXGroup;
128 children = ( 165 children = (
129 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */, 166 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */,
130 7517F2101FFF437E000237ED /* GameSDK.framework */, 167 7517F2101FFF437E000237ED /* GameSDK.framework */,
131 75864D681FF35A57002C9012 /* libc++.tbd */, 168 75864D681FF35A57002C9012 /* libc++.tbd */,
132 75864D661FF35A48002C9012 /* libz.tbd */, 169 75864D661FF35A48002C9012 /* libz.tbd */,
133 75864D641FF35A3A002C9012 /* CoreTelephony.framework */, 170 75864D641FF35A3A002C9012 /* CoreTelephony.framework */,
134 75864D601FF35A22002C9012 /* libsqlite3.tbd */, 171 75864D601FF35A22002C9012 /* libsqlite3.tbd */,
135 331262361C50B56800B1B435 /* VKBridge.framework */, 172 331262361C50B56800B1B435 /* VKBridge.framework */,
136 3309D97E1C4394C800534E33 /* VKSdk.framework */, 173 3309D97E1C4394C800534E33 /* VKSdk.framework */,
137 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */, 174 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */,
138 3309D8541C312F6500534E33 /* QuartzCore.framework */, 175 3309D8541C312F6500534E33 /* QuartzCore.framework */,
139 3309D8521C312F5900534E33 /* StoreKit.framework */, 176 3309D8521C312F5900534E33 /* StoreKit.framework */,
140 997523311930A52600F50D29 /* MobileCoreServices.framework */, 177 997523311930A52600F50D29 /* MobileCoreServices.framework */,
141 997523271930A42500F50D29 /* CFNetwork.framework */, 178 997523271930A42500F50D29 /* CFNetwork.framework */,
142 9934F1B119303DC6005EF4AB /* Foundation.framework */, 179 9934F1B119303DC6005EF4AB /* Foundation.framework */,
143 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */, 180 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */,
144 9934F1B519303DC6005EF4AB /* UIKit.framework */, 181 9934F1B519303DC6005EF4AB /* UIKit.framework */,
145 ); 182 );
146 name = Frameworks; 183 name = Frameworks;
147 sourceTree = "<group>"; 184 sourceTree = "<group>";
148 }; 185 };
149 9934F1B719303DC6005EF4AB /* letsgameDemo */ = { 186 9934F1B719303DC6005EF4AB /* letsgameDemo */ = {
150 isa = PBXGroup; 187 isa = PBXGroup;
151 children = ( 188 children = (
152 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */, 189 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */,
153 9934F1C319303DC6005EF4AB /* Images.xcassets */, 190 9934F1C319303DC6005EF4AB /* Images.xcassets */,
154 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */, 191 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */,
155 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */, 192 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */,
156 9934F23819307153005EF4AB /* LSGMainViewController.h */, 193 9934F23819307153005EF4AB /* LSGMainViewController.h */,
157 9934F23919307153005EF4AB /* LSGMainViewController.m */, 194 9934F23919307153005EF4AB /* LSGMainViewController.m */,
158 9934F1B819303DC6005EF4AB /* Supporting Files */, 195 9934F1B819303DC6005EF4AB /* Supporting Files */,
159 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */, 196 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */,
160 ); 197 );
161 path = letsgameDemo; 198 path = letsgameDemo;
162 sourceTree = "<group>"; 199 sourceTree = "<group>";
163 }; 200 };
164 9934F1B819303DC6005EF4AB /* Supporting Files */ = { 201 9934F1B819303DC6005EF4AB /* Supporting Files */ = {
165 isa = PBXGroup; 202 isa = PBXGroup;
166 children = ( 203 children = (
167 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */, 204 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */,
168 9934F1BD19303DC6005EF4AB /* main.m */, 205 9934F1BD19303DC6005EF4AB /* main.m */,
169 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */, 206 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */,
170 ); 207 );
171 name = "Supporting Files"; 208 name = "Supporting Files";
172 sourceTree = "<group>"; 209 sourceTree = "<group>";
173 }; 210 };
174 /* End PBXGroup section */ 211 /* End PBXGroup section */
175 212
176 /* Begin PBXNativeTarget section */ 213 /* Begin PBXNativeTarget section */
177 9934F1AD19303DC6005EF4AB /* GameSDKDemo */ = { 214 9934F1AD19303DC6005EF4AB /* GameSDKDemo */ = {
178 isa = PBXNativeTarget; 215 isa = PBXNativeTarget;
179 buildConfigurationList = 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */; 216 buildConfigurationList = 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */;
180 buildPhases = ( 217 buildPhases = (
181 9934F1AA19303DC6005EF4AB /* Sources */, 218 9934F1AA19303DC6005EF4AB /* Sources */,
182 9934F1AB19303DC6005EF4AB /* Frameworks */, 219 9934F1AB19303DC6005EF4AB /* Frameworks */,
183 9934F1AC19303DC6005EF4AB /* Resources */, 220 9934F1AC19303DC6005EF4AB /* Resources */,
184 ); 221 );
185 buildRules = ( 222 buildRules = (
186 ); 223 );
187 dependencies = ( 224 dependencies = (
188 ); 225 );
189 name = GameSDKDemo; 226 name = GameSDKDemo;
190 productName = letsgameDemo; 227 productName = letsgameDemo;
191 productReference = 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */; 228 productReference = 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */;
192 productType = "com.apple.product-type.application"; 229 productType = "com.apple.product-type.application";
193 }; 230 };
194 /* End PBXNativeTarget section */ 231 /* End PBXNativeTarget section */
195 232
196 /* Begin PBXProject section */ 233 /* Begin PBXProject section */
197 9934F1A619303DC6005EF4AB /* Project object */ = { 234 9934F1A619303DC6005EF4AB /* Project object */ = {
198 isa = PBXProject; 235 isa = PBXProject;
199 attributes = { 236 attributes = {
200 CLASSPREFIX = LSG; 237 CLASSPREFIX = LSG;
201 LastUpgradeCheck = 0710; 238 LastUpgradeCheck = 0710;
202 TargetAttributes = { 239 TargetAttributes = {
203 9934F1AD19303DC6005EF4AB = { 240 9934F1AD19303DC6005EF4AB = {
204 DevelopmentTeam = 259W4F7KN8; 241 DevelopmentTeam = 259W4F7KN8;
205 ProvisioningStyle = Automatic; 242 ProvisioningStyle = Automatic;
206 SystemCapabilities = { 243 SystemCapabilities = {
207 com.apple.InAppPurchase = { 244 com.apple.InAppPurchase = {
208 enabled = 0; 245 enabled = 0;
209 }; 246 };
210 }; 247 };
211 }; 248 };
212 }; 249 };
213 }; 250 };
214 buildConfigurationList = 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */; 251 buildConfigurationList = 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */;
215 compatibilityVersion = "Xcode 3.2"; 252 compatibilityVersion = "Xcode 3.2";
216 developmentRegion = English; 253 developmentRegion = English;
217 hasScannedForEncodings = 0; 254 hasScannedForEncodings = 0;
218 knownRegions = ( 255 knownRegions = (
219 en, 256 en,
220 ); 257 );
221 mainGroup = 9934F1A519303DC6005EF4AB; 258 mainGroup = 9934F1A519303DC6005EF4AB;
222 productRefGroup = 9934F1AF19303DC6005EF4AB /* Products */; 259 productRefGroup = 9934F1AF19303DC6005EF4AB /* Products */;
223 projectDirPath = ""; 260 projectDirPath = "";
261 projectReferences = (
262 {
263 ProductGroup = 75C5488920D0E584002A6ABF /* Products */;
264 ProjectRef = 75C5488820D0E584002A6ABF /* GameActivitySDK.xcodeproj */;
265 },
266 {
267 ProductGroup = 75C5488120D0E55E002A6ABF /* Products */;
268 ProjectRef = 75C5488020D0E55E002A6ABF /* GameSDK.xcodeproj */;
269 },
270 );
224 projectRoot = ""; 271 projectRoot = "";
225 targets = ( 272 targets = (
226 9934F1AD19303DC6005EF4AB /* GameSDKDemo */, 273 9934F1AD19303DC6005EF4AB /* GameSDKDemo */,
227 ); 274 );
228 }; 275 };
229 /* End PBXProject section */ 276 /* End PBXProject section */
230 277
278 /* Begin PBXReferenceProxy section */
279 75C5488620D0E55E002A6ABF /* libGameSDK.a */ = {
280 isa = PBXReferenceProxy;
281 fileType = archive.ar;
282 path = libGameSDK.a;
283 remoteRef = 75C5488520D0E55E002A6ABF /* PBXContainerItemProxy */;
284 sourceTree = BUILT_PRODUCTS_DIR;
285 };
286 75C5488E20D0E585002A6ABF /* libGameActivitySDK.a */ = {
287 isa = PBXReferenceProxy;
288 fileType = archive.ar;
289 path = libGameActivitySDK.a;
290 remoteRef = 75C5488D20D0E585002A6ABF /* PBXContainerItemProxy */;
291 sourceTree = BUILT_PRODUCTS_DIR;
292 };
293 /* End PBXReferenceProxy section */
294
231 /* Begin PBXResourcesBuildPhase section */ 295 /* Begin PBXResourcesBuildPhase section */
232 9934F1AC19303DC6005EF4AB /* Resources */ = { 296 9934F1AC19303DC6005EF4AB /* Resources */ = {
233 isa = PBXResourcesBuildPhase; 297 isa = PBXResourcesBuildPhase;
234 buildActionMask = 2147483647; 298 buildActionMask = 2147483647;
235 files = ( 299 files = (
236 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */, 300 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */,
237 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */, 301 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */,
238 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */, 302 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */,
239 ); 303 );
240 runOnlyForDeploymentPostprocessing = 0; 304 runOnlyForDeploymentPostprocessing = 0;
241 }; 305 };
242 /* End PBXResourcesBuildPhase section */ 306 /* End PBXResourcesBuildPhase section */
243 307
244 /* Begin PBXSourcesBuildPhase section */ 308 /* Begin PBXSourcesBuildPhase section */
245 9934F1AA19303DC6005EF4AB /* Sources */ = { 309 9934F1AA19303DC6005EF4AB /* Sources */ = {
246 isa = PBXSourcesBuildPhase; 310 isa = PBXSourcesBuildPhase;
247 buildActionMask = 2147483647; 311 buildActionMask = 2147483647;
248 files = ( 312 files = (
249 9934F1BE19303DC6005EF4AB /* main.m in Sources */, 313 9934F1BE19303DC6005EF4AB /* main.m in Sources */,
250 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */, 314 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */,
251 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */, 315 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */,
252 ); 316 );
253 runOnlyForDeploymentPostprocessing = 0; 317 runOnlyForDeploymentPostprocessing = 0;
254 }; 318 };
255 /* End PBXSourcesBuildPhase section */ 319 /* End PBXSourcesBuildPhase section */
256 320
257 /* Begin XCBuildConfiguration section */ 321 /* Begin XCBuildConfiguration section */
258 9934F1D819303DC6005EF4AB /* Debug */ = { 322 9934F1D819303DC6005EF4AB /* Debug */ = {
259 isa = XCBuildConfiguration; 323 isa = XCBuildConfiguration;
260 buildSettings = { 324 buildSettings = {
261 ALWAYS_SEARCH_USER_PATHS = YES; 325 ALWAYS_SEARCH_USER_PATHS = YES;
262 CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 326 CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
263 CLANG_CXX_LIBRARY = "libc++"; 327 CLANG_CXX_LIBRARY = "libc++";
264 CLANG_ENABLE_MODULES = YES; 328 CLANG_ENABLE_MODULES = YES;
265 CLANG_ENABLE_OBJC_ARC = YES; 329 CLANG_ENABLE_OBJC_ARC = YES;
266 CLANG_WARN_BOOL_CONVERSION = YES; 330 CLANG_WARN_BOOL_CONVERSION = YES;
267 CLANG_WARN_CONSTANT_CONVERSION = YES; 331 CLANG_WARN_CONSTANT_CONVERSION = YES;
268 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 332 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
269 CLANG_WARN_EMPTY_BODY = YES; 333 CLANG_WARN_EMPTY_BODY = YES;
270 CLANG_WARN_ENUM_CONVERSION = YES; 334 CLANG_WARN_ENUM_CONVERSION = YES;
271 CLANG_WARN_INT_CONVERSION = YES; 335 CLANG_WARN_INT_CONVERSION = YES;
272 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 336 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
273 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 337 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
274 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 338 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
275 COPY_PHASE_STRIP = YES; 339 COPY_PHASE_STRIP = YES;
276 ENABLE_TESTABILITY = YES; 340 ENABLE_TESTABILITY = YES;
277 GCC_C_LANGUAGE_STANDARD = gnu99; 341 GCC_C_LANGUAGE_STANDARD = gnu99;
278 GCC_DYNAMIC_NO_PIC = NO; 342 GCC_DYNAMIC_NO_PIC = NO;
279 GCC_OPTIMIZATION_LEVEL = 0; 343 GCC_OPTIMIZATION_LEVEL = 0;
280 GCC_PREPROCESSOR_DEFINITIONS = ( 344 GCC_PREPROCESSOR_DEFINITIONS = (
281 "DEBUG=1", 345 "DEBUG=1",
282 "$(inherited)", 346 "$(inherited)",
283 ); 347 );
284 GCC_SYMBOLS_PRIVATE_EXTERN = NO; 348 GCC_SYMBOLS_PRIVATE_EXTERN = NO;
285 GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 349 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
286 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 350 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
287 GCC_WARN_UNDECLARED_SELECTOR = YES; 351 GCC_WARN_UNDECLARED_SELECTOR = YES;
288 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 352 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
289 GCC_WARN_UNUSED_FUNCTION = YES; 353 GCC_WARN_UNUSED_FUNCTION = YES;
290 GCC_WARN_UNUSED_VARIABLE = YES; 354 GCC_WARN_UNUSED_VARIABLE = YES;
291 HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; 355 HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**";
292 IPHONEOS_DEPLOYMENT_TARGET = 8.4; 356 IPHONEOS_DEPLOYMENT_TARGET = 8.4;
293 ONLY_ACTIVE_ARCH = YES; 357 ONLY_ACTIVE_ARCH = YES;
294 SDKROOT = iphoneos; 358 SDKROOT = iphoneos;
295 }; 359 };
296 name = Debug; 360 name = Debug;
297 }; 361 };
298 9934F1D919303DC6005EF4AB /* Release */ = { 362 9934F1D919303DC6005EF4AB /* Release */ = {
299 isa = XCBuildConfiguration; 363 isa = XCBuildConfiguration;
300 buildSettings = { 364 buildSettings = {
301 ALWAYS_SEARCH_USER_PATHS = YES; 365 ALWAYS_SEARCH_USER_PATHS = YES;
302 CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 366 CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
303 CLANG_CXX_LIBRARY = "libc++"; 367 CLANG_CXX_LIBRARY = "libc++";
304 CLANG_ENABLE_MODULES = YES; 368 CLANG_ENABLE_MODULES = YES;
305 CLANG_ENABLE_OBJC_ARC = YES; 369 CLANG_ENABLE_OBJC_ARC = YES;
306 CLANG_WARN_BOOL_CONVERSION = YES; 370 CLANG_WARN_BOOL_CONVERSION = YES;
307 CLANG_WARN_CONSTANT_CONVERSION = YES; 371 CLANG_WARN_CONSTANT_CONVERSION = YES;
308 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 372 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
309 CLANG_WARN_EMPTY_BODY = YES; 373 CLANG_WARN_EMPTY_BODY = YES;
310 CLANG_WARN_ENUM_CONVERSION = YES; 374 CLANG_WARN_ENUM_CONVERSION = YES;
311 CLANG_WARN_INT_CONVERSION = YES; 375 CLANG_WARN_INT_CONVERSION = YES;
312 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 376 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
313 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 377 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
314 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 378 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
315 COPY_PHASE_STRIP = YES; 379 COPY_PHASE_STRIP = YES;
316 ENABLE_NS_ASSERTIONS = NO; 380 ENABLE_NS_ASSERTIONS = NO;
317 GCC_C_LANGUAGE_STANDARD = gnu99; 381 GCC_C_LANGUAGE_STANDARD = gnu99;
318 GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 382 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
319 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 383 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
320 GCC_WARN_UNDECLARED_SELECTOR = YES; 384 GCC_WARN_UNDECLARED_SELECTOR = YES;
321 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 385 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
322 GCC_WARN_UNUSED_FUNCTION = YES; 386 GCC_WARN_UNUSED_FUNCTION = YES;
323 GCC_WARN_UNUSED_VARIABLE = YES; 387 GCC_WARN_UNUSED_VARIABLE = YES;
324 HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; 388 HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**";
325 IPHONEOS_DEPLOYMENT_TARGET = 8.4; 389 IPHONEOS_DEPLOYMENT_TARGET = 8.4;
326 ONLY_ACTIVE_ARCH = YES; 390 ONLY_ACTIVE_ARCH = YES;
327 SDKROOT = iphoneos; 391 SDKROOT = iphoneos;
328 VALIDATE_PRODUCT = YES; 392 VALIDATE_PRODUCT = YES;
329 }; 393 };
330 name = Release; 394 name = Release;
331 }; 395 };
332 9934F1DB19303DC6005EF4AB /* Debug */ = { 396 9934F1DB19303DC6005EF4AB /* Debug */ = {
333 isa = XCBuildConfiguration; 397 isa = XCBuildConfiguration;
334 baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; 398 baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */;
335 buildSettings = { 399 buildSettings = {
336 ALWAYS_SEARCH_USER_PATHS = YES; 400 ALWAYS_SEARCH_USER_PATHS = YES;
337 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 401 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
338 ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 402 ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
339 CODE_SIGN_IDENTITY = "iPhone Developer"; 403 CODE_SIGN_IDENTITY = "iPhone Developer";
340 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 404 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
341 CODE_SIGN_STYLE = Automatic; 405 CODE_SIGN_STYLE = Automatic;
342 DEVELOPMENT_TEAM = 259W4F7KN8; 406 DEVELOPMENT_TEAM = 259W4F7KN8;
343 ENABLE_BITCODE = NO; 407 ENABLE_BITCODE = NO;
344 FRAMEWORK_SEARCH_PATHS = ( 408 FRAMEWORK_SEARCH_PATHS = (
345 "$(PROJECT_DIR)/../**", 409 "$(PROJECT_DIR)/../**",
346 "$(PROJECT_DIR)/letsgameDemo", 410 "$(PROJECT_DIR)/letsgameDemo",
347 ); 411 );
348 GCC_PRECOMPILE_PREFIX_HEADER = YES; 412 GCC_PRECOMPILE_PREFIX_HEADER = YES;
349 GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; 413 GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch";
350 HEADER_SEARCH_PATHS = ( 414 HEADER_SEARCH_PATHS = (
351 "$(PROJECT_DIR)/../GameSDK.framework/**", 415 "$(PROJECT_DIR)/../GameSDK.framework/**",
352 "$(inherited)", 416 "$(inherited)",
353 "$(PROJECT_DIR)/letsgameDemo/**", 417 "$(PROJECT_DIR)/letsgameDemo/**",
354 "$(PROJECT_DIR)/../VKBridge.framework/**", 418 "$(PROJECT_DIR)/../VKBridge.framework/**",
355 "$(PROJECT_DIR)/../GameActivitySDK.framework/**", 419 "$(PROJECT_DIR)/../GameActivitySDK.framework/**",
356 ); 420 );
357 INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; 421 INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist";
358 IPHONEOS_DEPLOYMENT_TARGET = 7.0; 422 IPHONEOS_DEPLOYMENT_TARGET = 7.0;
359 LIBRARY_SEARCH_PATHS = ""; 423 LIBRARY_SEARCH_PATHS = "";
360 ONLY_ACTIVE_ARCH = YES; 424 ONLY_ACTIVE_ARCH = YES;
361 OTHER_LDFLAGS = "-ObjC"; 425 OTHER_LDFLAGS = "-ObjC";
362 PRIVATE_HEADERS_FOLDER_PATH = ""; 426 PRIVATE_HEADERS_FOLDER_PATH = "";
363 PRODUCT_BUNDLE_IDENTIFIER = test.GameSDK.Demo; 427 PRODUCT_BUNDLE_IDENTIFIER = test.GameSDK.Demo;
364 PRODUCT_NAME = GameSDKDemo; 428 PRODUCT_NAME = GameSDKDemo;
365 PROVISIONING_PROFILE = ""; 429 PROVISIONING_PROFILE = "";
366 PROVISIONING_PROFILE_SPECIFIER = ""; 430 PROVISIONING_PROFILE_SPECIFIER = "";
367 PUBLIC_HEADERS_FOLDER_PATH = ""; 431 PUBLIC_HEADERS_FOLDER_PATH = "";
368 WRAPPER_EXTENSION = app; 432 WRAPPER_EXTENSION = app;
369 }; 433 };
370 name = Debug; 434 name = Debug;
371 }; 435 };
372 9934F1DC19303DC6005EF4AB /* Release */ = { 436 9934F1DC19303DC6005EF4AB /* Release */ = {
373 isa = XCBuildConfiguration; 437 isa = XCBuildConfiguration;
374 baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; 438 baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */;
375 buildSettings = { 439 buildSettings = {
376 ALWAYS_SEARCH_USER_PATHS = YES; 440 ALWAYS_SEARCH_USER_PATHS = YES;
377 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 441 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
378 ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 442 ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
379 CODE_SIGN_IDENTITY = "iPhone Developer"; 443 CODE_SIGN_IDENTITY = "iPhone Developer";
380 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 444 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
381 CODE_SIGN_STYLE = Automatic; 445 CODE_SIGN_STYLE = Automatic;
382 DEVELOPMENT_TEAM = 259W4F7KN8; 446 DEVELOPMENT_TEAM = 259W4F7KN8;
383 ENABLE_BITCODE = NO; 447 ENABLE_BITCODE = NO;
384 FRAMEWORK_SEARCH_PATHS = ( 448 FRAMEWORK_SEARCH_PATHS = (
385 "$(PROJECT_DIR)/../**", 449 "$(PROJECT_DIR)/../**",
386 "$(PROJECT_DIR)/letsgameDemo", 450 "$(PROJECT_DIR)/letsgameDemo",
387 ); 451 );
388 GCC_PRECOMPILE_PREFIX_HEADER = YES; 452 GCC_PRECOMPILE_PREFIX_HEADER = YES;
389 GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; 453 GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch";
390 HEADER_SEARCH_PATHS = ( 454 HEADER_SEARCH_PATHS = (
391 "$(PROJECT_DIR)/../GameSDK.framework/**", 455 "$(PROJECT_DIR)/../GameSDK.framework/**",
392 "$(inherited)", 456 "$(inherited)",
393 "$(PROJECT_DIR)/letsgameDemo/**", 457 "$(PROJECT_DIR)/letsgameDemo/**",
394 "$(PROJECT_DIR)/../VKBridge.framework/**", 458 "$(PROJECT_DIR)/../VKBridge.framework/**",
395 "$(PROJECT_DIR)/../GameActivitySDK.framework/**", 459 "$(PROJECT_DIR)/../GameActivitySDK.framework/**",
396 ); 460 );
397 INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; 461 INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist";
398 IPHONEOS_DEPLOYMENT_TARGET = 7.0; 462 IPHONEOS_DEPLOYMENT_TARGET = 7.0;
399 LIBRARY_SEARCH_PATHS = ""; 463 LIBRARY_SEARCH_PATHS = "";
400 ONLY_ACTIVE_ARCH = YES; 464 ONLY_ACTIVE_ARCH = YES;
401 OTHER_LDFLAGS = "-ObjC"; 465 OTHER_LDFLAGS = "-ObjC";
402 PRIVATE_HEADERS_FOLDER_PATH = ""; 466 PRIVATE_HEADERS_FOLDER_PATH = "";
403 PRODUCT_BUNDLE_IDENTIFIER = test.GameSDK.Demo; 467 PRODUCT_BUNDLE_IDENTIFIER = test.GameSDK.Demo;
404 PRODUCT_NAME = GameSDKDemo; 468 PRODUCT_NAME = GameSDKDemo;
405 PROVISIONING_PROFILE = ""; 469 PROVISIONING_PROFILE = "";
406 PROVISIONING_PROFILE_SPECIFIER = ""; 470 PROVISIONING_PROFILE_SPECIFIER = "";
407 PUBLIC_HEADERS_FOLDER_PATH = ""; 471 PUBLIC_HEADERS_FOLDER_PATH = "";
408 WRAPPER_EXTENSION = app; 472 WRAPPER_EXTENSION = app;
409 }; 473 };
410 name = Release; 474 name = Release;
411 }; 475 };
412 /* End XCBuildConfiguration section */ 476 /* End XCBuildConfiguration section */
413 477
414 /* Begin XCConfigurationList section */ 478 /* Begin XCConfigurationList section */
415 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */ = { 479 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */ = {
416 isa = XCConfigurationList; 480 isa = XCConfigurationList;
417 buildConfigurations = ( 481 buildConfigurations = (
418 9934F1D819303DC6005EF4AB /* Debug */, 482 9934F1D819303DC6005EF4AB /* Debug */,
419 9934F1D919303DC6005EF4AB /* Release */, 483 9934F1D919303DC6005EF4AB /* Release */,
420 ); 484 );
421 defaultConfigurationIsVisible = 0; 485 defaultConfigurationIsVisible = 0;
422 defaultConfigurationName = Release; 486 defaultConfigurationName = Release;
423 }; 487 };
424 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */ = { 488 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */ = {
425 isa = XCConfigurationList; 489 isa = XCConfigurationList;
426 buildConfigurations = ( 490 buildConfigurations = (
427 9934F1DB19303DC6005EF4AB /* Debug */, 491 9934F1DB19303DC6005EF4AB /* Debug */,
428 9934F1DC19303DC6005EF4AB /* Release */, 492 9934F1DC19303DC6005EF4AB /* Release */,
429 ); 493 );
430 defaultConfigurationIsVisible = 0; 494 defaultConfigurationIsVisible = 0;
431 defaultConfigurationName = Release; 495 defaultConfigurationName = Release;
432 }; 496 };
433 /* End XCConfigurationList section */ 497 /* End XCConfigurationList section */
434 }; 498 };
435 rootObject = 9934F1A619303DC6005EF4AB /* Project object */; 499 rootObject = 9934F1A619303DC6005EF4AB /* Project object */;
436 } 500 }
437 501
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/xcuserdata/yanglele.xcuserdatad/xcschemes/GameSDKDemo.xcscheme
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <Scheme 2 <Scheme
3 LastUpgradeVersion = "0730" 3 LastUpgradeVersion = "0730"
4 version = "1.3"> 4 version = "1.3">
5 <BuildAction 5 <BuildAction
6 parallelizeBuildables = "YES" 6 parallelizeBuildables = "YES"
7 buildImplicitDependencies = "YES"> 7 buildImplicitDependencies = "YES">
8 <BuildActionEntries> 8 <BuildActionEntries>
9 <BuildActionEntry 9 <BuildActionEntry
10 buildForTesting = "YES" 10 buildForTesting = "YES"
11 buildForRunning = "YES" 11 buildForRunning = "YES"
12 buildForProfiling = "YES" 12 buildForProfiling = "YES"
13 buildForArchiving = "YES" 13 buildForArchiving = "YES"
14 buildForAnalyzing = "YES"> 14 buildForAnalyzing = "YES">
15 <BuildableReference 15 <BuildableReference
16 BuildableIdentifier = "primary" 16 BuildableIdentifier = "primary"
17 BlueprintIdentifier = "9934F1AD19303DC6005EF4AB" 17 BlueprintIdentifier = "9934F1AD19303DC6005EF4AB"
18 BuildableName = "GameSDKDemo.app" 18 BuildableName = "GameSDKDemo.app"
19 BlueprintName = "GameSDKDemo" 19 BlueprintName = "GameSDKDemo"
20 ReferencedContainer = "container:GameSDKDemo.xcodeproj"> 20 ReferencedContainer = "container:GameSDKDemo.xcodeproj">
21 </BuildableReference> 21 </BuildableReference>
22 </BuildActionEntry> 22 </BuildActionEntry>
23 </BuildActionEntries> 23 </BuildActionEntries>
24 </BuildAction> 24 </BuildAction>
25 <TestAction 25 <TestAction
26 buildConfiguration = "Debug" 26 buildConfiguration = "Debug"
27 selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" 27 selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28 selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" 28 selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29 language = "" 29 language = ""
30 shouldUseLaunchSchemeArgsEnv = "YES"> 30 shouldUseLaunchSchemeArgsEnv = "YES">
31 <Testables> 31 <Testables>
32 </Testables> 32 </Testables>
33 <MacroExpansion> 33 <MacroExpansion>
34 <BuildableReference 34 <BuildableReference
35 BuildableIdentifier = "primary" 35 BuildableIdentifier = "primary"
36 BlueprintIdentifier = "9934F1AD19303DC6005EF4AB" 36 BlueprintIdentifier = "9934F1AD19303DC6005EF4AB"
37 BuildableName = "GameSDKDemo.app" 37 BuildableName = "GameSDKDemo.app"
38 BlueprintName = "GameSDKDemo" 38 BlueprintName = "GameSDKDemo"
39 ReferencedContainer = "container:GameSDKDemo.xcodeproj"> 39 ReferencedContainer = "container:GameSDKDemo.xcodeproj">
40 </BuildableReference> 40 </BuildableReference>
41 </MacroExpansion> 41 </MacroExpansion>
42 <AdditionalOptions> 42 <AdditionalOptions>
43 </AdditionalOptions> 43 </AdditionalOptions>
44 </TestAction> 44 </TestAction>
45 <LaunchAction 45 <LaunchAction
46 buildConfiguration = "Debug" 46 buildConfiguration = "Debug"
47 selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" 47 selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
48 selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" 48 selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
49 disableMainThreadChecker = "YES" 49 disableMainThreadChecker = "YES"
50 language = "" 50 language = ""
51 launchStyle = "0" 51 launchStyle = "0"
52 useCustomWorkingDirectory = "NO" 52 useCustomWorkingDirectory = "NO"
53 ignoresPersistentStateOnLaunch = "NO" 53 ignoresPersistentStateOnLaunch = "NO"
54 debugDocumentVersioning = "YES" 54 debugDocumentVersioning = "YES"
55 debugServiceExtension = "internal" 55 debugServiceExtension = "internal"
56 allowLocationSimulation = "YES"> 56 allowLocationSimulation = "YES">
57 <BuildableProductRunnable 57 <BuildableProductRunnable
58 runnableDebuggingMode = "0"> 58 runnableDebuggingMode = "0">
59 <BuildableReference 59 <BuildableReference
60 BuildableIdentifier = "primary" 60 BuildableIdentifier = "primary"
61 BlueprintIdentifier = "9934F1AD19303DC6005EF4AB" 61 BlueprintIdentifier = "9934F1AD19303DC6005EF4AB"
62 BuildableName = "GameSDKDemo.app" 62 BuildableName = "GameSDKDemo.app"
63 BlueprintName = "GameSDKDemo" 63 BlueprintName = "GameSDKDemo"
64 ReferencedContainer = "container:GameSDKDemo.xcodeproj"> 64 ReferencedContainer = "container:GameSDKDemo.xcodeproj">
65 </BuildableReference> 65 </BuildableReference>
66 </BuildableProductRunnable> 66 </BuildableProductRunnable>
67 <EnvironmentVariables> 67 <EnvironmentVariables>
68 <EnvironmentVariable 68 <EnvironmentVariable
69 key = "OS_ACTIVITY_MODE" 69 key = "OS_ACTIVITY_MODE"
70 value = "disable" 70 value = "disable"
71 isEnabled = "YES"> 71 isEnabled = "NO">
72 </EnvironmentVariable> 72 </EnvironmentVariable>
73 </EnvironmentVariables> 73 </EnvironmentVariables>
74 <AdditionalOptions> 74 <AdditionalOptions>
75 </AdditionalOptions> 75 </AdditionalOptions>
76 </LaunchAction> 76 </LaunchAction>
77 <ProfileAction 77 <ProfileAction
78 buildConfiguration = "Release" 78 buildConfiguration = "Release"
79 shouldUseLaunchSchemeArgsEnv = "YES" 79 shouldUseLaunchSchemeArgsEnv = "YES"
80 savedToolIdentifier = "" 80 savedToolIdentifier = ""
81 useCustomWorkingDirectory = "NO" 81 useCustomWorkingDirectory = "NO"
82 debugDocumentVersioning = "YES"> 82 debugDocumentVersioning = "YES">
83 <BuildableProductRunnable 83 <BuildableProductRunnable
84 runnableDebuggingMode = "0"> 84 runnableDebuggingMode = "0">
85 <BuildableReference 85 <BuildableReference
86 BuildableIdentifier = "primary" 86 BuildableIdentifier = "primary"
87 BlueprintIdentifier = "9934F1AD19303DC6005EF4AB" 87 BlueprintIdentifier = "9934F1AD19303DC6005EF4AB"
88 BuildableName = "GameSDKDemo.app" 88 BuildableName = "GameSDKDemo.app"
89 BlueprintName = "GameSDKDemo" 89 BlueprintName = "GameSDKDemo"
90 ReferencedContainer = "container:GameSDKDemo.xcodeproj"> 90 ReferencedContainer = "container:GameSDKDemo.xcodeproj">
91 </BuildableReference> 91 </BuildableReference>
92 </BuildableProductRunnable> 92 </BuildableProductRunnable>
93 </ProfileAction> 93 </ProfileAction>
94 <AnalyzeAction 94 <AnalyzeAction
95 buildConfiguration = "Debug"> 95 buildConfiguration = "Debug">
96 </AnalyzeAction> 96 </AnalyzeAction>
97 <ArchiveAction 97 <ArchiveAction
98 buildConfiguration = "Release" 98 buildConfiguration = "Release"
99 revealArchiveInOrganizer = "YES"> 99 revealArchiveInOrganizer = "YES">
100 </ArchiveAction> 100 </ArchiveAction>
101 </Scheme> 101 </Scheme>
102 102
ios/GameSDKDemo/letsgameDemo/LSGAppDelegate.m
1 // 1 //
2 // LSGAppDelegate.m 2 // LSGAppDelegate.m
3 // letsgameDemo 3 // letsgameDemo
4 // 4 //
5 // Created by zhy on 14-5-24. 5 // Created by zhy on 14-5-24.
6 // 6 //
7 // 7 //
8 8
9 #import "LSGAppDelegate.h" 9 #import "LSGAppDelegate.h"
10 #import "LSGMainViewController.h" 10 #import "LSGMainViewController.h"
11 #import "LetsGameAPI.h" 11 #import "LetsGameAPI.h"
12 #import "LetsGameActivityAPI.h"
12 13
13 @implementation LSGAppDelegate 14 @implementation LSGAppDelegate
14 15
15 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 16 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
16 { 17 {
17 self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; 18 self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
18 [LetsGameAPI DeviceOrientationIsHorizontal:NO]; 19 // [LetsGameAPI DeviceOrientationIsHorizontal:NO];
19 20
20 LSGMainViewController *viewController = [[LSGMainViewController alloc] init]; 21 LSGMainViewController *viewController = [[LSGMainViewController alloc] init];
21 self.window.rootViewController = viewController; 22 self.window.rootViewController = viewController;
22 [self.window addSubview:viewController.view]; 23 [self.window addSubview:viewController.view];
23 24
24 self.window.backgroundColor = [UIColor whiteColor]; 25 self.window.backgroundColor = [UIColor whiteColor];
25 [self.window makeKeyAndVisible]; 26 [self.window makeKeyAndVisible];
26 27
27 [[LetsGameAPI instance] decideIsDebug:1]; 28 // [[LetsGameAPI instance] decideIsDebug:1];
28 [[LetsGameAPI instance] decideWebToVersion:1]; 29 [[LetsGameAPI instance] decideWebToVersion:1];
29 30
30 //显示是否侵权的接口 31 //显示是否侵权的接口
31 [[LetsGameAPI instance] gameObtainSafeSetInfoWithAppId:@"10056" ChannelId:@"1000" handleCallBack:^(BOOL resultStatus) { 32 [[LetsGameAPI instance] gameObtainSafeSetInfoWithAppId:@"10056" ChannelId:@"1000" handleCallBack:^(BOOL resultStatus) {
32 if (resultStatus) { 33 if (resultStatus) {
33 NSLog(@"YES 侵权"); 34 NSLog(@"YES 侵权");
34 }else{ 35 }else{
35 NSLog(@"NO 不侵权"); 36 NSLog(@"NO 不侵权");
36 } 37 }
37 }]; 38 }];
38 39
39 //微信登陆 40 //微信登陆
40 [[LetsGameAPI instance] registerAppWeChatWithAppId:@"100" appKey:@"f899139df5e1059396431415e770c6dd" Success:^{ 41 // [[LetsGameAPI instance] registerAppWeChatWithAppId:@"100" appKey:@"f899139df5e1059396431415e770c6dd" Success:^{
41 NSLog(@"注册成功"); 42 // NSLog(@"注册成功");
42 } failure:^{ 43 // } failure:^{
43 NSLog(@"注册失败"); 44 // NSLog(@"注册失败");
44 }]; 45 // }];
45 46
46 [[UIApplication sharedApplication] setStatusBarHidden:YES]; 47 [[UIApplication sharedApplication] setStatusBarHidden:YES];
47 [[LetsGameAPI instance] registeIapObserver]; 48 [[LetsGameAPI instance] registeIapObserver];
48 49
49 return YES; 50 return YES;
50 } 51 }
51 52
52 - (void)applicationWillResignActive:(UIApplication *)application 53 - (void)applicationWillResignActive:(UIApplication *)application
53 { 54 {
54 // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 55 // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
55 // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 56 // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
56 } 57 }
57 58
58 - (void)applicationDidEnterBackground:(UIApplication *)application 59 - (void)applicationDidEnterBackground:(UIApplication *)application
59 { 60 {
60 // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 61 // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
61 // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 62 // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
62 } 63 }
63 64
64 - (void)applicationWillEnterForeground:(UIApplication *)application 65 - (void)applicationWillEnterForeground:(UIApplication *)application
65 { 66 {
66 // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 67 // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
67 } 68 }
68 69
69 -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{ 70 -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{
70 return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; 71 return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication];
71 //return [[LetsGameAPI instance].vkBridge processOpenURL:url fromApplication:sourceApplication]; 72 //return [[LetsGameAPI instance].vkBridge processOpenURL:url fromApplication:sourceApplication];
72 } 73 }
73 74
75 //-(UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{
76 // if([LetsGameActivityAPI instance].supportLandscape == YES){
77 // return UIInterfaceOrientationMaskPortrait;
78 // }else{
79 // return UIInterfaceOrientationMaskLandscape;
80 // }
81 //}
74 82
75 @end 83 @end
76 84
ios/GameSDKDemo/letsgameDemo/LSGMainViewController.h
1 // 1 //
2 // LSGMainViewController.h 2 // LSGMainViewController.h
3 // letsgameDemo 3 // letsgameDemo
4 // 4 //
5 // Created by zhy on 14-5-24. 5 // Created by zhy on 14-5-24.
6 // 6 //
7 // 7 //
8 8
9 #import <UIKit/UIKit.h> 9 #import <UIKit/UIKit.h>
10 10
11 @interface LSGMainViewController : UIViewController 11 @interface LSGMainViewController : UIViewController
12
13 @end 12 @end
14 13
ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
1 // 1 //
2 // LSGMainViewController.m 2 // LSGMainViewController.m
3 // letsgameDemo 3 // letsgameDemo
4 // 4 //
5 // Created by zhy on 14-5-24. 5 // Created by zhy on 14-5-24.
6 // 6 //
7 // 7 //
8 8
9 #import "LSGMainViewController.h" 9 #import "LSGMainViewController.h"
10 #import "LetsGameAPI.h" 10 #import "LetsGameAPI.h"
11 #import "LetsGameActivityAPI.h" 11 #import "LetsGameActivityAPI.h"
12 #import "VKBridge.h" 12 #import "VKBridge.h"
13 13
14 14
15 @interface LSGMainViewController () 15 @interface LSGMainViewController ()
16 16
17 @property (nonatomic, strong) UILabel *resultLabel; 17 @property (nonatomic, strong) UILabel *resultLabel;
18 18
19 @property(nonatomic,strong) UIButton *vkActivityShareBtn; 19 @property(nonatomic,strong) UIButton *vkActivityShareBtn;
20 20
21 @property(nonatomic,copy) NSString *sessionKey; 21 @property(nonatomic,copy) NSString *sessionKey;
22 @end 22 @end
23 23
24 @implementation LSGMainViewController 24 @implementation LSGMainViewController
25 25
26 - (void)loadView { 26 - (void)loadView {
27 [super loadView]; 27 [super loadView];
28 NSLog(@"i come in"); 28 NSLog(@"i come in");
29 self.view.backgroundColor = [UIColor whiteColor]; 29 self.view.backgroundColor = [UIColor whiteColor];
30 // self.view.backgroundColor = [UIColor blackColor]; 30 // self.view.backgroundColor = [UIColor blackColor];
31 31
32 UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(110, 40, 100, 30)]; 32 UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(110, 40, 100, 30)];
33 btn.backgroundColor = [UIColor orangeColor]; 33 btn.backgroundColor = [UIColor orangeColor];
34 [btn setTitle:@"测试入口" forState:UIControlStateNormal]; 34 [btn setTitle:@"测试入口" forState:UIControlStateNormal];
35 [btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 35 [btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
36 btn.titleLabel.font = [UIFont systemFontOfSize:15]; 36 btn.titleLabel.font = [UIFont systemFontOfSize:15];
37 [btn addTarget:self action:@selector(onClickTest) forControlEvents:UIControlEventTouchUpInside]; 37 [btn addTarget:self action:@selector(onClickTest) forControlEvents:UIControlEventTouchUpInside];
38 [self.view addSubview:btn]; 38 [self.view addSubview:btn];
39 39
40 40
41 41
42 UIButton *bindtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 100, 100, 30)]; 42 UIButton *bindtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 100, 100, 30)];
43 bindtn.backgroundColor = [UIColor orangeColor]; 43 bindtn.backgroundColor = [UIColor orangeColor];
44 [bindtn setTitle:@"退出账号" forState:UIControlStateNormal]; 44 [bindtn setTitle:@"退出账号" forState:UIControlStateNormal];
45 [bindtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 45 [bindtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
46 bindtn.titleLabel.font = [UIFont systemFontOfSize:15]; 46 bindtn.titleLabel.font = [UIFont systemFontOfSize:15];
47 [bindtn addTarget:self action:@selector(onLogoutTest) forControlEvents:UIControlEventTouchUpInside]; 47 [bindtn addTarget:self action:@selector(onLogoutTest) forControlEvents:UIControlEventTouchUpInside];
48 [self.view addSubview:bindtn]; 48 [self.view addSubview:bindtn];
49 49
50 UIButton *payBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 160, 100, 30)]; 50 UIButton *payBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 160, 100, 30)];
51 payBtn.backgroundColor = [UIColor orangeColor]; 51 payBtn.backgroundColor = [UIColor orangeColor];
52 [payBtn setTitle:@"支付" forState:UIControlStateNormal]; 52 [payBtn setTitle:@"支付" forState:UIControlStateNormal];
53 [payBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 53 [payBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
54 payBtn.titleLabel.font = [UIFont systemFontOfSize:15]; 54 payBtn.titleLabel.font = [UIFont systemFontOfSize:15];
55 [payBtn addTarget:self action:@selector(onPayTest) forControlEvents:UIControlEventTouchUpInside]; 55 [payBtn addTarget:self action:@selector(onPayTest) forControlEvents:UIControlEventTouchUpInside];
56 [self.view addSubview:payBtn]; 56 [self.view addSubview:payBtn];
57 57
58 UIButton *iapBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 220, 100, 30)]; 58 UIButton *iapBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 220, 100, 30)];
59 iapBtn.backgroundColor = [UIColor orangeColor]; 59 iapBtn.backgroundColor = [UIColor orangeColor];
60 [iapBtn setTitle:@"IAP" forState:UIControlStateNormal]; 60 [iapBtn setTitle:@"IAP" forState:UIControlStateNormal];
61 [iapBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 61 [iapBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
62 iapBtn.titleLabel.font = [UIFont systemFontOfSize:15]; 62 iapBtn.titleLabel.font = [UIFont systemFontOfSize:15];
63 [iapBtn addTarget:self action:@selector(onIapTest) forControlEvents:UIControlEventTouchUpInside]; 63 [iapBtn addTarget:self action:@selector(onIapTest) forControlEvents:UIControlEventTouchUpInside];
64 [self.view addSubview:iapBtn]; 64 [self.view addSubview:iapBtn];
65 65
66 UIButton *activityBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 320, 100, 30)]; 66 UIButton *activityBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 320, 100, 30)];
67 activityBtn.backgroundColor = [UIColor orangeColor]; 67 activityBtn.backgroundColor = [UIColor orangeColor];
68 [activityBtn setTitle:@"Activity" forState:UIControlStateNormal]; 68 [activityBtn setTitle:@"Activity" forState:UIControlStateNormal];
69 [activityBtn setTintColor:[UIColor whiteColor]]; 69 [activityBtn setTintColor:[UIColor whiteColor]];
70 activityBtn.titleLabel.font = [UIFont systemFontOfSize:15]; 70 activityBtn.titleLabel.font = [UIFont systemFontOfSize:15];
71 [activityBtn addTarget:self action:@selector(onActivity) forControlEvents:UIControlEventTouchUpInside]; 71 [activityBtn addTarget:self action:@selector(onActivity) forControlEvents:UIControlEventTouchUpInside];
72 [self.view addSubview:activityBtn]; 72 [self.view addSubview:activityBtn];
73 73
74 } 74 }
75 75
76 - (UILabel *)resultLabel { 76 - (UILabel *)resultLabel {
77 if (!_resultLabel) { 77 if (!_resultLabel) {
78 _resultLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, CGRectGetMaxY(self.view.frame) - 90, self.view.frame.size.width, 60)]; 78 _resultLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, CGRectGetMaxY(self.view.frame) - 90, self.view.frame.size.width, 60)];
79 _resultLabel.backgroundColor = [UIColor clearColor]; 79 _resultLabel.backgroundColor = [UIColor clearColor];
80 _resultLabel.textAlignment = NSTextAlignmentCenter; 80 _resultLabel.textAlignment = NSTextAlignmentCenter;
81 _resultLabel.textColor = [UIColor redColor]; 81 _resultLabel.textColor = [UIColor redColor];
82 _resultLabel.font = [UIFont systemFontOfSize:15]; 82 _resultLabel.font = [UIFont systemFontOfSize:15];
83 _resultLabel.numberOfLines = 4; 83 _resultLabel.numberOfLines = 4;
84 _resultLabel.lineBreakMode = NSLineBreakByWordWrapping; 84 _resultLabel.lineBreakMode = NSLineBreakByWordWrapping;
85 [self.view addSubview:_resultLabel]; 85 [self.view addSubview:_resultLabel];
86 } 86 }
87 87
88 return _resultLabel; 88 return _resultLabel;
89 } 89 }
90 90
91 91
92 - (void)onClickTest { 92 - (void)onClickTest {
93 93
94 [LetsGameAPI instance].appId = @"10103";//10047 94 [LetsGameAPI instance].appId = @"10105";//@"100";//10047
95 [LetsGameAPI instance].appKey = @"f53eb4122d5e2ce81a12093f8f9ce922";//eccd9f7dc92858b741132fda313130cf 95 [LetsGameAPI instance].appKey = @"4c0a7bdd46ceb88d497eec5de360328e";//@"f899139df5e1059396431415e770c6dd";//eccd9f7dc92858b741132fda313130cf
96 [LetsGameAPI instance].channelId = @"1002"; 96 [LetsGameAPI instance].channelId = @"1000";
97 [LetsGameAPI hiddenLogo:YES]; 97 [LetsGameAPI hiddenLogo:YES];
98 // [LetsGameAPI disableFB:YES]; 98 // [LetsGameAPI disableFB:YES];
99 // [LetsGameAPI disableGoogle:YES]; 99 // [LetsGameAPI disableGoogle:YES];
100 // [LetsGameAPI disableLine:YES]; 100 // [LetsGameAPI disableLine:YES];
101 // [LetsGameAPI disableWeChat:YES]; 101 // [LetsGameAPI disableWeChat:YES];
102 NSLog(@"sdk version:%@",[[LetsGameAPI instance] version]); 102 NSLog(@"sdk version:%@",[[LetsGameAPI instance] version]);
103 //启用vk登录 103 //启用vk登录
104 VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; 104 VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"];
105 [LetsGameAPI instance].vkBridge = vkBridge; 105 [LetsGameAPI instance].vkBridge = vkBridge;
106 106
107 [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) { 107 [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) {
108 self.sessionKey = sessionKey; 108 self.sessionKey = sessionKey;
109 self.resultLabel.text = [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %ld", userId, sessionKey, type]; 109 self.resultLabel.text = [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %ld", userId, sessionKey, type];
110 }; 110 };
111 [LetsGameAPI instance].dismissBlock = ^() { 111 [LetsGameAPI instance].dismissBlock = ^() {
112 self.resultLabel.text = @"dismiss without login"; 112 self.resultLabel.text = @"dismiss without login";
113 }; 113 };
114 114
115 [[LetsGameAPI instance] showLoginView]; 115 [[LetsGameAPI instance] showLoginView];
116 } 116 }
117 117
118 118
119 - (void)onLogoutTest { 119 - (void)onLogoutTest {
120 [LetsGameAPI instance].appId = @"10056"; 120 [LetsGameAPI instance].appId = @"10056";
121 [LetsGameAPI instance].appKey = @"b59c21a078fde074a6750e91ed19fb21"; 121 [LetsGameAPI instance].appKey = @"b59c21a078fde074a6750e91ed19fb21";
122 [[LetsGameAPI instance] logout]; 122 [[LetsGameAPI instance] logout];
123 123
124 } 124 }
125 125
126 -(void)onPayTest{ 126 -(void)onPayTest{
127 [LetsGameAPI instance].appId = @"10103";//@"10056";//10022 127 [LetsGameAPI instance].appId = @"10103";//@"10056";//10022
128 [LetsGameAPI instance].appKey = @"f53eb4122d5e2ce81a12093f8f9ce922";//@"b59c21a078fde074a6750e91ed19fb21";//93a27b0bd99bac3e68a440b48aa421ab 128 [LetsGameAPI instance].appKey = @"f53eb4122d5e2ce81a12093f8f9ce922";//@"b59c21a078fde074a6750e91ed19fb21";//93a27b0bd99bac3e68a440b48aa421ab
129 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; 129 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary];
130 [payInfo setValue:@"s1" forKey:@"serverId"]; 130 [payInfo setValue:@"s1" forKey:@"serverId"];
131 [payInfo setValue:@"556553" forKey:@"roleId"]; 131 [payInfo setValue:@"556553" forKey:@"roleId"];
132 [payInfo setValue:@"1002" forKey:@"channelId"]; 132 [payInfo setValue:@"1002" forKey:@"channelId"];
133 [payInfo setValue:@"10" forKey:@"amount"]; 133 [payInfo setValue:@"10" forKey:@"amount"];
134 [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; 134 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];
135 [payInfo setValue:@"wa2" forKey:@"product"]; 135 [payInfo setValue:@"wa2" forKey:@"product"];
136 [payInfo setValue:@"78b83666bd77c1e4c95442140672254d" forKey:@"sessionKey"]; //self.sessionKey 136 [payInfo setValue:@"78b83666bd77c1e4c95442140672254d" forKey:@"sessionKey"]; //self.sessionKey
137 // [[LetsGameAPI instance] pay:payInfo handleCallBack:^{
138 // NSLog(@"第三方支付完成");
139 // }];
137 [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{ 140 [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{
138 NSLog(@"第三方支付完成"); 141 NSLog(@"第三方支付完成");
139 }]; 142 }];
140 } 143 }
141 144
142 -(void)onIapTest{ 145 -(void)onIapTest{
143 [LetsGameAPI instance].appId = @"10056"; 146 [LetsGameAPI instance].appId = @"10105";
144 [LetsGameAPI instance].appKey = @"b59c21a078fde074a6750e91ed19fb21"; 147 [LetsGameAPI instance].appKey = @"4c0a7bdd46ceb88d497eec5de360328e";
145 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; 148 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary];
146 [payInfo setValue:@"5001" forKey:@"serverId"]; 149 [payInfo setValue:@"1" forKey:@"serverId"];
147 [payInfo setValue:@"10010" forKey:@"roleId"]; 150 [payInfo setValue:@"1000039" forKey:@"roleId"];
148 [payInfo setValue:@"1000" forKey:@"channelId"]; 151 [payInfo setValue:@"1000" forKey:@"channelId"];
149 [payInfo setValue:@"10" forKey:@"amount"]; 152 [payInfo setValue:@"0.99" forKey:@"amount"];
150 [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; 153 [payInfo setValue:@"001QwnfQym0H" forKey:@"extraInfo"];
151 [payInfo setValue:@"test.product.1" forKey:@"product"]; 154 [payInfo setValue:@"com.dig.wo.xia.99" forKey:@"product"];
152 [[LetsGameAPI instance] iap:payInfo forUser:@"" succCallback:^(NSString *orderId) { 155 [[LetsGameAPI instance] iap:payInfo forUser:@"" succCallback:^(NSString *orderId) {
153 //注意测试仅仅是通知客户端成功,但是还需要向服务器请求验证是否成功,以服务端验证为准 156 //注意测试仅仅是通知客户端成功,但是还需要向服务器请求验证是否成功,以服务端验证为准
154 NSLog(@"IAP completed orderId of Gumptech:%@",orderId); 157 NSLog(@"IAP completed orderId of Gumptech:%@",orderId);
155 } failCallback:^(NSString *orderId) { 158 } failCallback:^(NSString *orderId) {
156 NSLog(@"IAP file orderId of Gumptech:%@",orderId); 159 NSLog(@"IAP file orderId of Gumptech:%@",orderId);
157 }]; 160 }];
161
162 // [LetsGameAPI instance].appId = @"10056";
163 // [LetsGameAPI instance].appKey = @"b59c21a078fde074a6750e91ed19fb21";
164 // NSMutableDictionary *payInfo = [NSMutableDictionary dictionary];
165 // [payInfo setValue:@"5001" forKey:@"serverId"];
166 // [payInfo setValue:@"10010" forKey:@"roleId"];
167 // [payInfo setValue:@"1000" forKey:@"channelId"];
168 // [payInfo setValue:@"10" forKey:@"amount"];
169 // [payInfo setValue:@"ios demo" forKey:@"extraInfo"];
170 // [payInfo setValue:@"test.product.1" forKey:@"product"];
171 // [[LetsGameAPI instance] iap:payInfo forUser:@"" succCallback:^(NSString *orderId) {
172 // //注意测试仅仅是通知客户端成功,但是还需要向服务器请求验证是否成功,以服务端验证为准
173 // NSLog(@"IAP completed orderId of Gumptech:%@",orderId);
174 // } failCallback:^(NSString *orderId) {
175 // NSLog(@"IAP file orderId of Gumptech:%@",orderId);
176 // }];
158 } 177 }
159 178
160 -(void)onActivity{ 179 -(void)onActivity{
161 180
162 [[LetsGameActivityAPI instance] decideIsDebug:1]; 181 [[LetsGameActivityAPI instance] decideIsDebug:1];
163 182 // [LetsGameActivityAPI instance].supportLandscape = YES;
183 // [[LetsGameActivityAPI instance] decideAllowRotate:1];
164 NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary]; 184 NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary];
165 [activityInfo setValue:@"100" forKey:@"appId"]; 185 [activityInfo setValue:@"100" forKey:@"appId"];
166 [activityInfo setValue:@"f899139df5e1059396431415e770c6dd" forKey:@"appKey"]; 186 [activityInfo setValue:@"f899139df5e1059396431415e770c6dd" forKey:@"appKey"];
167 [activityInfo setValue:@"123456" forKey:@"userId"]; 187 [activityInfo setValue:@"123456" forKey:@"userId"];
168 [activityInfo setValue:@"111" forKey:@"serverId"]; 188 [activityInfo setValue:@"111" forKey:@"serverId"];
169 [activityInfo setValue:@"aaa" forKey:@"serverName"]; 189 [activityInfo setValue:@"aaa" forKey:@"serverName"];
170 [activityInfo setValue:@"222" forKey:@"roleId"]; 190 [activityInfo setValue:@"222" forKey:@"roleId"];
171 [activityInfo setValue:@"ccc" forKey:@"roleName"]; 191 [activityInfo setValue:@"ccc" forKey:@"roleName"];
172 [activityInfo setValue:@"888" forKey:@"diamond"]; 192 [activityInfo setValue:@"888" forKey:@"diamond"];
173 [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{ 193 [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{
174 NSLog(@"activity finish!"); 194 NSLog(@"activity finish!");
175 }]; 195 }];
176 } 196 }
177 197
178 198
179 - (BOOL)shouldAutorotate {
180 return YES;
181 }
ios/GameSDKDemo/letsgameDemo/letsgameDemo-Info.plist
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 <plist version="1.0"> 3 <plist version="1.0">
4 <dict> 4 <dict>
5 <key>NSAppTransportSecurity</key>
6 <dict>
7 <key>NSAllowsArbitraryLoads</key>
8 <true/>
9 </dict>
10 <key>CFBundleDevelopmentRegion</key> 5 <key>CFBundleDevelopmentRegion</key>
11 <string>en</string> 6 <string>en</string>
12 <key>CFBundleDisplayName</key> 7 <key>CFBundleDisplayName</key>
13 <string>${PRODUCT_NAME} 8 <string>${PRODUCT_NAME}
14 ${PRODUCT_NAME}</string> 9 ${PRODUCT_NAME}</string>
15 <key>CFBundleExecutable</key> 10 <key>CFBundleExecutable</key>
16 <string>${EXECUTABLE_NAME}</string> 11 <string>${EXECUTABLE_NAME}</string>
17 <key>CFBundleIdentifier</key> 12 <key>CFBundleIdentifier</key>
18 <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> 13 <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
19 <key>CFBundleInfoDictionaryVersion</key> 14 <key>CFBundleInfoDictionaryVersion</key>
20 <string>6.0</string> 15 <string>6.0</string>
21 <key>CFBundleName</key> 16 <key>CFBundleName</key>
22 <string>${PRODUCT_NAME}</string> 17 <string>${PRODUCT_NAME}</string>
23 <key>CFBundlePackageType</key> 18 <key>CFBundlePackageType</key>
24 <string>APPL</string> 19 <string>APPL</string>
25 <key>CFBundleShortVersionString</key> 20 <key>CFBundleShortVersionString</key>
26 <string>1.0.1</string> 21 <string>1.0.1</string>
27 <key>CFBundleSignature</key> 22 <key>CFBundleSignature</key>
28 <string>????</string> 23 <string>????</string>
29 <key>CFBundleURLTypes</key> 24 <key>CFBundleURLTypes</key>
30 <array> 25 <array>
31 <dict> 26 <dict>
32 <key>CFBundleURLSchemes</key> 27 <key>CFBundleURLSchemes</key>
33 <array> 28 <array>
34 <string>fb1401636950118536</string> 29 <string>fb1401636950118536</string>
35 </array> 30 </array>
36 </dict> 31 </dict>
37 <dict> 32 <dict>
38 <key>CFBundleURLName</key> 33 <key>CFBundleURLName</key>
39 <string>vk5029792</string> 34 <string>vk5029792</string>
40 <key>CFBundleURLSchemes</key> 35 <key>CFBundleURLSchemes</key>
41 <array> 36 <array>
42 <string>vk5029792</string> 37 <string>vk5029792</string>
43 </array> 38 </array>
44 </dict> 39 </dict>
45 <dict> 40 <dict>
46 <key>CFBundleTypeRole</key> 41 <key>CFBundleTypeRole</key>
47 <string>Editor</string> 42 <string>Editor</string>
48 <key>CFBundleURLSchemes</key> 43 <key>CFBundleURLSchemes</key>
49 <array> 44 <array>
50 <string>wxf9b6d466612e8aee</string> 45 <string>wxf9b6d466612e8aee</string>
51 </array> 46 </array>
52 </dict> 47 </dict>
53 </array> 48 </array>
54 <key>CFBundleVersion</key> 49 <key>CFBundleVersion</key>
55 <string>1.1.1</string> 50 <string>1.1.1</string>
56 <key>FacebookAppID</key> 51 <key>FacebookAppID</key>
57 <string>1401636950118536</string> 52 <string>1401636950118536</string>
58 <key>FacebookDisplayName</key> 53 <key>FacebookDisplayName</key>
59 <string>letsgameDemo</string> 54 <string>letsgameDemo</string>
60 <key>LSApplicationQueriesSchemes</key> 55 <key>LSApplicationQueriesSchemes</key>
61 <array> 56 <array>
62 <string>weixin</string> 57 <string>weixin</string>
63 <string>wechat</string> 58 <string>wechat</string>
64 </array> 59 </array>
65 <key>LSRequiresIPhoneOS</key> 60 <key>LSRequiresIPhoneOS</key>
66 <true/> 61 <true/>
62 <key>NSAppTransportSecurity</key>
63 <dict>
64 <key>NSAllowsArbitraryLoads</key>
65 <true/>
66 </dict>
67 <key>UIRequiredDeviceCapabilities</key> 67 <key>UIRequiredDeviceCapabilities</key>
68 <array> 68 <array>
69 <string>armv7</string> 69 <string>armv7</string>
70 </array> 70 </array>
71 <key>UIStatusBarHidden</key> 71 <key>UIStatusBarHidden</key>
72 <true/> 72 <true/>
73 <key>UISupportedInterfaceOrientations</key> 73 <key>UISupportedInterfaceOrientations</key>
74 <array> 74 <array>
75 <string>UIInterfaceOrientationPortrait</string>
76 <string>UIInterfaceOrientationLandscapeLeft</string> 75 <string>UIInterfaceOrientationLandscapeLeft</string>
ios/GameSDKResources.bundle/en.strings
1 "user_name_hint" = "Account"; 1 "user_name_hint" = "Account";
2 "password_hint" = "Password"; 2 "password_hint" = "Password";
3 "quick_play" = "Guest login"; 3 "quick_play" = "Guest login";
4 "login" = "Log In"; 4 "login" = "Log In";
5 "gump_login" = "Login"; 5 "gump_login" = "Login";
6 "signup" = "Sign up"; 6 "signup" = "Sign up";
7 "bind" = "Bind your email"; 7 "bind" = "Bind your email";
8 "loading" = "Loading"; 8 "loading" = "Loading";
9 "cancel" = "Cancel"; 9 "cancel" = "Cancel";
10 "ok" = "OK"; 10 "ok" = "OK";
11 "illegal_uname_tip" = "Invalid Email"; 11 "illegal_uname_tip" = "Invalid Email";
12 "illegal_pwd_tip" = "Invalid Password (6-20 characters)"; 12 "illegal_pwd_tip" = "Invalid Password (6-20 characters)";
13 "illegal_user_exist" = "Email has already been used"; 13 "illegal_user_exist" = "Email has already been used";
14 "illegal_pwd_invalid" = "Password error"; 14 "illegal_pwd_invalid" = "Password error";
15 "illegal_user_not_exist" = "Invalid Email"; 15 "illegal_user_not_exist" = "Invalid Email";
16 "invalid_email" = "Please input your email"; 16 "invalid_email" = "Please input your email";
17 "login_fail" = "Login Failed"; 17 "login_fail" = "Login Failed";
18 "signup_fail" = "Signup Failed"; 18 "signup_fail" = "Signup Failed";
19 "bind_fail" = "Bind Failed"; 19 "bind_fail" = "Bind Failed";
20 "switch"="Switch Account"; 20 "switch"="Switch Account";
21 "change_password" = "Modify Password"; 21 "change_password" = "Modify Password";
22 "current_password" = "Current Password"; 22 "current_password" = "Current Password";
23 "change_password_notice" = “Current passeord isn't required when reset password."; 23 "change_password_notice" = “Current passeord isn't required when reset password.";
24 "new_password" = "New Password"; 24 "new_password" = "New Password";
25 "Reset" = "Forget Password? Touch this"; 25 "Reset" = "Forget Password? Touch this";
26 "Confirm" = "Confirm"; 26 "Confirm" = "Confirm";
27 "Succeed" = "Succeed"; 27 "Succeed" = "Succeed";
28 "reset_fail" = "Reset failed, please contact customer service"; 28 "reset_fail" = "Reset failed, please contact customer service";
29 "reset_success" = "Verified email has been sent. Please reset Password according to the email"; 29 "reset_success" = "Verified email has been sent. Please reset Password according to the email";
30 "forget_change_password" = "Modify/Forget Password"; 30 "forget_change_password" = "Modify/Forget Password";
31 "other_login_style" = "Others"; 31 "other_login_style" = "Others";
32 "account_pwd_invalid" = "Please input both account and password"; 32 "account_pwd_invalid" = "Please input both account and password";
33 "new_old_password_diff" = "Password mismatch"; 33 "new_old_password_diff" = "Password mismatch";
34 "Confirm_password" = "Confirm"; 34 "Confirm_password" = "Confirm";
35 "input_new_pwd" = "Please input new password"; 35 "input_new_pwd" = "Please input new password";
36 "back" = "Back"; 36 "back" = "Back";
37 "play_btn_notice" = "Your current account is GUEST. Please registrate email & password to better secure your account and avoid data loss. All your guest info will be moved to the new account.";
38 "Notice" = "Warning";
39 "Continue" = "Continue";
40 "Log_in" = "sign up";
41
37 42
ios/GameSDKResources.bundle/th.strings
1 "user_name_hint" = "ชื่อบัญชี"; 1 "user_name_hint" = "ชื่อบัญชี";
2 "password_hint" = "พาสเวิร์ด"; 2 "password_hint" = "พาสเวิร์ด";
3 "quick_play" = "บัญชีนักท่องเที่ยว"; 3 "quick_play" = "บัญชีนักท่องเที่ยว";
4 "quick_login" = "เริ่มเล่น"; 4 "quick_login" = "เริ่มเล่น";
5 "login" = "ล็อคอินชื่อบัญชีรหัสผ่าน"; 5 "login" = "ล็อคอินชื่อบัญชีรหัสผ่าน";
6 "gump_login" = "ล็อคอิน"; 6 "gump_login" = "ล็อคอิน";
7 "signup" = "ลงทะเบียน"; 7 "signup" = "ลงทะเบียน";
8 "bind" = "ผูกอีเมลล์"; 8 "bind" = "ผูกอีเมลล์";
9 "loading" = "กำลังโหลด"; 9 "loading" = "กำลังโหลด";
10 "illegal_uname_tip" = "อีเมลล์ไม่ถูกต้อง"; 10 "illegal_uname_tip" = "อีเมลล์ไม่ถูกต้อง";
11 "illegal_pwd_tip" = "พาสเวิร์ดไม่ถูกต้อง(6-20 ตัวอักษร)"; 11 "illegal_pwd_tip" = "พาสเวิร์ดไม่ถูกต้อง(6-20 ตัวอักษร)";
12 "illegal_user_exist" = "อีเมลล์นี้ได้ถูกใช้แล้ว"; 12 "illegal_user_exist" = "อีเมลล์นี้ได้ถูกใช้แล้ว";
13 "account_pwd_invalid" = "ชื่อบัญชีและรหัสผ่านห้ามเว้นว่าง"; 13 "account_pwd_invalid" = "ชื่อบัญชีและรหัสผ่านห้ามเว้นว่าง";
14 "illegal_user_not_exist" = "อีเมลล์ไม่ถูกต้อง"; 14 "illegal_user_not_exist" = "อีเมลล์ไม่ถูกต้อง";
15 "invalid_email" = "ใส่อีเมลล์ของคุณ"; 15 "invalid_email" = "ใส่อีเมลล์ของคุณ";
16 "login_fail" = "ล็อกอินผิดพลาด"; 16 "login_fail" = "ล็อกอินผิดพลาด";
17 "signup_fail" = "ลงทะเบียนไม่สำเร็จ"; 17 "signup_fail" = "ลงทะเบียนไม่สำเร็จ";
18 "bind_fail" = "ผูกอีเมลล์ไม่สำเร็จ"; 18 "bind_fail" = "ผูกอีเมลล์ไม่สำเร็จ";
19 "change_password" = "แก้ไขรหัสผ่าน"; 19 "change_password" = "แก้ไขรหัสผ่าน";
20 "current_password" = "พาสเวิร์ดปัจจุบัน"; 20 "current_password" = "พาสเวิร์ดปัจจุบัน";
21 "change_password_notice" = "ไม่สามารถตั้งพาสเวิร์ดซ้ำกับพาสเวิร์ดปัจจุบันได้."; 21 "change_password_notice" = "ไม่สามารถตั้งพาสเวิร์ดซ้ำกับพาสเวิร์ดปัจจุบันได้.";
22 "new_password" = "พาสเวิร์ดใหม่"; 22 "new_password" = "พาสเวิร์ดใหม่";
23 "Reset" = "ลืมรหัสผ่าน?คลิกรีเซ็ตรหัสผ่าน"; 23 "Reset" = "ลืมรหัสผ่าน?คลิกรีเซ็ตรหัสผ่าน";
24 "Confirm" = "ยืนยัน"; 24 "Confirm" = "ยืนยัน";
25 "Succeed" = "แก้ไขสำเร็จ"; 25 "Succeed" = "แก้ไขสำเร็จ";
26 "reset_fail" = "แก้ไขล้มเหลว,กรุณาติดต่อแอดมิน"; 26 "reset_fail" = "แก้ไขล้มเหลว,กรุณาติดต่อแอดมิน";
27 "reset_success" = "ส่งอีเมลล์ยืนยันแล้ว กรุณาทำตามขั้นตอนที่ระบุในอีเมลล์เพื่อรีเซ็ตรหัสผ่าน"; 27 "reset_success" = "ส่งอีเมลล์ยืนยันแล้ว กรุณาทำตามขั้นตอนที่ระบุในอีเมลล์เพื่อรีเซ็ตรหัสผ่าน";
28 "forget_change_password" = "แก้ไข/ลืมรหัสผ่าน"; 28 "forget_change_password" = "แก้ไข/ลืมรหัสผ่าน";
29 "other_login_style" = "ล็อคอินช่องทางอื่น"; 29 "other_login_style" = "ล็อคอินช่องทางอื่น";
30 "new_old_password_diff" = "รหัสผ่านไม่เหมือนกัน"; 30 "new_old_password_diff" = "รหัสผ่านไม่เหมือนกัน";
31 "Confirm_password" = "ยืนยันรหัสผ่าน"; 31 "Confirm_password" = "ยืนยันรหัสผ่าน";
32 "input_new_pwd" = "กรุณากรอกรหัสผ่านใหม่"; 32 "input_new_pwd" = "กรุณากรอกรหัสผ่านใหม่";
33 "back" = "ย้อนกลับ"; 33 "back" = "ย้อนกลับ";
34 "play_btn_notice" = "เพื่อความปลอดภัยของIDที่ล็อกอินแบบGuestกรุณากดสมัครบัญชีและดำเนินการให้สำเร็จข้อมูลในIDแบบGuestของท่านจะย้ายไปยังIDใหม่โดยอัตโนมัติ";
35 "Notice" = "คำเตือน";
36 "Continue" = "ล็อกอินต่อไป";
37 "Log_in" = "สมัคร";
34 38
ios/GameSDKResources.bundle/zh-Hans.strings
1 "user_name_hint" = "账号"; 1 "user_name_hint" = "账号";
2 "password_hint" = "密码"; 2 "password_hint" = "密码";
3 "quick_login" = "一键进入"; 3 "quick_login" = "一键进入";
4 "quick_play" = "游客登录"; 4 "quick_play" = "游客登录";
5 "gump_login" = "登录"; 5 "gump_login" = "登录";
6 "login" = "账号密码登录"; 6 "login" = "账号密码登录";
7 "loginFacebook" = "登录Facebook"; 7 "loginFacebook" = "登录Facebook";
8 "signup" = "注册"; 8 "signup" = "注册";
9 "bind" = "绑定邮箱"; 9 "bind" = "绑定邮箱";
10 "loading" = "加载中……"; 10 "loading" = "加载中……";
11 "illegal_uname_tip" = "邮箱不存在"; 11 "illegal_uname_tip" = "邮箱不存在";
12 "illegal_pwd_tip" = "密码格式不正确 (6–20字符)"; 12 "illegal_pwd_tip" = "密码格式不正确 (6–20字符)";
13 "illegal_user_exist" = "邮箱已注册"; 13 "illegal_user_exist" = "邮箱已注册";
14 "illegal_pwd_invalid" = "密码错误"; 14 "illegal_pwd_invalid" = "密码错误";
15 "illegal_user_not_exist" = "邮箱格式不正确"; 15 "illegal_user_not_exist" = "邮箱格式不正确";
16 "invalid_email" = "请输入正确的邮箱"; 16 "invalid_email" = "请输入正确的邮箱";
17 "login_fail" = "登录失败"; 17 "login_fail" = "登录失败";
18 "signup_fail" = "注册失败"; 18 "signup_fail" = "注册失败";
19 "bind_fail" = "绑定失败"; 19 "bind_fail" = "绑定失败";
20 "GumptechLogin" = "甘普登录"; 20 "GumptechLogin" = "甘普登录";
21 "switch" = "切换账户"; 21 "switch" = "切换账户";
22 "change_password" = "修改密码?"; 22 "change_password" = "修改密码?";
23 "current_password" = "当前密码"; 23 "current_password" = "当前密码";
24 "change_password_notice" = "重置密码时可不填写当前密码"; 24 "change_password_notice" = "重置密码时可不填写当前密码";
25 "new_password" = "新密码"; 25 "new_password" = "新密码";
26 "Reset" = "忘记密码?点此重置"; 26 "Reset" = "忘记密码?点此重置";
27 "Confirm" = "确定"; 27 "Confirm" = "确定";
28 "Succeed" = "修改成功"; 28 "Succeed" = "修改成功";
29 "reset_fail" = "修改失败,请与客服联系"; 29 "reset_fail" = "修改失败,请与客服联系";
30 "reset_success" = "验证邮件已发送,请按照邮件提示进行密码重置"; 30 "reset_success" = "验证邮件已发送,请按照邮件提示进行密码重置";
31 "other_login_style" = "其他登录方式"; 31 "other_login_style" = "其他登录方式";
32 "account_pwd_invalid" = "账号和密码不能为空"; 32 "account_pwd_invalid" = "账号和密码不能为空";
33 "new_old_password_diff" = "密码不一致"; 33 "new_old_password_diff" = "密码不一致";
34 "Confirm_password" = "确认密码"; 34 "Confirm_password" = "确认密码";
35 "forget_change_password" = "修改/忘记密码?"; 35 "forget_change_password" = "修改/忘记密码?";
36 "input_new_pwd" = "请输入新密码"; 36 "input_new_pwd" = "请输入新密码";
37 "back" = "返回"; 37 "back" = "返回";
38 "play_btn_notice" = "您登录了游客用户,为了账户安全,避免数据丢失。请点击注册账号完成注册。游客信息将自动转移至新帐号。";
39 "Notice" = "提示";
40 "Continue" = "繼續登錄";
41 "Log_in" = "註冊帳號";
42
38 43
ios/GameSDKResources.bundle/zh-Hant.strings
1 "user_name_hint" = "帳號"; 1 "user_name_hint" = "帳號";
2 "password_hint" = "密碼"; 2 "password_hint" = "密碼";
3 "quick_login" = "一鍵進入"; 3 "quick_login" = "一鍵進入";
4 "quick_play" = "遊客登陸"; 4 "quick_play" = "遊客登陸";
5 "gump_login" = "登錄"; 5 "gump_login" = "登錄";
6 "login" = "帳號密碼登錄"; 6 "login" = "帳號密碼登錄";
7 "signup" = "註冊"; 7 "signup" = "註冊";
8 "bind" = "綁定郵箱"; 8 "bind" = "綁定郵箱";
9 "loading" = "加載中……"; 9 "loading" = "加載中……";
10 "illegal_uname_tip" = "郵箱不存在"; 10 "illegal_uname_tip" = "郵箱不存在";
11 "illegal_pwd_tip" = "密碼格式不爭取 (6–20字符)"; 11 "illegal_pwd_tip" = "密碼格式不爭取 (6–20字符)";
12 "illegal_user_exist" = "郵箱已註冊"; 12 "illegal_user_exist" = "郵箱已註冊";
13 "illegal_pwd_invalid" = "密碼錯誤"; 13 "illegal_pwd_invalid" = "密碼錯誤";
14 "illegal_user_not_exist" = "郵箱格式不正確"; 14 "illegal_user_not_exist" = "郵箱格式不正確";
15 "invalid_email" = "請輸入正確的郵箱"; 15 "invalid_email" = "請輸入正確的郵箱";
16 "login_fail" = "登陸失敗"; 16 "login_fail" = "登陸失敗";
17 "signup_fail" = "註冊失敗"; 17 "signup_fail" = "註冊失敗";
18 "bind_fail" = "綁定失敗"; 18 "bind_fail" = "綁定失敗";
19 "GumptechLogin" = "甘普登錄"; 19 "GumptechLogin" = "甘普登錄";
20 "switch" = "切換賬號"; 20 "switch" = "切換賬號";
21 "change_password" = "修改密碼"; 21 "change_password" = "修改密碼";
22 "current_password" = "當前密碼"; 22 "current_password" = "當前密碼";
23 "change_password_notice" = "重置密碼時可不填寫當前密碼"; 23 "change_password_notice" = "重置密碼時可不填寫當前密碼";
24 "new_password" = "新密碼"; 24 "new_password" = "新密碼";
25 "Reset" = "忘記密碼點此重置"; 25 "Reset" = "忘記密碼點此重置";
26 "Confirm" = "確定"; 26 "Confirm" = "確定";
27 "Succeed" = "修改成功"; 27 "Succeed" = "修改成功";
28 "reset_fail" = "修改失败,請與客服聯系"; 28 "reset_fail" = "修改失败,請與客服聯系";
29 "reset_success" = "驗證郵件已發送,請按照郵件提示進行重置"; 29 "reset_success" = "驗證郵件已發送,請按照郵件提示進行重置";
30 "other_login_style" = "其他登錄方式"; 30 "other_login_style" = "其他登錄方式";
31 "account_pwd_invalid" = "帳號或密碼不能為空"; 31 "account_pwd_invalid" = "帳號或密碼不能為空";
32 "new_old_password_diff" = "密碼不一致"; 32 "new_old_password_diff" = "密碼不一致";
33 "Confirm_password" = "確認密碼"; 33 "Confirm_password" = "確認密碼";
34 "forget_change_password" = "修改/忘記密碼"; 34 "forget_change_password" = "修改/忘記密碼";
35 "input_new_pwd" = "請輸入新密碼"; 35 "input_new_pwd" = "請輸入新密碼";
36 "back" = "返回"; 36 "back" = "返回";
37 "play_btn_notice" = "您登錄了遊客帳戶。為了您的帳號安全,避免數據丟失,請點擊註冊帳號完成註冊。遊客信息將自動轉移至新帳號。";
38 "Notice" = "提示";
39 "Continue" = "继续登录";
40 "Log_in" = "注册账号";
37 41