Commit 51fd2d6b45a2508073e3dfe6c94bddbe9e46f9c5
1 parent
6e191f658b
Exists in
master
and in
1 other branch
删除bluepay支付
Showing 83 changed files with 4 additions and 948 deletions Inline Diff
- IOSDocument.md
- ios/BlueMobile.bundle/Blue.ref
- ios/BlueMobile.bundle/CashCard~ipad.nib/objects-8.0+.nib
- ios/BlueMobile.bundle/CashCard~ipad.nib/runtime.nib
- ios/BlueMobile.bundle/CashCard~iphone.nib/objects-8.0+.nib
- ios/BlueMobile.bundle/CashCard~iphone.nib/runtime.nib
- ios/BlueMobile.bundle/DialogView~ipad.nib/objects-8.0+.nib
- ios/BlueMobile.bundle/DialogView~ipad.nib/runtime.nib
- ios/BlueMobile.bundle/DialogView~iphone.nib/objects-8.0+.nib
- ios/BlueMobile.bundle/DialogView~iphone.nib/runtime.nib
- ios/BlueMobile.bundle/OPTView~ipad.nib/objects-8.0+.nib
- ios/BlueMobile.bundle/OPTView~ipad.nib/runtime.nib
- ios/BlueMobile.bundle/OPTView~iphone.nib/objects-8.0+.nib
- ios/BlueMobile.bundle/OPTView~iphone.nib/runtime.nib
- ios/BlueMobile.bundle/OfflineView~ipad.nib/objects-8.0+.nib
- ios/BlueMobile.bundle/OfflineView~ipad.nib/runtime.nib
- ios/BlueMobile.bundle/OfflineView~iphone.nib/objects-8.0+.nib
- ios/BlueMobile.bundle/OfflineView~iphone.nib/runtime.nib
- ios/BlueMobile.bundle/PMent~iphone.nib/objects-8.0+.nib
- ios/BlueMobile.bundle/PMent~iphone.nib/runtime.nib
- ios/BlueMobile.bundle/PircesListView~ipad.nib/objects-8.0+.nib
- ios/BlueMobile.bundle/PircesListView~ipad.nib/runtime.nib
- ios/BlueMobile.bundle/PircesListView~iphone.nib/objects-8.0+.nib
- ios/BlueMobile.bundle/PircesListView~iphone.nib/runtime.nib
- ios/BlueMobile.bundle/PkgInfo
- ios/BlueMobile.bundle/PricesListView~ipad.nib/objects-8.0+.nib
- ios/BlueMobile.bundle/PricesListView~ipad.nib/runtime.nib
- ios/BlueMobile.bundle/PricesListView~iphone.nib/objects-8.0+.nib
- ios/BlueMobile.bundle/PricesListView~iphone.nib/runtime.nib
- ios/BlueMobile.bundle/bluep_logo.png
- ios/BlueMobile.bundle/bluep_logo_10001.png
- ios/BlueMobile.bundle/bluep_logo_10002.png
- ios/BlueMobile.bundle/bluep_logo_10003.png
- ios/BlueMobile.bundle/bluep_logo_10005.png
- ios/BlueMobile.bundle/bluep_logo_10006.png
- ios/BlueMobile.bundle/bluep_logo_10007.png
- ios/BlueMobile.bundle/bluep_logo_10008.png
- ios/BlueMobile.bundle/bluep_logo_10009.png
- ios/BlueMobile.bundle/bluep_logo_10010.png
- ios/BlueMobile.bundle/bluep_logo_10011.png
- ios/BlueMobile.bundle/bluep_logo_10017.png
- ios/BlueMobile.bundle/bluep_logo_10018.png
- ios/BlueMobile.bundle/bluep_logo_10019.png
- ios/BlueMobile.bundle/bluepay_logo_10001.png
- ios/BlueMobile.bundle/bluepay_logo_10002.png
- ios/BlueMobile.bundle/bluepay_logo_10003.png
- ios/BlueMobile.bundle/bluepay_logo_10005.png
- ios/BlueMobile.bundle/bluepay_logo_10006.png
- ios/BlueMobile.bundle/bluepay_logo_10007.png
- ios/BlueMobile.bundle/bluepay_logo_10009.png
- ios/BlueMobile.bundle/bluepay_logo_10010.png
- ios/BlueMobile.bundle/bluepay_logo_10011.png
- ios/BlueMobile.bundle/bluepay_logo_10017.png
- ios/BlueMobile.bundle/icon.png
- ios/BlueMobile.bundle/refresh.png
- ios/BlueMobile.bundle/refresh_down.png
- ios/CoreBlue.framework/CoreBlue
- ios/CoreBlue.framework/Headers/ASBlueMessage.h
- ios/CoreBlue.framework/Headers/Blue.h
- ios/CoreBlue.framework/Headers/Client.h
- ios/CoreBlue.framework/Headers/ClientHelper.h
- ios/CoreBlue.framework/Headers/CoreBlue.h
- ios/CoreBlue.framework/Headers/InitSDKProtocol.h
- ios/CoreBlue.framework/Headers/PDelegate.h
- ios/CoreBlue.framework/Headers/Protocol.h
- ios/CoreBlue.framework/Headers/PublisherCode.h
- ios/CoreBlue.framework/Headers/Thread.h
- ios/CoreBlue.framework/Headers/Trace.h
- ios/CoreBlue.framework/Info.plist
- ios/CoreBlue.framework/Modules/module.modulemap
- ios/CoreBlue.framework/PrivateHeaders/UILoadingButton.h
- ios/CoreBlue.framework/PrivateHeaders/UIOptToolsView.h
- ios/CoreBlue.framework/PrivateHeaders/UIToast.h
- ios/CoreBlue.framework/_CodeSignature/CodeDirectory
- ios/CoreBlue.framework/_CodeSignature/CodeRequirements
- ios/CoreBlue.framework/_CodeSignature/CodeResources
- ios/CoreBlue.framework/_CodeSignature/CodeSignature
- ios/GameSDK.framework/Versions/A/GameSDK
- ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
- ios/GameSDK.zip
- ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.pbxproj
- ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
- ios/GameSDKDemo/letsgameDemo/LSGAppDelegate.m
IOSDocument.md
1 | # Gump IOS SDK使用文档 | 1 | # Gump IOS SDK使用文档 |
2 | 2 | ||
3 | 3 | ||
4 | 接入手册 | 4 | 接入手册 |
5 | V 3.4.7 | 5 | V 3.4.8 |
6 | 2017年6月9日 | 6 | 2017年6月13日 |
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 | + 以下为可选,若接入bluePay第三方支付方式需要添加一下的framework和bundle,其中CoreBuePay.framework直接引入工程,之后再依次引入CoreTelephony.framework、MessageUI.framework、SystemConfiguration.framework,最后将BlueMobile.bundle拖入项目中 | ||
18 | 17 | ||
19 | 18 | ||
20 | ### 2、引入头文件,设置build setting | 19 | ### 2、引入头文件,设置build setting |
21 | 需要使用头文件有LetsGameAPI.h和VKBridge.h,其中VKBridge.h为接入vk时使用,不接入vk可忽略。 | 20 | 需要使用头文件有LetsGameAPI.h和VKBridge.h,其中VKBridge.h为接入vk时使用,不接入vk可忽略。 |
22 | 因sdk内使用了category,需要设置other linker flag为 -ObjC | 21 | 因sdk内使用了category,需要设置other linker flag为 -ObjC |
23 | 22 | ||
24 | 23 | ||
25 | ### 3、增加必要配置 | 24 | ### 3、增加必要配置 |
26 | 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回: | 25 | 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回: |
27 | 26 | ||
28 | return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; | 27 | return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; |
29 | 28 | ||
30 | 29 | ||
31 | 2)配置URL-schema(vk专用,不接入vk可忽略) | 30 | 2)配置URL-schema(vk专用,不接入vk可忽略) |
32 | 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. | 31 | 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 |  | 32 |  |
34 | Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifier to vk+APP_ID | 33 | Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifier to vk+APP_ID |
35 |  | 34 |  |
36 | 35 | ||
37 | 3)配置plist和scheme(BluePay的linePay使用,不接入BluePay的LinePay可忽略) | ||
38 | |||
39 | plist部分: | ||
40 | <key>LSApplicationQueriesSchemes</key> | ||
41 | <array> | ||
42 | <string>line</string> | ||
43 | </array> | ||
44 | scheme部分: | ||
45 | <key>CFBundleURLTypes</key> | ||
46 | <array> | ||
47 | <dict> | ||
48 | <key>CFBundleTypeRole</key> | ||
49 | <string>None</string> | ||
50 | <key>CFBundleURLName</key> | ||
51 | <string>com.gump.sdk</string> | ||
52 | <key>CFBundleURLSchemes</key> | ||
53 | <array> | ||
54 | <string> gump+游戏的appId </string> | ||
55 | </array> | ||
56 | </dict> | ||
57 | </array> | ||
58 | ### 4、在工程里添加SDK登录代码 | 36 | ### 4、在工程里添加SDK登录代码 |
59 | 37 | ||
60 | [LetsGameAPI instance].appId = @"100"; // 设置appId | 38 | [LetsGameAPI instance].appId = @"100"; // 设置appId |
61 | [LetsGameAPI instance].appKey = @"100"; // 设置appKey | 39 | [LetsGameAPI instance].appKey = @"100"; // 设置appKey |
62 | 40 | ||
63 | //启用vk的代码,需要填入vk appId,若不接入vk,可以忽略 | 41 | //启用vk的代码,需要填入vk appId,若不接入vk,可以忽略 |
64 | //VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; | 42 | //VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; |
65 | //[LetsGameAPI instance].vkBridge = vkBridge; | 43 | //[LetsGameAPI instance].vkBridge = vkBridge; |
66 | 44 | ||
67 | //隐藏fb登录 | 45 | //隐藏fb登录 |
68 | [LetsGameAPI disableFB:YES]; | 46 | [LetsGameAPI disableFB:YES]; |
69 | //隐藏Google登录 | 47 | //隐藏Google登录 |
70 | [LetsGameAPI disableGoogle:YES]; | 48 | [LetsGameAPI disableGoogle:YES]; |
71 | //隐藏gumptech的logo | 49 | //隐藏gumptech的logo |
72 | [LetsGameAPI hiddenLogo:YES]; | 50 | [LetsGameAPI hiddenLogo:YES]; |
73 | 51 | ||
74 | [[LetsGameAPI instance] showLoginView]; // 弹出登录页面 | 52 | [[LetsGameAPI instance] showLoginView]; // 弹出登录页面 |
75 | 53 | ||
76 | // 登录成功回调 | 54 | // 登录成功回调 |
77 | [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) { | 55 | [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) { |
78 | NSLog(@"%@", [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %d", userId, sessionKey, type]); | 56 | NSLog(@"%@", [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %d", userId, sessionKey, type]); |
79 | }; | 57 | }; |
80 | 58 | ||
81 | // 登录失败回调 | 59 | // 登录失败回调 |
82 | [LetsGameAPI instance].dismissBlock = ^() { | 60 | [LetsGameAPI instance].dismissBlock = ^() { |
83 | NSLog(@"dismiss without login"); | 61 | NSLog(@"dismiss without login"); |
84 | }; | 62 | }; |
85 | 63 | ||
86 | ### 5、登录注销 | 64 | ### 5、登录注销 |
87 | 注销接口只要设置过appId和appKey之后就不需要设置了,注销完成之后会回到登录界面。FB登录回到登录页面,Gump登录或者游客登录回到登录框。 | 65 | 注销接口只要设置过appId和appKey之后就不需要设置了,注销完成之后会回到登录界面。FB登录回到登录页面,Gump登录或者游客登录回到登录框。 |
88 | 66 | ||
89 | [LetsGameAPI instance].appId = @"100";//设置appId | 67 | [LetsGameAPI instance].appId = @"100";//设置appId |
90 | [LetsGameAPI instance].appKey = @"100";//设置appkey | 68 | [LetsGameAPI instance].appKey = @"100";//设置appkey |
91 | [[LetsGameAPI instance] logout]; //注销 | 69 | [[LetsGameAPI instance] logout]; //注销 |
92 | 70 | ||
93 | 71 | ||
94 | ### 6、第三方支付 | 72 | ### 6、第三方支付 |
95 | [LetsGameAPI instance].appId = @"10022"; | 73 | [LetsGameAPI instance].appId = @"10022"; |
96 | [LetsGameAPI instance].appKey = @"f899139df5e1059396431415e770c6dd"; | 74 | [LetsGameAPI instance].appKey = @"f899139df5e1059396431415e770c6dd"; |
97 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | 75 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; |
98 | [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数 | 76 | [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数 |
99 | [payInfo setValue:@"10010" forKey:@"roleId"];//用户角色id | 77 | [payInfo setValue:@"10010" forKey:@"roleId"];//用户角色id |
100 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id | 78 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id |
101 | [payInfo setValue:@"10" forKey:@"amount"];//金额 | 79 | [payInfo setValue:@"10" forKey:@"amount"];//金额 |
102 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 | 80 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 |
103 | [payInfo setValue:@"元宝" forKey:@"product"];//物品信息 | 81 | [payInfo setValue:@"元宝" forKey:@"product"];//物品信息 |
104 | [payInfo setValue:self.sessionKey forKey:@"sessionKey"];//登录成功的sessionKey | 82 | [payInfo setValue:self.sessionKey forKey:@"sessionKey"];//登录成功的sessionKey |
105 | [[LetsGameAPI instance] pay:payInfo handleCallBack:^{ | 83 | [[LetsGameAPI instance] pay:payInfo handleCallBack:^{ |
106 | //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调 | 84 | //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调 |
107 | NSLog(@"第三方支付完成"); | 85 | NSLog(@"第三方支付完成"); |
108 | }]]; | 86 | }]]; |
109 | 87 | ||
110 | ### 7、IAP支付 | 88 | ### 7、IAP支付 |
111 | 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 | 89 | 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 |
112 | 90 | ||
113 | [[LetsGameAPI instance] registeIapObserver]; | 91 | [[LetsGameAPI instance] registeIapObserver]; |
114 | 具体调用iap支付的方法如下: | 92 | 具体调用iap支付的方法如下: |
115 | 93 | ||
116 | [LetsGameAPI instance].appId = @"10022"; | 94 | [LetsGameAPI instance].appId = @"10022"; |
117 | [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; | 95 | [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; |
118 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | 96 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; |
119 | [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id | 97 | [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id |
120 | [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id | 98 | [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id |
121 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计 | 99 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计 |
122 | [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准 | 100 | [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准 |
123 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号 | 101 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号 |
124 | [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId | 102 | [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId |
125 | [[LetsGameAPI instance] iap:payInfo forUser:@"" succCallback:^(NSString *orderId) { | 103 | [[LetsGameAPI instance] iap:payInfo forUser:@"" succCallback:^(NSString *orderId) { |
126 | //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 | 104 | //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 |
127 | //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 | 105 | //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 |
128 | NSLog(@"IAP completed orderId of Gumptech:%@",orderId); | 106 | NSLog(@"IAP completed orderId of Gumptech:%@",orderId); |
129 | } failCallback:^(NSString *orderId) { | 107 | } failCallback:^(NSString *orderId) { |
130 | //支付失败 | 108 | //支付失败 |
131 | NSLog(@"IAP file orderId of Gumptech:%@",orderId); | 109 | NSLog(@"IAP file orderId of Gumptech:%@",orderId); |
132 | }]; | 110 | }]; |
133 | ### 8、token的获取 | 111 | ### 8、token的获取 |
134 | FB登录之后会产生token并自动登录,需要如果需要token的话,需要自己调用接口获取。 | 112 | FB登录之后会产生token并自动登录,需要如果需要token的话,需要自己调用接口获取。 |
135 | 113 | ||
136 | //tokenString:token字符串 | 114 | //tokenString:token字符串 |
137 | //refreshTime:refreshTime token最后刷新的时间,即获取的token的时间 | 115 | //refreshTime:refreshTime token最后刷新的时间,即获取的token的时间 |
138 | //expirationTime:expirationTime token最后的有效时间 | 116 | //expirationTime:expirationTime token最后的有效时间 |
139 | [[LetsGameAPI instance] obtainAccessTokenSuccess:^(NSString *tokenString, NSString *refreshTime, NSString *expirationTime) { | 117 | [[LetsGameAPI instance] obtainAccessTokenSuccess:^(NSString *tokenString, NSString *refreshTime, NSString *expirationTime) { |
140 | NSLog(@"tokenString %@, refreshTime %@, expirationTime %@", tokenString, refreshTime, expirationTime); | 118 | NSLog(@"tokenString %@, refreshTime %@, expirationTime %@", tokenString, refreshTime, expirationTime); |
141 | } failure:^(NSString *errorString) { | 119 | } failure:^(NSString *errorString) { |
142 | NSLog(@"get token faile"); | 120 | NSLog(@"get token faile"); |
143 | }]; | 121 | }]; |
144 | 122 | ||
145 | 123 | ||
146 | ### 9、第三方支付版本 | 124 | ### 9、第三方支付版本 |
147 | 第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为带gump币版本,如果使用不带gump币的版本如下设置: | 125 | 第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为带gump币版本,如果使用不带gump币的版本如下设置: |
148 | 126 | ||
149 | 需要在 application:didFinishLaunchingWithOptions方法中添加: | 127 | 需要在 application:didFinishLaunchingWithOptions方法中添加: |
150 | 128 | ||
151 | [[LetsGameAPI instance] decideWebPayVersion:1] | 129 | [[LetsGameAPI instance] decideWebPayVersion:1] |
152 | 130 | ||
153 | 131 | ||
154 | ### 10、关于侵权还是侵权的接口显示 | 132 | ### 10、关于侵权还是侵权的接口显示 |
155 | 运营在后台配置此包名和版本在什么时候显示侵权内容还是不侵权内容,此接口调用需要在游戏才开始加载的时候调用,返回值是YES的时候显示侵权内容,在NO的时候显示不侵权内容。 | 133 | 运营在后台配置此包名和版本在什么时候显示侵权内容还是不侵权内容,此接口调用需要在游戏才开始加载的时候调用,返回值是YES的时候显示侵权内容,在NO的时候显示不侵权内容。 |
156 | 134 | ||
157 | 注意:关于运营配置的游戏的版本号,我们默认取的是Bulid版本号的值,请注意。 | 135 | 注意:关于运营配置的游戏的版本号,我们默认取的是Bulid版本号的值,请注意。 |
158 | 136 | ||
159 | [[LetsGameAPI instance] gameObtainSafeSetInfoWithAppId:@"10056" ChannelId:@"1000" handleCallBack:^(BOOL resultStatus) { | 137 | [[LetsGameAPI instance] gameObtainSafeSetInfoWithAppId:@"10056" ChannelId:@"1000" handleCallBack:^(BOOL resultStatus) { |
160 | if (resultStatus) { | 138 | if (resultStatus) { |
161 | NSLog(@"YES 侵权"); | 139 | NSLog(@"YES 侵权"); |
162 | }else{ | 140 | }else{ |
163 | NSLog(@"NO 不侵权"); | 141 | NSLog(@"NO 不侵权"); |
164 | } | 142 | } |
165 | }]; | 143 | }]; |
166 | 144 | ||
167 | 145 | ||
168 | 146 |
ios/BlueMobile.bundle/Blue.ref
1 | File was deleted | ||
2 | <resources> | ||
3 | <lang value="th">en</lang> | ||
4 | <ek value="ocearStarPay">2_589B573643EED41D1D213AE37C706BAB</ek> | ||
5 | <productId value="100">56</productId> | ||
6 | <promotionId value="1000">1000</promotionId> | ||
7 | |||
8 | <!--for sms 默认的价格列表该列表的value是*100的,500对应5THB 用于 <price value="1000">15</price> value 的值是价格点,比如:500 == 5THB,对应15个金币--> | ||
9 | <prices> | ||
10 | <price value="500" default="true">10PKR</price> | ||
11 | <price value="5000">15</price> | ||
12 | <price value="1000">20</price> | ||
13 | <price value="1900">30</price> | ||
14 | <price value="2000">50</price> | ||
15 | <price value="25000">500</price> | ||
16 | </prices> | ||
17 | |||
18 | <!-- price's list for bank。 200 thb。the min price.200 thb 可以购买2000金币 --> | ||
19 | <prices-bankcharge> | ||
20 | <price value="10000">2000 Golden</price> | ||
21 | <price value="25000">2500 Golden</price> | ||
22 | <price value="30000">3000 Golden</price> | ||
23 | <price value="35000">3500 Golden</price> | ||
24 | <price value="40000">4000 Golden</price> | ||
25 | <price value="45000">4500 Golden</price> | ||
26 | </prices-bankcharge> | ||
27 | |||
28 | <!-- for line--> | ||
29 | <prices-line> | ||
30 | <price value="10000">2000</price> | ||
31 | <price value="25000">2500</price> | ||
32 | <price value="30000">3000</price> | ||
33 | <price value="35000">3500</price> | ||
34 | <price value="40000">4000</price> | ||
35 | <price value="45000">4500</price> | ||
36 | </prices-line> | ||
37 | <!-- 所有泰国的cashcard 的value值均 *100. 5000 对应50THB --> | ||
38 | <prices-truemoney> | ||
39 | <price value="5000">500</price> | ||
40 | <price value="9000">900</price> | ||
41 | <price value="15000">1500</price> | ||
42 | <price value="30000">3000</price> | ||
43 | <price value="50000">5000</price> | ||
44 | <price value="100000">10000</price> | ||
45 | </prices-truemoney> | ||
46 | <!-- 12call支持市面上所有的 50,100,300,500,1000泰铢面额。 --> | ||
47 | <prices-12call> | ||
48 | <price value="5000">500</price> | ||
49 | <price value="10000">1000</price> | ||
50 | <price value="30000">3000</price> | ||
51 | <price value="50000">5000</price> | ||
52 | <price value="100000">10000</price> | ||
53 | </prices-12call> | ||
54 | <!-- happy 60,100,200,300,500--> | ||
55 | <prices-happy> | ||
56 | <price value="6000">600</price> | ||
57 | <price value="10000">1000</price> | ||
58 | <price value="20000">2000</price> | ||
59 | <price value="30000">3000</price> | ||
60 | <price value="50000">5000</price> | ||
61 | </prices-happy> | ||
62 | |||
63 | <!-- viettel 10,000,20,000, 30,000, 50,000, 100,000, 200,000, 500,000--> | ||
64 | <prices-viettel> | ||
65 | <price value="10000">100</price> | ||
66 | <price value="20000">200</price> | ||
67 | <price value="30000">300</price> | ||
68 | <price value="50000">500</price> | ||
69 | <price value="100000">1000</price> | ||
70 | <price value="200000">2000</price> | ||
71 | <price value="500000">5000</price> | ||
72 | </prices-viettel> | ||
73 | <!-- mobifone 10,000,20,000, 30,000, 50,000, 100,000, 200,000, 500,000--> | ||
74 | <prices-mobifone> | ||
75 | <price value="10000">100</price> | ||
76 | <price value="20000">200</price> | ||
77 | <price value="30000">300</price> | ||
78 | <price value="50000">500</price> | ||
79 | <price value="100000">1000</price> | ||
80 | <price value="200000">2000</price> | ||
81 | <price value="500000">5000</price> | ||
82 | </prices-mobifone> | ||
83 | <!-- vinafone 10,000,20,000, 30,000, 50,000, 100,000, 200,000, 500,000--> | ||
84 | <prices-vinaphone> | ||
85 | <price value="10000">100</price> | ||
86 | <price value="20000">200</price> | ||
87 | <price value="30000">300</price> | ||
88 | <price value="50000">500</price> | ||
89 | <price value="100000">1000</price> | ||
90 | <price value="200000">2000</price> | ||
91 | <price value="500000">5000</price> | ||
92 | </prices-vinaphone> | ||
93 | <!--VTC 10,000,20,000, 50,000, 100,000, 200,000, 30,0000, 500,000 --> | ||
94 | <prices-vtc> | ||
95 | <price value="10000">100</price> | ||
96 | <price value="20000">200</price> | ||
97 | <price value="50000">500</price> | ||
98 | <price value="100000">1000</price> | ||
99 | <price value="200000">2000</price> | ||
100 | <price value="300000">3000</price> | ||
101 | <price value="500000">5000</price> | ||
102 | </prices-vtc> | ||
103 | <!--telkomsel 5,000,10,000, 25,000, 50,000, 100,000, 250,0000, 500,000 --> | ||
104 | <prices-telkomsel> | ||
105 | <price value="5000">50</price> | ||
106 | <price value="10000">100</price> | ||
107 | <price value="25000">250</price> | ||
108 | <price value="100000">1000</price> | ||
109 | <price value="250000">2500</price> | ||
110 | <price value="500000">5000</price> | ||
111 | |||
112 | </prices-telkomsel> | ||
113 | |||
114 | <!--unipin 10,000,20,000, 50,000, 100,000, 200,000, 300,0000, 500,000, 2000,000 --> | ||
115 | <prices-unipin> | ||
116 | <price value="10000">10</price> | ||
117 | <price value="20000">20</price> | ||
118 | <price value="50000">50</price> | ||
119 | <price value="100000">100</price> | ||
120 | <price value="200000">200</price> | ||
121 | <price value="300000">300</price> | ||
122 | <price value="500000">500</price> | ||
123 | <price value="2000000">2000</price> | ||
124 | </prices-unipin> | ||
125 | |||
126 | |||
127 | <!--indomog 20,000, 50,000, 100,000, 200,000, 500,000 --> | ||
128 | <prices-indomog> | ||
129 | <price value="20000">200</price> | ||
130 | <price value="50000">500</price> | ||
131 | <price value="100000">1000</price> | ||
132 | <price value="200000">2000</price> | ||
133 | <price value="500000">5000</price> | ||
134 | </prices-indomog> | ||
135 | </resources> | ||
136 | 1 |
ios/BlueMobile.bundle/CashCard~ipad.nib/objects-8.0+.nib
No preview for this file type
ios/BlueMobile.bundle/CashCard~ipad.nib/runtime.nib
No preview for this file type
ios/BlueMobile.bundle/CashCard~iphone.nib/objects-8.0+.nib
No preview for this file type
ios/BlueMobile.bundle/CashCard~iphone.nib/runtime.nib
No preview for this file type
ios/BlueMobile.bundle/DialogView~ipad.nib/objects-8.0+.nib
No preview for this file type
ios/BlueMobile.bundle/DialogView~ipad.nib/runtime.nib
No preview for this file type
ios/BlueMobile.bundle/DialogView~iphone.nib/objects-8.0+.nib
No preview for this file type
ios/BlueMobile.bundle/DialogView~iphone.nib/runtime.nib
No preview for this file type
ios/BlueMobile.bundle/OPTView~ipad.nib/objects-8.0+.nib
No preview for this file type
ios/BlueMobile.bundle/OPTView~ipad.nib/runtime.nib
No preview for this file type
ios/BlueMobile.bundle/OPTView~iphone.nib/objects-8.0+.nib
No preview for this file type
ios/BlueMobile.bundle/OPTView~iphone.nib/runtime.nib
No preview for this file type
ios/BlueMobile.bundle/OfflineView~ipad.nib/objects-8.0+.nib
No preview for this file type
ios/BlueMobile.bundle/OfflineView~ipad.nib/runtime.nib
No preview for this file type
ios/BlueMobile.bundle/OfflineView~iphone.nib/objects-8.0+.nib
No preview for this file type
ios/BlueMobile.bundle/OfflineView~iphone.nib/runtime.nib
No preview for this file type
ios/BlueMobile.bundle/PMent~iphone.nib/objects-8.0+.nib
No preview for this file type
ios/BlueMobile.bundle/PMent~iphone.nib/runtime.nib
No preview for this file type
ios/BlueMobile.bundle/PircesListView~ipad.nib/objects-8.0+.nib
No preview for this file type
ios/BlueMobile.bundle/PircesListView~ipad.nib/runtime.nib
No preview for this file type
ios/BlueMobile.bundle/PircesListView~iphone.nib/objects-8.0+.nib
No preview for this file type
ios/BlueMobile.bundle/PircesListView~iphone.nib/runtime.nib
No preview for this file type
ios/BlueMobile.bundle/PkgInfo
1 | APPL???? | File was deleted |
ios/BlueMobile.bundle/PricesListView~ipad.nib/objects-8.0+.nib
No preview for this file type
ios/BlueMobile.bundle/PricesListView~ipad.nib/runtime.nib
No preview for this file type
ios/BlueMobile.bundle/PricesListView~iphone.nib/objects-8.0+.nib
No preview for this file type
ios/BlueMobile.bundle/PricesListView~iphone.nib/runtime.nib
No preview for this file type
ios/BlueMobile.bundle/bluep_logo.png
27.6 KB
ios/BlueMobile.bundle/bluep_logo_10001.png
5.15 KB
ios/BlueMobile.bundle/bluep_logo_10002.png
31 KB
ios/BlueMobile.bundle/bluep_logo_10003.png
4.95 KB
ios/BlueMobile.bundle/bluep_logo_10005.png
30.2 KB
ios/BlueMobile.bundle/bluep_logo_10006.png
30.3 KB
ios/BlueMobile.bundle/bluep_logo_10007.png
28 KB
ios/BlueMobile.bundle/bluep_logo_10008.png
8.92 KB
ios/BlueMobile.bundle/bluep_logo_10009.png
21 KB
ios/BlueMobile.bundle/bluep_logo_10010.png
94.4 KB
ios/BlueMobile.bundle/bluep_logo_10011.png
32.1 KB
ios/BlueMobile.bundle/bluep_logo_10017.png
42.4 KB
ios/BlueMobile.bundle/bluep_logo_10018.png
14.8 KB
ios/BlueMobile.bundle/bluep_logo_10019.png
20.7 KB
ios/BlueMobile.bundle/bluepay_logo_10001.png
6.08 KB
ios/BlueMobile.bundle/bluepay_logo_10002.png
31.7 KB
ios/BlueMobile.bundle/bluepay_logo_10003.png
18.8 KB
ios/BlueMobile.bundle/bluepay_logo_10005.png
24.6 KB
ios/BlueMobile.bundle/bluepay_logo_10006.png
22.9 KB
ios/BlueMobile.bundle/bluepay_logo_10007.png
22.7 KB
ios/BlueMobile.bundle/bluepay_logo_10009.png
17 KB
ios/BlueMobile.bundle/bluepay_logo_10010.png
27.9 KB
ios/BlueMobile.bundle/bluepay_logo_10011.png
28.1 KB
ios/BlueMobile.bundle/bluepay_logo_10017.png
15 KB
ios/BlueMobile.bundle/icon.png
21 KB
ios/BlueMobile.bundle/refresh.png
5.41 KB
ios/BlueMobile.bundle/refresh_down.png
3.36 KB
ios/CoreBlue.framework/CoreBlue
No preview for this file type
ios/CoreBlue.framework/Headers/ASBlueMessage.h
1 | // | File was deleted | |
2 | // BlueMessage.h | ||
3 | |||
4 | // | ||
5 | // Created by guojianmin on 16/1/13. | ||
6 | // Copyright © 2016年 alvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #ifndef BlueMessage_h | ||
10 | #define BlueMessage_h | ||
11 | |||
12 | |||
13 | #endif /* BlueMessage_h */ | ||
14 | |||
15 | #define TELCO_INDOSAT @"indosat" | ||
16 | #define TELCO_XL @"xl" | ||
17 | |||
18 | @interface BlueMessage : NSObject | ||
19 | { | ||
20 | NSInteger _code; | ||
21 | NSString* _desc; | ||
22 | NSString* _price; | ||
23 | NSString* _propsName; | ||
24 | NSString* _transactionId; | ||
25 | NSString* _pCode; | ||
26 | |||
27 | |||
28 | } | ||
29 | @property(nonatomic, retain) NSString* desc,*price,*propsName ,*transactionId,*pCode,*publisher,*telco; | ||
30 | @property(nonatomic) NSInteger code; | ||
31 | @end |
ios/CoreBlue.framework/Headers/Blue.h
1 | // | File was deleted | |
2 | // BluePay.h | ||
3 | // BluePay | ||
4 | // | ||
5 | // Created by guojianmin on 16/1/13. | ||
6 | // Copyright © 2016年 alvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #ifndef Blue_h | ||
10 | #define Blue_h | ||
11 | |||
12 | |||
13 | #import <UIKit/UIKit.h> | ||
14 | |||
15 | #endif /* Blue_h */ | ||
16 | |||
17 | |||
18 | enum result | ||
19 | { | ||
20 | RESULT_FAILED, | ||
21 | RESULT_SECCESS, | ||
22 | RESULT_CANCEL | ||
23 | }; | ||
24 | @interface Blue : NSObject | ||
25 | /*! | ||
26 | @param id delegate the callback of payment,your must implementation PayDelegate protocol | ||
27 | @param id Context the view controller of your view | ||
28 | @param NSString transactionId | ||
29 | @param NSString customerId | ||
30 | @param NSString currency | ||
31 | @param NSString price | ||
32 | @param NSInteger messageid | ||
33 | @param NSString propsName | ||
34 | @param BOOL isShowDialog | ||
35 | @return if return false ,payDelegate is nil,please implete PayDelegate. | ||
36 | */ | ||
37 | +(bool) byMessage:(id _Nonnull) delegate context:(UIViewController* _Nonnull)context transationId:(NSString*_Nonnull) transactionId currency:(NSString* _Nullable) currency price:(NSString*_Nonnull) price messageid:(NSUInteger) messageId prpsName:(NSString*_Nonnull) propsName isShowDialog :(BOOL) isShowDialog ; | ||
38 | /*! | ||
39 | @param delegate id, the callback of payment. | ||
40 | @param context controller of your view. | ||
41 | @param NSString customId, | ||
42 | @param NSString transactionId, | ||
43 | @param NSString propsName, | ||
44 | @param NSString publisher, | ||
45 | @param NSString cardNo, | ||
46 | @param NSString serialNo, | ||
47 | @param boolean isShowLoading | ||
48 | @return bool return false ,means that your delegate or contextis nil,please implementation PayDelegate | ||
49 | */ | ||
50 | +(bool)byCC:(id _Nonnull)delegate context:(UIViewController*_Nonnull) context transactionId:(NSString*_Nonnull) transactionId customerId:(NSString* _Nullable) cusId publisher:(NSString* _Nonnull) publisher prpsName:(NSString*_Nonnull) propsName | ||
51 | cNo:( NSString* _Nullable) cNo sNo:(NSString*_Nullable) sNo isShowDialog :(BOOL) isShowDialog; | ||
52 | //+(id) getInstance; | ||
53 | +(bool)byBK:(id _Nonnull)delegate ctx:(UIViewController*_Nonnull) context tId:(NSString*_Nonnull) transactionId currency:(NSString*_Nullable)currency price:(NSString* _Nonnull) price propsName:(NSString* _Nonnull)propsName isShowDialog:(BOOL)isShowDialog; | ||
54 | /*! | ||
55 | @description | ||
56 | @param delegate id, the callback of payment. | ||
57 | @param context controller of your view. | ||
58 | @param NSString customId, | ||
59 | @param NSString transactionId, | ||
60 | @param NSString propsName, | ||
61 | @param NSString publisher, PUBLISHER_OFFLINE,PUBLISHER_OFFLINE_ATM,PUBLISHER_OTC,if equals PUBLISHER_OFFLINE, the msisdn will never take effect,and will show up a dialog to enter phone number and select the payment channel. | ||
62 | @param NSString msisdn phone number ,can be null | ||
63 | @param boolean isShowLoading | ||
64 | @return bool return false ,means that your delegate or contextis nil,please implementation PayDelegate | ||
65 | */ | ||
66 | |||
67 | +(bool) byOffline:(id _Nonnull)delegate ctx:(UIViewController* _Nonnull)context tId:(NSString * _Nonnull)transactionId customerId:(NSString *_Nullable)cstId price:(NSString * _Nullable)price propsName:(NSString *_Nonnull)propsName publisher:(NSString*_Nonnull)publisher msisdn:(NSString* _Nullable)phone isShowDialog:(BOOL)isShowDialog; | ||
68 | /** | ||
69 | @param delegate (PayDelegate --> id) the protocol for callback. | ||
70 | @param contexxt (UIView*) the view which you call this interface. | ||
71 | @param transcactionId (NSString*) the transactionId for this transaction. | ||
72 | @param price (NSString *) the price you want to pay.the price must be 1:1 ,for example, pay for 1THB ,the price=@"1",of cause you can use the tarrif id replace the price.. | ||
73 | @param propsName (NSString*) the propsName. | ||
74 | @param publisher (NSString*) now that we just support PUBLISHER_LINE,if this param's value is other, will finish this payment. | ||
75 | @param scheme (NSString*) the scheme for the appcation where you want to go when this payment finished. | ||
76 | @param isShowDialog YES or NO. | ||
77 | @return bool true or false . if return false ,it means that delegate or context containt nil value. | ||
78 | */ | ||
79 | +(bool) byWL:(id _Nonnull)delegate context:(UIViewController* _Nonnull)context transationId:(NSString*_Nonnull) transactionId currency:(NSString*_Nullable)currency price:(NSString*_Nullable) price prpsName:(NSString* _Nonnull) propsName publisher:(NSString* _Nonnull)publisher schceme:(NSString* _Nonnull)scheme isShowDialog :(BOOL) isShowDialog ; | ||
80 | +(bool)byUI:(id _Nonnull)delegate context:(UIViewController* _Nonnull) ctx transationId:(NSString* _Nonnull) transactionId cumstomerId:(NSString* _Nullable)cid currency:(NSString*_Nullable)currency price:(NSString* _Nullable) price messageid:(NSUInteger) messageId prpsName:(NSString* _Nonnull) propsName schceme:(NSString*_Nullable)scheme isShowDialog :(BOOL) isShowDialog ; | ||
81 | +(void) queryTrans:(NSString*_Nonnull)transcactionId publisher:(NSString* _Nonnull)publisher num:(NSInteger) num isShow:(BOOL)isShow; | ||
82 | /** | ||
83 | *@decription configure the loading dialog , | ||
84 | @param BOOL if YES ,will show the loading dialog ,else will not. | ||
85 | */ | ||
86 | +(void)setShowCardLoading:(BOOL)isOrNot; | ||
87 | |||
88 | @end | ||
89 | //static BluePay* bluePay = nil; |
ios/CoreBlue.framework/Headers/Client.h
1 | // | File was deleted | |
2 | // Client.h | ||
3 | // BluePay | ||
4 | // | ||
5 | // Created by guojianmin on 16/1/9. | ||
6 | // Copyright © 2016年 alvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #ifndef Client_h | ||
10 | #define Client_h | ||
11 | //#import <Foundation/Foundation.h> | ||
12 | #import "InitSDKProtocol.h" | ||
13 | #endif /* Client_h */ | ||
14 | |||
15 | |||
16 | #define INIT_RESULT_SUCCESS 1 | ||
17 | #define INIT_RESULT_FAILED_KEY 0 | ||
18 | #define INIT_RESULT_FAILED_PARAMS -1 | ||
19 | #define INIT_RESULT_FAILED_KEY_PARAMS -2 | ||
20 | |||
21 | |||
22 | |||
23 | |||
24 | @interface Client : NSObject | ||
25 | { | ||
26 | id<InitSDKProtocal> _initDelegate; | ||
27 | } | ||
28 | @property (nonatomic,retain) id<InitSDKProtocal> initDelegate; | ||
29 | |||
30 | |||
31 | /*! | ||
32 | * @discription init the BluePay sdk, you must call this method at first. | ||
33 | * @param int productionId | ||
34 | * @param NSString promotionId | ||
35 | * @param NSString key | ||
36 | * @param NSString lan | ||
37 | * @return void | ||
38 | */ | ||
39 | -(void )initSDK:(int) productId promotion:(NSString*) promotionId key:(NSString *)key language:(NSString*) lan showLoading:(BOOL)showLoading; | ||
40 | /** | ||
41 | * @discription init sdk with BluePay.ref file. | ||
42 | * @param showLoading if true,will show a loding dialog. | ||
43 | */ | ||
44 | -(void) initSDK:(BOOL)showLoading; | ||
45 | |||
46 | /*! | ||
47 | * @return NSString * return the promotionId; | ||
48 | */ | ||
49 | +(NSString*) promotionId; | ||
50 | |||
51 | /*! | ||
52 | * @return int return the productId | ||
53 | */ | ||
54 | +(int) productId; | ||
55 | +(void) setProductId:(NSInteger) productId; | ||
56 | +(void)setPromotionId:(NSString*) promotionId; | ||
57 | |||
58 | +(NSString*) key; | ||
59 | +(void) setKey:(NSString*)key; | ||
60 | +(id)getInstance; | ||
61 | +(bool) isInit; | ||
62 | |||
63 | @end | ||
64 | |||
65 | 1 | // |
ios/CoreBlue.framework/Headers/ClientHelper.h
1 | // | File was deleted | |
2 | // ClientHelper.h | ||
3 | // BluePay | ||
4 | // | ||
5 | // Created by guojianmin on 16/1/25. | ||
6 | // Copyright © 2016年 alvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #ifndef ClientHelper_h | ||
10 | #define ClientHelper_h | ||
11 | |||
12 | #endif /* ClientHelper_h */ | ||
13 | |||
14 | @interface ClientHelper : NSObject | ||
15 | |||
16 | /*! | ||
17 | * @discription return the UUID from local.this uuid have stored by generateUUID function. | ||
18 | */ | ||
19 | +(NSString*)UUID; | ||
20 | /*! | ||
21 | *@discription return the tid by random. | ||
22 | *@param NSString* never will be null | ||
23 | * | ||
24 | */ | ||
25 | +(NSString*) generateTId; | ||
26 | |||
27 | /*! | ||
28 | *@discription generate uuid and store on local. | ||
29 | * | ||
30 | */ | ||
31 | |||
32 | +(void)generateUUID; | ||
33 | |||
34 | @end | ||
35 | 1 | // |
ios/CoreBlue.framework/Headers/CoreBlue.h
1 | // | File was deleted | |
2 | // CoreBlue.h | ||
3 | // CoreBlue | ||
4 | // | ||
5 | // Created by wangAlvin on 16/8/3. | ||
6 | // Copyright © 2016年 wangAlvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #import <UIKit/UIKit.h> | ||
10 | |||
11 | //! Project version number for CoreBlue. | ||
12 | FOUNDATION_EXPORT double CoreBlueVersionNumber; | ||
13 | |||
14 | //! Project version string for CoreBlue. | ||
15 | FOUNDATION_EXPORT const unsigned char CoreBlueVersionString[]; | ||
16 | |||
17 | // In this header, you should import all the public headers of your framework using statements like #import <CoreBlue/PublicHeader.h> | ||
18 | |||
19 | |||
20 | #import <CoreBlue/Client.h> | ||
21 | #import <CoreBlue/ClientHelper.h> | ||
22 | #import <CoreBlue/ASBlueMessage.h> | ||
23 | #import <CoreBlue/InitSDKProtocol.h> | ||
24 | #import <CoreBlue/PDelegate.h> | ||
25 | #import <CoreBlue/Blue.h> | ||
26 | #import <CoreBlue/PublisherCode.h> | ||
27 | #import <CoreBlue/Trace.h> | ||
28 | 1 | // |
ios/CoreBlue.framework/Headers/InitSDKProtocol.h
1 | // | File was deleted | |
2 | // InitProtocol.h | ||
3 | // BluePay | ||
4 | // | ||
5 | // Created by guojianmin on 16/1/9. | ||
6 | // Copyright © 2016年 alvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #ifndef InitSDKProtocol_h | ||
10 | #define InitSDKProtocol_h | ||
11 | #import <Foundation/Foundation.h> | ||
12 | #endif /* InitProtocol_h */ | ||
13 | |||
14 | |||
15 | @protocol InitSDKProtocal <NSObject> | ||
16 | @required | ||
17 | /*! | ||
18 | *@discription this functin must be impletation on the class which you want to init the BluePay SDK. this function is required .if finish init will call this function nomatter init failed or seccess. | ||
19 | * @param int result the result code | ||
20 | *@param NSString* msg the message of the result. | ||
21 | */ | ||
22 | -(void)complete:(int)code result:(NSString*) msg; | ||
23 | |||
24 | |||
25 | @required | ||
26 | |||
27 | @end | ||
28 | @interface InitResult : NSObject | ||
29 | |||
30 | enum RESULT | ||
31 | { | ||
32 | FAIL_PARAMETER = -1, | ||
33 | FAIL_KEY = -2, | ||
34 | FAIL = 0, | ||
35 | SUECCESS = 1 | ||
36 | }; | ||
37 | @end |
ios/CoreBlue.framework/Headers/PDelegate.h
1 | // | File was deleted | |
2 | // PayDelegate.h | ||
3 | // BluePay | ||
4 | // | ||
5 | // Created by guojianmin on 16/1/13. | ||
6 | // Copyright © 2016年 alvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #ifndef PDelegate_h | ||
10 | #define PDelegate_h | ||
11 | |||
12 | #import "ASBlueMessage.h" | ||
13 | |||
14 | #endif /* PayDelegate_h */ | ||
15 | |||
16 | |||
17 | #define RESULT_405 405 /* error in sdk inner*/ | ||
18 | #define RESULT_403 403 /*not init*/ | ||
19 | #define RESULT_407 407 /*send message error*/ | ||
20 | #define RESULT_603 603 /*user cancel payment*/ | ||
21 | |||
22 | @protocol PDelegate <NSObject> | ||
23 | |||
24 | /*! | ||
25 | *@discription the function which will be called after finish pay nomatter pay seccess or failed.Of course thie function is required, you must implementate on your class which you want to do the payment. | ||
26 | * @param code the request result code ,1 means seccess,-1 means failed. | ||
27 | * @param msg BlueMessage, the msg contains price ,response code and request message. | ||
28 | */ | ||
29 | @required | ||
30 | -(void) onComplete:(int) code message:(BlueMessage*) msg; | ||
31 | |||
32 | @end |
ios/CoreBlue.framework/Headers/Protocol.h
1 | // | File was deleted | |
2 | // Protocol.h | ||
3 | // BluePay | ||
4 | // define the protocol for callback | ||
5 | // Created by guojianmin on 16/1/9. | ||
6 | // Copyright © 2016年 alvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #ifndef Protocol_h | ||
10 | #define Protocol_h | ||
11 | #import <Foundation/Foundation.h> | ||
12 | |||
13 | #endif /* Protocol_h */ | ||
14 | |||
15 | @protocol Protocol <NSObject> | ||
16 | |||
17 | |||
18 | -(void) doTask:(NSMutableDictionary*)params; | ||
19 | @end |
ios/CoreBlue.framework/Headers/PublisherCode.h
1 | // | File was deleted | |
2 | // PublisherCode.h | ||
3 | // BluePay | ||
4 | // | ||
5 | // Created by guojianmin on 16/1/14. | ||
6 | // Copyright © 2016年 alvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #ifndef PublisherCode_h | ||
10 | #define PublisherCode_h | ||
11 | |||
12 | |||
13 | #endif /* PublisherCode_h */ | ||
14 | |||
15 | |||
16 | #define PUBLISHER_BLUECOIN @"10001" | ||
17 | |||
18 | /** 12Call支付 */ | ||
19 | #define PUBLISHER_12CALL @"10002" | ||
20 | /** TrueMoney支付 */ | ||
21 | #define PUBLISHER_TRUEMONEY @"10003" | ||
22 | |||
23 | |||
24 | #define PUBLISHER_MOBIFONE @"10005" | ||
25 | |||
26 | #define PUBLISHER_VINAPHONE @"10006" | ||
27 | |||
28 | #define PUBLISHER_VIETTEL @"10007" | ||
29 | |||
30 | #define PUBLISHER_UNIPIN @"10008" | ||
31 | |||
32 | #define PUBLISHER_HAPPY @"10009" | ||
33 | |||
34 | #define PUBLISHER_VTC @"10010" | ||
35 | #define PUBLISHER_HOPE @"10011" | ||
36 | #define PUBLISHER_LINE @"10012" | ||
37 | |||
38 | /** MESSAGE支付 */ | ||
39 | #define PUBLISHER_MESSAGE @"10013" | ||
40 | |||
41 | /** | ||
42 | * | ||
43 | * baidu 支付 | ||
44 | */ | ||
45 | #define PUBLISHER_DCB_INDOSAT @"10014" | ||
46 | #define PUBLISHER_DCB_SMARTFREN @"10015" | ||
47 | #define PUBLISHER_DCB @"10016" | ||
48 | #define PUBLISHER_INDOMOG @"10017" | ||
49 | |||
50 | /** bank支付 */ | ||
51 | #define PUBLISHER_BK @"10018" | ||
52 | #define PUBLISHER_LENGTH @(18) | ||
53 | |||
54 | #define PUBLISHER_OFFLINE @"10019" | ||
55 | #define PUBLISHER_OFFLINE_ATM @"10020" | ||
56 | #define PUBLISHER_OFFLINE_OTC @"10021" | ||
57 | 1 | // |
ios/CoreBlue.framework/Headers/Thread.h
1 | // | File was deleted | |
2 | // Thread.h | ||
3 | // BluePay | ||
4 | // | ||
5 | // Created by guojianmin on 16/1/9. | ||
6 | // Copyright © 2016年 alvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #ifndef Thread_h | ||
10 | |||
11 | #define Thread_h | ||
12 | |||
13 | #import <Foundation/Foundation.h> | ||
14 | #import "Protocol.h" | ||
15 | #endif /* Thread_h */ | ||
16 | |||
17 | |||
18 | @interface Thread : NSOperation | ||
19 | { | ||
20 | __unsafe_unretained id<Protocol > _threadProc; | ||
21 | NSMutableDictionary* _params; | ||
22 | |||
23 | } | ||
24 | @property(nonatomic,assign) id<Protocol> threadProc; | ||
25 | @property(nonatomic,copy) NSMutableDictionary * params; | ||
26 | /*! | ||
27 | * @discription 重写了init函数 | ||
28 | * @param aParams NSMutableDictionary* 参数表,往往是用于请求服务器的参数列表 | ||
29 | **/ | ||
30 | -(Thread*) init: (NSMutableDictionary*) aParams;; | ||
31 | @end |
ios/CoreBlue.framework/Headers/Trace.h
1 | // | File was deleted | |
2 | // Trace.h | ||
3 | // CoreBluePay | ||
4 | // | ||
5 | // Created by guojianmin on 16/2/24. | ||
6 | // Copyright © 2016年 alvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #ifndef Trace_h | ||
10 | #define Trace_h | ||
11 | |||
12 | |||
13 | #endif /* Trace_h */ | ||
14 | |||
15 | |||
16 | @interface Trace : NSObject | ||
17 | |||
18 | |||
19 | +(void) i:(NSString*) tag info:(NSString*) msg; | ||
20 | |||
21 | +(void) e:(NSString*) tag info:(NSString*) msg; | ||
22 | +(void) on; | ||
23 | +(void) off; | ||
24 | @end |
ios/CoreBlue.framework/Info.plist
No preview for this file type
ios/CoreBlue.framework/Modules/module.modulemap
1 | framework module CoreBlue { | File was deleted | |
2 | umbrella header "CoreBlue.h" | ||
3 | |||
4 | export * | ||
5 | module * { export * } | ||
6 | } | ||
7 | 1 | framework module CoreBlue { |
ios/CoreBlue.framework/PrivateHeaders/UILoadingButton.h
1 | // | File was deleted | |
2 | // UILoadingButton.h | ||
3 | // Blue | ||
4 | // | ||
5 | // Created by wangAlvin on 16/8/26. | ||
6 | // Copyright © 2016年 wangAlvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #ifndef UILoadingButton_h | ||
10 | #define UILoadingButton_h | ||
11 | #import <UIKit/UIKit.h> | ||
12 | #import <UIKit/UIKitDefines.h> | ||
13 | #endif /* UILoadingButton_h */ | ||
14 | |||
15 | //typedef NS_OPTIONS(NSUInteger, UILBControlState) { | ||
16 | // UILBControlStateNormal = 0, | ||
17 | // UILBControlStateHighlighted = 1 << 0, // used when UIControl isHighlighted is set | ||
18 | // UILBControlStateDisabled = 1 << 1, | ||
19 | // UILBControlStateSelected = 1 << 2, // flag usable by app (see below) | ||
20 | // UILBControlStateFocused NS_ENUM_AVAILABLE_IOS(9_0) = 1 << 3, // Applicable only when the screen supports focus | ||
21 | // UILBControlStateApplication = 0x00FF0000, // additional flags available for application use | ||
22 | // UILBControlStateReserved = 0xFF000000, // flags reserved for internal framework use | ||
23 | // UILBControlStateLoading = 1<<4, | ||
24 | // UILBControlStateStopLoading = 1<< 6 | ||
25 | // | ||
26 | //}; | ||
27 | |||
28 | @interface UILoadingButton : UIButton | ||
29 | |||
30 | //-(void) setTitle:(NSString *)title forState:(UILBControlState)state; | ||
31 | |||
32 | -(void)setIndicatorHidden:(BOOL)hidden; | ||
33 | -(void)startLoading:(void (^)()) handler; | ||
34 | -(void)stopLoading:(void (^)()) handler; | ||
35 | @end |
ios/CoreBlue.framework/PrivateHeaders/UIOptToolsView.h
1 | // | File was deleted | |
2 | // UIOptToolsView.h | ||
3 | // Blue | ||
4 | // | ||
5 | // Created by wangAlvin on 16/8/25. | ||
6 | // Copyright © 2016年 wangAlvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #ifndef UIOptToolsView_h | ||
10 | #define UIOptToolsView_h | ||
11 | #import <UIKit/UIKit.h> | ||
12 | |||
13 | #endif /* UIOptToolsView_h */ | ||
14 | |||
15 | |||
16 | typedef void (^ verify)(NSString* ) ; | ||
17 | |||
18 | @interface UIOptToolsView : UIViewController | ||
19 | |||
20 | |||
21 | -(id)initWithBlock:(verify )handler; | ||
22 | -(void)show:(id) target verifyAction:(_Nonnull SEL) action; | ||
23 | @end |
ios/CoreBlue.framework/PrivateHeaders/UIToast.h
1 | // | File was deleted | |
2 | // UIToast.h | ||
3 | // Blue | ||
4 | // | ||
5 | // Created by wangAlvin on 16/8/23. | ||
6 | // Copyright © 2016年 wangAlvin. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #ifndef UIToast_h | ||
10 | #define UIToast_h | ||
11 | #import <UIKit/UIKit.h> | ||
12 | |||
13 | #endif /* UIToast_h */ | ||
14 | |||
15 | |||
16 | #define TOAST_SHOW_LONG 0 | ||
17 | #define TOAST_SHOW_SHORT 1 | ||
18 | |||
19 | @interface UIToast : UILabel | ||
20 | |||
21 | -(id)initWithText:(NSString*)text; | ||
22 | |||
23 | -(void)dismiss; | ||
24 | |||
25 | -(void)show:(NSInteger) shortOrLong; | ||
26 | |||
27 | +(void)show:(NSString*) text howLong:(NSInteger) showtime; | ||
28 | |||
29 | @end | ||
30 | |||
31 | 1 | // |
ios/CoreBlue.framework/_CodeSignature/CodeDirectory
No preview for this file type
ios/CoreBlue.framework/_CodeSignature/CodeRequirements
No preview for this file type
ios/CoreBlue.framework/_CodeSignature/CodeResources
1 | <?xml version="1.0" encoding="UTF-8"?> | File was deleted | |
2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
3 | <plist version="1.0"> | ||
4 | <dict> | ||
5 | <key>files</key> | ||
6 | <dict> | ||
7 | <key>Headers/ASBlueMessage.h</key> | ||
8 | <data> | ||
9 | lGOZqEvwgYZZoaR03cJod+Gpvno= | ||
10 | </data> | ||
11 | <key>Headers/Blue.h</key> | ||
12 | <data> | ||
13 | fX01vOJrPphg4K9l+QokRPGD42g= | ||
14 | </data> | ||
15 | <key>Headers/Client.h</key> | ||
16 | <data> | ||
17 | 5pTBxXKrsTii/tEQYOADYouNZOo= | ||
18 | </data> | ||
19 | <key>Headers/ClientHelper.h</key> | ||
20 | <data> | ||
21 | FvHKK8rno8AJMwHzL7m0ClnDfnU= | ||
22 | </data> | ||
23 | <key>Headers/CoreBlue.h</key> | ||
24 | <data> | ||
25 | siszpYrqOeAOHzWusz+fBS+agQ8= | ||
26 | </data> | ||
27 | <key>Headers/InitSDKProtocol.h</key> | ||
28 | <data> | ||
29 | 6sgdYVdvRphNbvDkol5nc6IcpiY= | ||
30 | </data> | ||
31 | <key>Headers/PDelegate.h</key> | ||
32 | <data> | ||
33 | vdhYDCPrkAAnJvkUfUcfa2QVEMI= | ||
34 | </data> | ||
35 | <key>Headers/Protocol.h</key> | ||
36 | <data> | ||
37 | 1xBLQLrUZxnqwBdA1xtsCftv1+U= | ||
38 | </data> | ||
39 | <key>Headers/PublisherCode.h</key> | ||
40 | <data> | ||
41 | kQkEQbhqvXmMi1YKEv7BDpg+nvw= | ||
42 | </data> | ||
43 | <key>Headers/Thread.h</key> | ||
44 | <data> | ||
45 | ET72v6JztXCucIi4Gi+gfUvPmnY= | ||
46 | </data> | ||
47 | <key>Headers/Trace.h</key> | ||
48 | <data> | ||
49 | 1u6JHY8AkxNbX9GvGaLVs3k3Stk= | ||
50 | </data> | ||
51 | <key>Info.plist</key> | ||
52 | <data> | ||
53 | zXK40TuMk86dQt1PSup/ugCCWJw= | ||
54 | </data> | ||
55 | <key>Modules/module.modulemap</key> | ||
56 | <data> | ||
57 | wQWW/+ZqXesq4/4qG8NjcayKsdI= | ||
58 | </data> | ||
59 | <key>PrivateHeaders/UILoadingButton.h</key> | ||
60 | <data> | ||
61 | Edpg44GeRNByFEiCWI94kRBrg24= | ||
62 | </data> | ||
63 | <key>PrivateHeaders/UIOptToolsView.h</key> | ||
64 | <data> | ||
65 | WD2ty0UMmaNsUlPTQj+duHEjVuo= | ||
66 | </data> | ||
67 | <key>PrivateHeaders/UIToast.h</key> | ||
68 | <data> | ||
69 | vuDss5RUbINCVIawUMVfD59P8uQ= | ||
70 | </data> | ||
71 | </dict> | ||
72 | <key>files2</key> | ||
73 | <dict> | ||
74 | <key>Headers/ASBlueMessage.h</key> | ||
75 | <data> | ||
76 | lGOZqEvwgYZZoaR03cJod+Gpvno= | ||
77 | </data> | ||
78 | <key>Headers/Blue.h</key> | ||
79 | <data> | ||
80 | fX01vOJrPphg4K9l+QokRPGD42g= | ||
81 | </data> | ||
82 | <key>Headers/Client.h</key> | ||
83 | <data> | ||
84 | 5pTBxXKrsTii/tEQYOADYouNZOo= | ||
85 | </data> | ||
86 | <key>Headers/ClientHelper.h</key> | ||
87 | <data> | ||
88 | FvHKK8rno8AJMwHzL7m0ClnDfnU= | ||
89 | </data> | ||
90 | <key>Headers/CoreBlue.h</key> | ||
91 | <data> | ||
92 | siszpYrqOeAOHzWusz+fBS+agQ8= | ||
93 | </data> | ||
94 | <key>Headers/InitSDKProtocol.h</key> | ||
95 | <data> | ||
96 | 6sgdYVdvRphNbvDkol5nc6IcpiY= | ||
97 | </data> | ||
98 | <key>Headers/PDelegate.h</key> | ||
99 | <data> | ||
100 | vdhYDCPrkAAnJvkUfUcfa2QVEMI= | ||
101 | </data> | ||
102 | <key>Headers/Protocol.h</key> | ||
103 | <data> | ||
104 | 1xBLQLrUZxnqwBdA1xtsCftv1+U= | ||
105 | </data> | ||
106 | <key>Headers/PublisherCode.h</key> | ||
107 | <data> | ||
108 | kQkEQbhqvXmMi1YKEv7BDpg+nvw= | ||
109 | </data> | ||
110 | <key>Headers/Thread.h</key> | ||
111 | <data> | ||
112 | ET72v6JztXCucIi4Gi+gfUvPmnY= | ||
113 | </data> | ||
114 | <key>Headers/Trace.h</key> | ||
115 | <data> | ||
116 | 1u6JHY8AkxNbX9GvGaLVs3k3Stk= | ||
117 | </data> | ||
118 | <key>Modules/module.modulemap</key> | ||
119 | <data> | ||
120 | wQWW/+ZqXesq4/4qG8NjcayKsdI= | ||
121 | </data> | ||
122 | <key>PrivateHeaders/UILoadingButton.h</key> | ||
123 | <data> | ||
124 | Edpg44GeRNByFEiCWI94kRBrg24= | ||
125 | </data> | ||
126 | <key>PrivateHeaders/UIOptToolsView.h</key> | ||
127 | <data> | ||
128 | WD2ty0UMmaNsUlPTQj+duHEjVuo= | ||
129 | </data> | ||
130 | <key>PrivateHeaders/UIToast.h</key> | ||
131 | <data> | ||
132 | vuDss5RUbINCVIawUMVfD59P8uQ= | ||
133 | </data> | ||
134 | </dict> | ||
135 | <key>rules</key> | ||
136 | <dict> | ||
137 | <key>^</key> | ||
138 | <true/> | ||
139 | <key>^.*\.lproj/</key> | ||
140 | <dict> | ||
141 | <key>optional</key> | ||
142 | <true/> | ||
143 | <key>weight</key> | ||
144 | <real>1000</real> | ||
145 | </dict> | ||
146 | <key>^.*\.lproj/locversion.plist$</key> | ||
147 | <dict> | ||
148 | <key>omit</key> | ||
149 | <true/> | ||
150 | <key>weight</key> | ||
151 | <real>1100</real> | ||
152 | </dict> | ||
153 | <key>^version.plist$</key> | ||
154 | <true/> | ||
155 | </dict> | ||
156 | <key>rules2</key> | ||
157 | <dict> | ||
158 | <key>.*\.dSYM($|/)</key> | ||
159 | <dict> | ||
160 | <key>weight</key> | ||
161 | <real>11</real> | ||
162 | </dict> | ||
163 | <key>^</key> | ||
164 | <dict> | ||
165 | <key>weight</key> | ||
166 | <real>20</real> | ||
167 | </dict> | ||
168 | <key>^(.*/)?\.DS_Store$</key> | ||
169 | <dict> | ||
170 | <key>omit</key> | ||
171 | <true/> | ||
172 | <key>weight</key> | ||
173 | <real>2000</real> | ||
174 | </dict> | ||
175 | <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key> | ||
176 | <dict> | ||
177 | <key>nested</key> | ||
178 | <true/> | ||
179 | <key>weight</key> | ||
180 | <real>10</real> | ||
181 | </dict> | ||
182 | <key>^.*</key> | ||
183 | <true/> | ||
184 | <key>^.*\.lproj/</key> | ||
185 | <dict> | ||
186 | <key>optional</key> | ||
187 | <true/> | ||
188 | <key>weight</key> | ||
189 | <real>1000</real> | ||
190 | </dict> | ||
191 | <key>^.*\.lproj/locversion.plist$</key> | ||
192 | <dict> | ||
193 | <key>omit</key> | ||
194 | <true/> | ||
195 | <key>weight</key> | ||
196 | <real>1100</real> | ||
197 | </dict> | ||
198 | <key>^Info\.plist$</key> | ||
199 | <dict> | ||
200 | <key>omit</key> | ||
201 | <true/> | ||
202 | <key>weight</key> | ||
203 | <real>20</real> | ||
204 | </dict> | ||
205 | <key>^PkgInfo$</key> | ||
206 | <dict> | ||
207 | <key>omit</key> | ||
208 | <true/> | ||
209 | <key>weight</key> | ||
210 | <real>20</real> | ||
211 | </dict> | ||
212 | <key>^[^/]+$</key> | ||
213 | <dict> | ||
214 | <key>nested</key> | ||
215 | <true/> | ||
216 | <key>weight</key> | ||
217 | <real>10</real> | ||
218 | </dict> | ||
219 | <key>^embedded\.provisionprofile$</key> | ||
220 | <dict> | ||
221 | <key>weight</key> | ||
222 | <real>20</real> | ||
223 | </dict> | ||
224 | <key>^version\.plist$</key> | ||
225 | <dict> | ||
226 | <key>weight</key> | ||
227 | <real>20</real> | ||
228 | </dict> | ||
229 | </dict> | ||
230 | </dict> | ||
231 | </plist> | ||
232 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
ios/CoreBlue.framework/_CodeSignature/CodeSignature
No preview for this file type
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 isDisableGoogle = NO; | 14 | static BOOL isDisableGoogle = NO; |
15 | 15 | ||
16 | static BOOL hiddenLogo = NO; | 16 | static BOOL hiddenLogo = NO; |
17 | 17 | ||
18 | static NSString *version = @"3.4.7"; | 18 | static NSString *version = @"3.4.8"; |
19 | 19 | ||
20 | @interface LetsGameAPI : NSObject<UIApplicationDelegate> | 20 | @interface LetsGameAPI : NSObject<UIApplicationDelegate> |
21 | 21 | ||
22 | @property (nonatomic, strong) NSString *appId; | 22 | @property (nonatomic, strong) NSString *appId; |
23 | @property (nonatomic, strong) NSString *appKey; | 23 | @property (nonatomic, strong) NSString *appKey; |
24 | @property (nonatomic, copy) LSGLoginSuccBlock succBlock; | 24 | @property (nonatomic, copy) LSGLoginSuccBlock succBlock; |
25 | @property (nonatomic, copy) LSGDismissBlock dismissBlock; | 25 | @property (nonatomic, copy) LSGDismissBlock dismissBlock; |
26 | @property (nonatomic, assign) int isDebug; | 26 | @property (nonatomic, assign) int isDebug; |
27 | @property (nonatomic, assign) int decideWebPay; | 27 | @property (nonatomic, assign) int decideWebPay; |
28 | @property (nonatomic,retain) id<VKBridgeProtocol> vkBridge; | 28 | @property (nonatomic,retain) id<VKBridgeProtocol> vkBridge; |
29 | //@property(nonatomic,strong) NSString *version; | 29 | //@property(nonatomic,strong) NSString *version; |
30 | 30 | ||
31 | + (instancetype)instance; | 31 | + (instancetype)instance; |
32 | 32 | ||
33 | -(NSString*)version; | 33 | -(NSString*)version; |
34 | 34 | ||
35 | - (void)showLoginView; | 35 | - (void)showLoginView; |
36 | - (void)showLoginViewInView:(UIView *)view; | 36 | - (void)showLoginViewInView:(UIView *)view; |
37 | 37 | ||
38 | +(void)disableFB:(BOOL)isDisable; | 38 | +(void)disableFB:(BOOL)isDisable; |
39 | +(void)disableGoogle:(BOOL)isDisable; | 39 | +(void)disableGoogle:(BOOL)isDisable; |
40 | +(BOOL)isFBDisable; | 40 | +(BOOL)isFBDisable; |
41 | +(BOOL)isVKEnable; | 41 | +(BOOL)isVKEnable; |
42 | +(BOOL)isGoogleDisable; | 42 | +(BOOL)isGoogleDisable; |
43 | +(void)hiddenLogo:(BOOL)isHidden; | 43 | +(void)hiddenLogo:(BOOL)isHidden; |
44 | +(BOOL)isHiddenLogo; | 44 | +(BOOL)isHiddenLogo; |
45 | 45 | ||
46 | - (void)logout; | 46 | - (void)logout; |
47 | 47 | ||
48 | - (void)hide; | 48 | - (void)hide; |
49 | 49 | ||
50 | - (BOOL)handleOpenURL:(NSURL *)url | 50 | - (BOOL)handleOpenURL:(NSURL *)url |
51 | sourceApplication:(NSString *)sourceApplication; | 51 | sourceApplication:(NSString *)sourceApplication; |
52 | 52 | ||
53 | -(void)pay:(NSDictionary*) payInfo handleCallBack:(void (^)()) payAccomplistCallback; | 53 | -(void)pay:(NSDictionary*) payInfo handleCallBack:(void (^)()) payAccomplistCallback; |
54 | 54 | ||
55 | //-(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid handleCallback:(void (^)(NSString* orderId)) callback; | 55 | //-(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid handleCallback:(void (^)(NSString* orderId)) callback; |
56 | 56 | ||
57 | -(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid succCallback:(void (^)(NSString* orderId)) succCallback failCallback:(void (^)(NSString* orderId)) failCallback; | 57 | -(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid succCallback:(void (^)(NSString* orderId)) succCallback failCallback:(void (^)(NSString* orderId)) failCallback; |
58 | 58 | ||
59 | -(void)registeIapObserver; | 59 | -(void)registeIapObserver; |
60 | 60 | ||
61 | -(void)decideIsDebug:(int)isDebug; | 61 | -(void)decideIsDebug:(int)isDebug; |
62 | 62 | ||
63 | -(void)decideWebPayVersion:(int)decideWebPay; | 63 | -(void)decideWebPayVersion:(int)decideWebPay; |
64 | 64 | ||
65 | -(void)obtainAccessTokenSuccess:(void (^)(NSString *tokenString, NSString *refreshTime, NSString *expirationTime))success | 65 | -(void)obtainAccessTokenSuccess:(void (^)(NSString *tokenString, NSString *refreshTime, NSString *expirationTime))success |
66 | failure:(void (^)(NSString *errorString))failure; | 66 | failure:(void (^)(NSString *errorString))failure; |
67 | 67 | ||
68 | //获取是否展示安全页面,YES展示侵权页面,NO展示非侵权页面 | 68 | //获取是否展示安全页面,YES展示侵权页面,NO展示非侵权页面 |
69 | -(void)gameObtainSafeSetInfoWithAppId:(NSString *)appId | 69 | -(void)gameObtainSafeSetInfoWithAppId:(NSString *)appId |
70 | ChannelId:(NSString *)channelId | 70 | ChannelId:(NSString *)channelId |
71 | handleCallBack:(void (^)(BOOL resultStatus))callBack; | 71 | handleCallBack:(void (^)(BOOL resultStatus))callBack; |
72 | @end | 72 | @end |
73 | 73 |
ios/GameSDK.zip
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 | 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */; }; | 16 | 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */; }; |
17 | 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752A5F491CDC8B3200C36131 /* GameSDK.framework */; }; | 17 | 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752A5F491CDC8B3200C36131 /* GameSDK.framework */; }; |
18 | 75B72C8F1DAA422000CFACFF /* CoreBlue.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75B72C8E1DAA422000CFACFF /* CoreBlue.framework */; }; | ||
19 | 75B72C911DAA422C00CFACFF /* MessageUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75B72C901DAA422C00CFACFF /* MessageUI.framework */; }; | ||
20 | 75B72C931DAA423500CFACFF /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75B72C921DAA423500CFACFF /* CoreTelephony.framework */; }; | ||
21 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B119303DC6005EF4AB /* Foundation.framework */; }; | 18 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B119303DC6005EF4AB /* Foundation.framework */; }; |
22 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B519303DC6005EF4AB /* UIKit.framework */; }; | 19 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B519303DC6005EF4AB /* UIKit.framework */; }; |
23 | 9934F1BE19303DC6005EF4AB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1BD19303DC6005EF4AB /* main.m */; }; | 20 | 9934F1BE19303DC6005EF4AB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1BD19303DC6005EF4AB /* main.m */; }; |
24 | 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */; }; | 21 | 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */; }; |
25 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9934F1C319303DC6005EF4AB /* Images.xcassets */; }; | 22 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9934F1C319303DC6005EF4AB /* Images.xcassets */; }; |
26 | 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F23919307153005EF4AB /* LSGMainViewController.m */; }; | 23 | 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F23919307153005EF4AB /* LSGMainViewController.m */; }; |
27 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523271930A42500F50D29 /* CFNetwork.framework */; }; | 24 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523271930A42500F50D29 /* CFNetwork.framework */; }; |
28 | 997523301930A50F00F50D29 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */; }; | ||
29 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523311930A52600F50D29 /* MobileCoreServices.framework */; }; | 25 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523311930A52600F50D29 /* MobileCoreServices.framework */; }; |
30 | /* End PBXBuildFile section */ | 26 | /* End PBXBuildFile section */ |
31 | 27 | ||
32 | /* Begin PBXContainerItemProxy section */ | 28 | /* Begin PBXContainerItemProxy section */ |
33 | 75F818A01EEAA3EE0088B62F /* PBXContainerItemProxy */ = { | 29 | 75F818A01EEAA3EE0088B62F /* PBXContainerItemProxy */ = { |
34 | isa = PBXContainerItemProxy; | 30 | isa = PBXContainerItemProxy; |
35 | containerPortal = 75F8189B1EEAA3EE0088B62F /* GameSDK.xcodeproj */; | 31 | containerPortal = 75F8189B1EEAA3EE0088B62F /* GameSDK.xcodeproj */; |
36 | proxyType = 2; | 32 | proxyType = 2; |
37 | remoteGlobalIDString = 99626194192D9649004FF2E3; | 33 | remoteGlobalIDString = 99626194192D9649004FF2E3; |
38 | remoteInfo = GameSDK; | 34 | remoteInfo = GameSDK; |
39 | }; | 35 | }; |
40 | /* End PBXContainerItemProxy section */ | 36 | /* End PBXContainerItemProxy section */ |
41 | 37 | ||
42 | /* Begin PBXFileReference section */ | 38 | /* Begin PBXFileReference section */ |
43 | 27019DCA1A208B1500DA560D /* Path.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Path.xcconfig; sourceTree = "<group>"; }; | 39 | 27019DCA1A208B1500DA560D /* Path.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Path.xcconfig; sourceTree = "<group>"; }; |
44 | 27019DCB1A208B1500DA560D /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Project.xcconfig; sourceTree = "<group>"; }; | 40 | 27019DCB1A208B1500DA560D /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Project.xcconfig; sourceTree = "<group>"; }; |
45 | 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>"; }; | 41 | 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>"; }; |
46 | 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>"; }; | 42 | 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>"; }; |
47 | 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; }; | 43 | 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; }; |
48 | 3309D97E1C4394C800534E33 /* VKSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKSdk.framework; path = letsgameDemo/VKSdk.framework; sourceTree = "<group>"; }; | 44 | 3309D97E1C4394C800534E33 /* VKSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKSdk.framework; path = letsgameDemo/VKSdk.framework; sourceTree = "<group>"; }; |
49 | 331262361C50B56800B1B435 /* VKBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKBridge.framework; path = ../VKBridge.framework; sourceTree = "<group>"; }; | 45 | 331262361C50B56800B1B435 /* VKBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKBridge.framework; path = ../VKBridge.framework; sourceTree = "<group>"; }; |
50 | 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = VKSdkResources.bundle; sourceTree = "<group>"; }; | 46 | 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = VKSdkResources.bundle; sourceTree = "<group>"; }; |
51 | 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = GameSDKResources.bundle; path = ../../GameSDKResources.bundle; sourceTree = "<group>"; }; | 47 | 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = GameSDKResources.bundle; path = ../../GameSDKResources.bundle; sourceTree = "<group>"; }; |
52 | 752A5F491CDC8B3200C36131 /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; }; | 48 | 752A5F491CDC8B3200C36131 /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; }; |
53 | 75B72C8E1DAA422000CFACFF /* CoreBlue.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreBlue.framework; path = ../CoreBlue.framework; sourceTree = "<group>"; }; | ||
54 | 75B72C901DAA422C00CFACFF /* MessageUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MessageUI.framework; path = System/Library/Frameworks/MessageUI.framework; sourceTree = SDKROOT; }; | ||
55 | 75B72C921DAA423500CFACFF /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; }; | ||
56 | 75F8189B1EEAA3EE0088B62F /* GameSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameSDK.xcodeproj; path = ../../../iosgamesdk/GameSDK/GameSDK.xcodeproj; sourceTree = "<group>"; }; | 49 | 75F8189B1EEAA3EE0088B62F /* GameSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameSDK.xcodeproj; path = ../../../iosgamesdk/GameSDK/GameSDK.xcodeproj; sourceTree = "<group>"; }; |
57 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GameSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; | 50 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GameSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
58 | 9934F1B119303DC6005EF4AB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; | 51 | 9934F1B119303DC6005EF4AB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; |
59 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; | 52 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; |
60 | 9934F1B519303DC6005EF4AB /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; | 53 | 9934F1B519303DC6005EF4AB /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; |
61 | 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "letsgameDemo-Info.plist"; sourceTree = "<group>"; }; | 54 | 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "letsgameDemo-Info.plist"; sourceTree = "<group>"; }; |
62 | 9934F1BD19303DC6005EF4AB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | 55 | 9934F1BD19303DC6005EF4AB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; |
63 | 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "GameSDKDemo-Prefix.pch"; sourceTree = "<group>"; }; | 56 | 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "GameSDKDemo-Prefix.pch"; sourceTree = "<group>"; }; |
64 | 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LSGAppDelegate.h; sourceTree = "<group>"; }; | 57 | 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LSGAppDelegate.h; sourceTree = "<group>"; }; |
65 | 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LSGAppDelegate.m; sourceTree = "<group>"; }; | 58 | 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LSGAppDelegate.m; sourceTree = "<group>"; }; |
66 | 9934F1C319303DC6005EF4AB /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; | 59 | 9934F1C319303DC6005EF4AB /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; |
67 | 9934F23819307153005EF4AB /* LSGMainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LSGMainViewController.h; sourceTree = "<group>"; }; | 60 | 9934F23819307153005EF4AB /* LSGMainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LSGMainViewController.h; sourceTree = "<group>"; }; |
68 | 9934F23919307153005EF4AB /* LSGMainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LSGMainViewController.m; sourceTree = "<group>"; }; | 61 | 9934F23919307153005EF4AB /* LSGMainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LSGMainViewController.m; sourceTree = "<group>"; }; |
69 | 997523271930A42500F50D29 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; | 62 | 997523271930A42500F50D29 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; |
70 | 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; | ||
71 | 997523311930A52600F50D29 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; | 63 | 997523311930A52600F50D29 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; |
72 | /* End PBXFileReference section */ | 64 | /* End PBXFileReference section */ |
73 | 65 | ||
74 | /* Begin PBXFrameworksBuildPhase section */ | 66 | /* Begin PBXFrameworksBuildPhase section */ |
75 | 9934F1AB19303DC6005EF4AB /* Frameworks */ = { | 67 | 9934F1AB19303DC6005EF4AB /* Frameworks */ = { |
76 | isa = PBXFrameworksBuildPhase; | 68 | isa = PBXFrameworksBuildPhase; |
77 | buildActionMask = 2147483647; | 69 | buildActionMask = 2147483647; |
78 | files = ( | 70 | files = ( |
79 | 997523301930A50F00F50D29 /* SystemConfiguration.framework in Frameworks */, | ||
80 | 75B72C931DAA423500CFACFF /* CoreTelephony.framework in Frameworks */, | ||
81 | 75B72C911DAA422C00CFACFF /* MessageUI.framework in Frameworks */, | ||
82 | 75B72C8F1DAA422000CFACFF /* CoreBlue.framework in Frameworks */, | ||
83 | 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */, | 71 | 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */, |
84 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */, | 72 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */, |
85 | 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */, | 73 | 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */, |
86 | 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */, | 74 | 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */, |
87 | 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */, | 75 | 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */, |
88 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */, | 76 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */, |
89 | 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */, | 77 | 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */, |
90 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */, | 78 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */, |
91 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */, | 79 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */, |
92 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */, | 80 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */, |
93 | ); | 81 | ); |
94 | runOnlyForDeploymentPostprocessing = 0; | 82 | runOnlyForDeploymentPostprocessing = 0; |
95 | }; | 83 | }; |
96 | /* End PBXFrameworksBuildPhase section */ | 84 | /* End PBXFrameworksBuildPhase section */ |
97 | 85 | ||
98 | /* Begin PBXGroup section */ | 86 | /* Begin PBXGroup section */ |
99 | 27019DC91A208B1500DA560D /* Configuration */ = { | 87 | 27019DC91A208B1500DA560D /* Configuration */ = { |
100 | isa = PBXGroup; | 88 | isa = PBXGroup; |
101 | children = ( | 89 | children = ( |
102 | 27019DCA1A208B1500DA560D /* Path.xcconfig */, | 90 | 27019DCA1A208B1500DA560D /* Path.xcconfig */, |
103 | 27019DCB1A208B1500DA560D /* Project.xcconfig */, | 91 | 27019DCB1A208B1500DA560D /* Project.xcconfig */, |
104 | ); | 92 | ); |
105 | path = Configuration; | 93 | path = Configuration; |
106 | sourceTree = "<group>"; | 94 | sourceTree = "<group>"; |
107 | }; | 95 | }; |
108 | 27019DCE1A208B2300DA560D /* Dependencies */ = { | 96 | 27019DCE1A208B2300DA560D /* Dependencies */ = { |
109 | isa = PBXGroup; | 97 | isa = PBXGroup; |
110 | children = ( | 98 | children = ( |
111 | 75F8189B1EEAA3EE0088B62F /* GameSDK.xcodeproj */, | 99 | 75F8189B1EEAA3EE0088B62F /* GameSDK.xcodeproj */, |
112 | ); | 100 | ); |
113 | name = Dependencies; | 101 | name = Dependencies; |
114 | sourceTree = "<group>"; | 102 | sourceTree = "<group>"; |
115 | }; | 103 | }; |
116 | 75F8189C1EEAA3EE0088B62F /* Products */ = { | 104 | 75F8189C1EEAA3EE0088B62F /* Products */ = { |
117 | isa = PBXGroup; | 105 | isa = PBXGroup; |
118 | children = ( | 106 | children = ( |
119 | 75F818A11EEAA3EE0088B62F /* libGameSDK.a */, | 107 | 75F818A11EEAA3EE0088B62F /* libGameSDK.a */, |
120 | ); | 108 | ); |
121 | name = Products; | 109 | name = Products; |
122 | sourceTree = "<group>"; | 110 | sourceTree = "<group>"; |
123 | }; | 111 | }; |
124 | 9934F1A519303DC6005EF4AB = { | 112 | 9934F1A519303DC6005EF4AB = { |
125 | isa = PBXGroup; | 113 | isa = PBXGroup; |
126 | children = ( | 114 | children = ( |
127 | 27019DC91A208B1500DA560D /* Configuration */, | 115 | 27019DC91A208B1500DA560D /* Configuration */, |
128 | 27019DCE1A208B2300DA560D /* Dependencies */, | 116 | 27019DCE1A208B2300DA560D /* Dependencies */, |
129 | 9934F1B719303DC6005EF4AB /* letsgameDemo */, | 117 | 9934F1B719303DC6005EF4AB /* letsgameDemo */, |
130 | 9934F1B019303DC6005EF4AB /* Frameworks */, | 118 | 9934F1B019303DC6005EF4AB /* Frameworks */, |
131 | 9934F1AF19303DC6005EF4AB /* Products */, | 119 | 9934F1AF19303DC6005EF4AB /* Products */, |
132 | ); | 120 | ); |
133 | sourceTree = "<group>"; | 121 | sourceTree = "<group>"; |
134 | }; | 122 | }; |
135 | 9934F1AF19303DC6005EF4AB /* Products */ = { | 123 | 9934F1AF19303DC6005EF4AB /* Products */ = { |
136 | isa = PBXGroup; | 124 | isa = PBXGroup; |
137 | children = ( | 125 | children = ( |
138 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */, | 126 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */, |
139 | ); | 127 | ); |
140 | name = Products; | 128 | name = Products; |
141 | sourceTree = "<group>"; | 129 | sourceTree = "<group>"; |
142 | }; | 130 | }; |
143 | 9934F1B019303DC6005EF4AB /* Frameworks */ = { | 131 | 9934F1B019303DC6005EF4AB /* Frameworks */ = { |
144 | isa = PBXGroup; | 132 | isa = PBXGroup; |
145 | children = ( | 133 | children = ( |
146 | 75B72C921DAA423500CFACFF /* CoreTelephony.framework */, | ||
147 | 75B72C901DAA422C00CFACFF /* MessageUI.framework */, | ||
148 | 75B72C8E1DAA422000CFACFF /* CoreBlue.framework */, | ||
149 | 752A5F491CDC8B3200C36131 /* GameSDK.framework */, | 134 | 752A5F491CDC8B3200C36131 /* GameSDK.framework */, |
150 | 331262361C50B56800B1B435 /* VKBridge.framework */, | 135 | 331262361C50B56800B1B435 /* VKBridge.framework */, |
151 | 3309D97E1C4394C800534E33 /* VKSdk.framework */, | 136 | 3309D97E1C4394C800534E33 /* VKSdk.framework */, |
152 | 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */, | 137 | 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */, |
153 | 3309D8541C312F6500534E33 /* QuartzCore.framework */, | 138 | 3309D8541C312F6500534E33 /* QuartzCore.framework */, |
154 | 3309D8521C312F5900534E33 /* StoreKit.framework */, | 139 | 3309D8521C312F5900534E33 /* StoreKit.framework */, |
155 | 997523311930A52600F50D29 /* MobileCoreServices.framework */, | 140 | 997523311930A52600F50D29 /* MobileCoreServices.framework */, |
156 | 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */, | ||
157 | 997523271930A42500F50D29 /* CFNetwork.framework */, | 141 | 997523271930A42500F50D29 /* CFNetwork.framework */, |
158 | 9934F1B119303DC6005EF4AB /* Foundation.framework */, | 142 | 9934F1B119303DC6005EF4AB /* Foundation.framework */, |
159 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */, | 143 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */, |
160 | 9934F1B519303DC6005EF4AB /* UIKit.framework */, | 144 | 9934F1B519303DC6005EF4AB /* UIKit.framework */, |
161 | ); | 145 | ); |
162 | name = Frameworks; | 146 | name = Frameworks; |
163 | sourceTree = "<group>"; | 147 | sourceTree = "<group>"; |
164 | }; | 148 | }; |
165 | 9934F1B719303DC6005EF4AB /* letsgameDemo */ = { | 149 | 9934F1B719303DC6005EF4AB /* letsgameDemo */ = { |
166 | isa = PBXGroup; | 150 | isa = PBXGroup; |
167 | children = ( | 151 | children = ( |
168 | 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */, | 152 | 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */, |
169 | 9934F1C319303DC6005EF4AB /* Images.xcassets */, | 153 | 9934F1C319303DC6005EF4AB /* Images.xcassets */, |
170 | 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */, | 154 | 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */, |
171 | 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */, | 155 | 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */, |
172 | 9934F23819307153005EF4AB /* LSGMainViewController.h */, | 156 | 9934F23819307153005EF4AB /* LSGMainViewController.h */, |
173 | 9934F23919307153005EF4AB /* LSGMainViewController.m */, | 157 | 9934F23919307153005EF4AB /* LSGMainViewController.m */, |
174 | 9934F1B819303DC6005EF4AB /* Supporting Files */, | 158 | 9934F1B819303DC6005EF4AB /* Supporting Files */, |
175 | 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */, | 159 | 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */, |
176 | ); | 160 | ); |
177 | path = letsgameDemo; | 161 | path = letsgameDemo; |
178 | sourceTree = "<group>"; | 162 | sourceTree = "<group>"; |
179 | }; | 163 | }; |
180 | 9934F1B819303DC6005EF4AB /* Supporting Files */ = { | 164 | 9934F1B819303DC6005EF4AB /* Supporting Files */ = { |
181 | isa = PBXGroup; | 165 | isa = PBXGroup; |
182 | children = ( | 166 | children = ( |
183 | 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */, | 167 | 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */, |
184 | 9934F1BD19303DC6005EF4AB /* main.m */, | 168 | 9934F1BD19303DC6005EF4AB /* main.m */, |
185 | 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */, | 169 | 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */, |
186 | ); | 170 | ); |
187 | name = "Supporting Files"; | 171 | name = "Supporting Files"; |
188 | sourceTree = "<group>"; | 172 | sourceTree = "<group>"; |
189 | }; | 173 | }; |
190 | /* End PBXGroup section */ | 174 | /* End PBXGroup section */ |
191 | 175 | ||
192 | /* Begin PBXNativeTarget section */ | 176 | /* Begin PBXNativeTarget section */ |
193 | 9934F1AD19303DC6005EF4AB /* GameSDKDemo */ = { | 177 | 9934F1AD19303DC6005EF4AB /* GameSDKDemo */ = { |
194 | isa = PBXNativeTarget; | 178 | isa = PBXNativeTarget; |
195 | buildConfigurationList = 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */; | 179 | buildConfigurationList = 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */; |
196 | buildPhases = ( | 180 | buildPhases = ( |
197 | 9934F1AA19303DC6005EF4AB /* Sources */, | 181 | 9934F1AA19303DC6005EF4AB /* Sources */, |
198 | 9934F1AB19303DC6005EF4AB /* Frameworks */, | 182 | 9934F1AB19303DC6005EF4AB /* Frameworks */, |
199 | 9934F1AC19303DC6005EF4AB /* Resources */, | 183 | 9934F1AC19303DC6005EF4AB /* Resources */, |
200 | ); | 184 | ); |
201 | buildRules = ( | 185 | buildRules = ( |
202 | ); | 186 | ); |
203 | dependencies = ( | 187 | dependencies = ( |
204 | ); | 188 | ); |
205 | name = GameSDKDemo; | 189 | name = GameSDKDemo; |
206 | productName = letsgameDemo; | 190 | productName = letsgameDemo; |
207 | productReference = 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */; | 191 | productReference = 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */; |
208 | productType = "com.apple.product-type.application"; | 192 | productType = "com.apple.product-type.application"; |
209 | }; | 193 | }; |
210 | /* End PBXNativeTarget section */ | 194 | /* End PBXNativeTarget section */ |
211 | 195 | ||
212 | /* Begin PBXProject section */ | 196 | /* Begin PBXProject section */ |
213 | 9934F1A619303DC6005EF4AB /* Project object */ = { | 197 | 9934F1A619303DC6005EF4AB /* Project object */ = { |
214 | isa = PBXProject; | 198 | isa = PBXProject; |
215 | attributes = { | 199 | attributes = { |
216 | CLASSPREFIX = LSG; | 200 | CLASSPREFIX = LSG; |
217 | LastUpgradeCheck = 0710; | 201 | LastUpgradeCheck = 0710; |
218 | TargetAttributes = { | 202 | TargetAttributes = { |
219 | 9934F1AD19303DC6005EF4AB = { | 203 | 9934F1AD19303DC6005EF4AB = { |
220 | DevelopmentTeam = TU2VD6BENZ; | 204 | DevelopmentTeam = TU2VD6BENZ; |
221 | }; | 205 | }; |
222 | }; | 206 | }; |
223 | }; | 207 | }; |
224 | buildConfigurationList = 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */; | 208 | buildConfigurationList = 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */; |
225 | compatibilityVersion = "Xcode 3.2"; | 209 | compatibilityVersion = "Xcode 3.2"; |
226 | developmentRegion = English; | 210 | developmentRegion = English; |
227 | hasScannedForEncodings = 0; | 211 | hasScannedForEncodings = 0; |
228 | knownRegions = ( | 212 | knownRegions = ( |
229 | en, | 213 | en, |
230 | ); | 214 | ); |
231 | mainGroup = 9934F1A519303DC6005EF4AB; | 215 | mainGroup = 9934F1A519303DC6005EF4AB; |
232 | productRefGroup = 9934F1AF19303DC6005EF4AB /* Products */; | 216 | productRefGroup = 9934F1AF19303DC6005EF4AB /* Products */; |
233 | projectDirPath = ""; | 217 | projectDirPath = ""; |
234 | projectReferences = ( | 218 | projectReferences = ( |
235 | { | 219 | { |
236 | ProductGroup = 75F8189C1EEAA3EE0088B62F /* Products */; | 220 | ProductGroup = 75F8189C1EEAA3EE0088B62F /* Products */; |
237 | ProjectRef = 75F8189B1EEAA3EE0088B62F /* GameSDK.xcodeproj */; | 221 | ProjectRef = 75F8189B1EEAA3EE0088B62F /* GameSDK.xcodeproj */; |
238 | }, | 222 | }, |
239 | ); | 223 | ); |
240 | projectRoot = ""; | 224 | projectRoot = ""; |
241 | targets = ( | 225 | targets = ( |
242 | 9934F1AD19303DC6005EF4AB /* GameSDKDemo */, | 226 | 9934F1AD19303DC6005EF4AB /* GameSDKDemo */, |
243 | ); | 227 | ); |
244 | }; | 228 | }; |
245 | /* End PBXProject section */ | 229 | /* End PBXProject section */ |
246 | 230 | ||
247 | /* Begin PBXReferenceProxy section */ | 231 | /* Begin PBXReferenceProxy section */ |
248 | 75F818A11EEAA3EE0088B62F /* libGameSDK.a */ = { | 232 | 75F818A11EEAA3EE0088B62F /* libGameSDK.a */ = { |
249 | isa = PBXReferenceProxy; | 233 | isa = PBXReferenceProxy; |
250 | fileType = archive.ar; | 234 | fileType = archive.ar; |
251 | path = libGameSDK.a; | 235 | path = libGameSDK.a; |
252 | remoteRef = 75F818A01EEAA3EE0088B62F /* PBXContainerItemProxy */; | 236 | remoteRef = 75F818A01EEAA3EE0088B62F /* PBXContainerItemProxy */; |
253 | sourceTree = BUILT_PRODUCTS_DIR; | 237 | sourceTree = BUILT_PRODUCTS_DIR; |
254 | }; | 238 | }; |
255 | /* End PBXReferenceProxy section */ | 239 | /* End PBXReferenceProxy section */ |
256 | 240 | ||
257 | /* Begin PBXResourcesBuildPhase section */ | 241 | /* Begin PBXResourcesBuildPhase section */ |
258 | 9934F1AC19303DC6005EF4AB /* Resources */ = { | 242 | 9934F1AC19303DC6005EF4AB /* Resources */ = { |
259 | isa = PBXResourcesBuildPhase; | 243 | isa = PBXResourcesBuildPhase; |
260 | buildActionMask = 2147483647; | 244 | buildActionMask = 2147483647; |
261 | files = ( | 245 | files = ( |
262 | 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */, | 246 | 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */, |
263 | 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */, | 247 | 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */, |
264 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */, | 248 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */, |
265 | ); | 249 | ); |
266 | runOnlyForDeploymentPostprocessing = 0; | 250 | runOnlyForDeploymentPostprocessing = 0; |
267 | }; | 251 | }; |
268 | /* End PBXResourcesBuildPhase section */ | 252 | /* End PBXResourcesBuildPhase section */ |
269 | 253 | ||
270 | /* Begin PBXSourcesBuildPhase section */ | 254 | /* Begin PBXSourcesBuildPhase section */ |
271 | 9934F1AA19303DC6005EF4AB /* Sources */ = { | 255 | 9934F1AA19303DC6005EF4AB /* Sources */ = { |
272 | isa = PBXSourcesBuildPhase; | 256 | isa = PBXSourcesBuildPhase; |
273 | buildActionMask = 2147483647; | 257 | buildActionMask = 2147483647; |
274 | files = ( | 258 | files = ( |
275 | 9934F1BE19303DC6005EF4AB /* main.m in Sources */, | 259 | 9934F1BE19303DC6005EF4AB /* main.m in Sources */, |
276 | 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */, | 260 | 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */, |
277 | 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */, | 261 | 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */, |
278 | ); | 262 | ); |
279 | runOnlyForDeploymentPostprocessing = 0; | 263 | runOnlyForDeploymentPostprocessing = 0; |
280 | }; | 264 | }; |
281 | /* End PBXSourcesBuildPhase section */ | 265 | /* End PBXSourcesBuildPhase section */ |
282 | 266 | ||
283 | /* Begin XCBuildConfiguration section */ | 267 | /* Begin XCBuildConfiguration section */ |
284 | 9934F1D819303DC6005EF4AB /* Debug */ = { | 268 | 9934F1D819303DC6005EF4AB /* Debug */ = { |
285 | isa = XCBuildConfiguration; | 269 | isa = XCBuildConfiguration; |
286 | buildSettings = { | 270 | buildSettings = { |
287 | ALWAYS_SEARCH_USER_PATHS = YES; | 271 | ALWAYS_SEARCH_USER_PATHS = YES; |
288 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | 272 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; |
289 | CLANG_CXX_LIBRARY = "libc++"; | 273 | CLANG_CXX_LIBRARY = "libc++"; |
290 | CLANG_ENABLE_MODULES = YES; | 274 | CLANG_ENABLE_MODULES = YES; |
291 | CLANG_ENABLE_OBJC_ARC = YES; | 275 | CLANG_ENABLE_OBJC_ARC = YES; |
292 | CLANG_WARN_BOOL_CONVERSION = YES; | 276 | CLANG_WARN_BOOL_CONVERSION = YES; |
293 | CLANG_WARN_CONSTANT_CONVERSION = YES; | 277 | CLANG_WARN_CONSTANT_CONVERSION = YES; |
294 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | 278 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; |
295 | CLANG_WARN_EMPTY_BODY = YES; | 279 | CLANG_WARN_EMPTY_BODY = YES; |
296 | CLANG_WARN_ENUM_CONVERSION = YES; | 280 | CLANG_WARN_ENUM_CONVERSION = YES; |
297 | CLANG_WARN_INT_CONVERSION = YES; | 281 | CLANG_WARN_INT_CONVERSION = YES; |
298 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | 282 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; |
299 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | 283 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; |
300 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | 284 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; |
301 | COPY_PHASE_STRIP = YES; | 285 | COPY_PHASE_STRIP = YES; |
302 | ENABLE_TESTABILITY = YES; | 286 | ENABLE_TESTABILITY = YES; |
303 | GCC_C_LANGUAGE_STANDARD = gnu99; | 287 | GCC_C_LANGUAGE_STANDARD = gnu99; |
304 | GCC_DYNAMIC_NO_PIC = NO; | 288 | GCC_DYNAMIC_NO_PIC = NO; |
305 | GCC_OPTIMIZATION_LEVEL = 0; | 289 | GCC_OPTIMIZATION_LEVEL = 0; |
306 | GCC_PREPROCESSOR_DEFINITIONS = ( | 290 | GCC_PREPROCESSOR_DEFINITIONS = ( |
307 | "DEBUG=1", | 291 | "DEBUG=1", |
308 | "$(inherited)", | 292 | "$(inherited)", |
309 | ); | 293 | ); |
310 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; | 294 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; |
311 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | 295 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; |
312 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | 296 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; |
313 | GCC_WARN_UNDECLARED_SELECTOR = YES; | 297 | GCC_WARN_UNDECLARED_SELECTOR = YES; |
314 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | 298 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; |
315 | GCC_WARN_UNUSED_FUNCTION = YES; | 299 | GCC_WARN_UNUSED_FUNCTION = YES; |
316 | GCC_WARN_UNUSED_VARIABLE = YES; | 300 | GCC_WARN_UNUSED_VARIABLE = YES; |
317 | HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; | 301 | HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; |
318 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; | 302 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; |
319 | ONLY_ACTIVE_ARCH = YES; | 303 | ONLY_ACTIVE_ARCH = YES; |
320 | SDKROOT = iphoneos; | 304 | SDKROOT = iphoneos; |
321 | }; | 305 | }; |
322 | name = Debug; | 306 | name = Debug; |
323 | }; | 307 | }; |
324 | 9934F1D919303DC6005EF4AB /* Release */ = { | 308 | 9934F1D919303DC6005EF4AB /* Release */ = { |
325 | isa = XCBuildConfiguration; | 309 | isa = XCBuildConfiguration; |
326 | buildSettings = { | 310 | buildSettings = { |
327 | ALWAYS_SEARCH_USER_PATHS = YES; | 311 | ALWAYS_SEARCH_USER_PATHS = YES; |
328 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | 312 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; |
329 | CLANG_CXX_LIBRARY = "libc++"; | 313 | CLANG_CXX_LIBRARY = "libc++"; |
330 | CLANG_ENABLE_MODULES = YES; | 314 | CLANG_ENABLE_MODULES = YES; |
331 | CLANG_ENABLE_OBJC_ARC = YES; | 315 | CLANG_ENABLE_OBJC_ARC = YES; |
332 | CLANG_WARN_BOOL_CONVERSION = YES; | 316 | CLANG_WARN_BOOL_CONVERSION = YES; |
333 | CLANG_WARN_CONSTANT_CONVERSION = YES; | 317 | CLANG_WARN_CONSTANT_CONVERSION = YES; |
334 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | 318 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; |
335 | CLANG_WARN_EMPTY_BODY = YES; | 319 | CLANG_WARN_EMPTY_BODY = YES; |
336 | CLANG_WARN_ENUM_CONVERSION = YES; | 320 | CLANG_WARN_ENUM_CONVERSION = YES; |
337 | CLANG_WARN_INT_CONVERSION = YES; | 321 | CLANG_WARN_INT_CONVERSION = YES; |
338 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | 322 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; |
339 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | 323 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; |
340 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | 324 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; |
341 | COPY_PHASE_STRIP = YES; | 325 | COPY_PHASE_STRIP = YES; |
342 | ENABLE_NS_ASSERTIONS = NO; | 326 | ENABLE_NS_ASSERTIONS = NO; |
343 | GCC_C_LANGUAGE_STANDARD = gnu99; | 327 | GCC_C_LANGUAGE_STANDARD = gnu99; |
344 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | 328 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; |
345 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | 329 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; |
346 | GCC_WARN_UNDECLARED_SELECTOR = YES; | 330 | GCC_WARN_UNDECLARED_SELECTOR = YES; |
347 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | 331 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; |
348 | GCC_WARN_UNUSED_FUNCTION = YES; | 332 | GCC_WARN_UNUSED_FUNCTION = YES; |
349 | GCC_WARN_UNUSED_VARIABLE = YES; | 333 | GCC_WARN_UNUSED_VARIABLE = YES; |
350 | HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; | 334 | HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; |
351 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; | 335 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; |
352 | ONLY_ACTIVE_ARCH = YES; | 336 | ONLY_ACTIVE_ARCH = YES; |
353 | SDKROOT = iphoneos; | 337 | SDKROOT = iphoneos; |
354 | VALIDATE_PRODUCT = YES; | 338 | VALIDATE_PRODUCT = YES; |
355 | }; | 339 | }; |
356 | name = Release; | 340 | name = Release; |
357 | }; | 341 | }; |
358 | 9934F1DB19303DC6005EF4AB /* Debug */ = { | 342 | 9934F1DB19303DC6005EF4AB /* Debug */ = { |
359 | isa = XCBuildConfiguration; | 343 | isa = XCBuildConfiguration; |
360 | baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; | 344 | baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; |
361 | buildSettings = { | 345 | buildSettings = { |
362 | ALWAYS_SEARCH_USER_PATHS = YES; | 346 | ALWAYS_SEARCH_USER_PATHS = YES; |
363 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | 347 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; |
364 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; | 348 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; |
365 | CODE_SIGN_IDENTITY = "iPhone Developer"; | 349 | CODE_SIGN_IDENTITY = "iPhone Developer"; |
366 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | 350 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; |
367 | DEVELOPMENT_TEAM = TU2VD6BENZ; | 351 | DEVELOPMENT_TEAM = TU2VD6BENZ; |
368 | ENABLE_BITCODE = NO; | 352 | ENABLE_BITCODE = NO; |
369 | FRAMEWORK_SEARCH_PATHS = ( | 353 | FRAMEWORK_SEARCH_PATHS = ( |
370 | "$(PROJECT_DIR)/../**", | 354 | "$(PROJECT_DIR)/../**", |
371 | "$(PROJECT_DIR)/letsgameDemo", | 355 | "$(PROJECT_DIR)/letsgameDemo", |
372 | ); | 356 | ); |
373 | GCC_PRECOMPILE_PREFIX_HEADER = YES; | 357 | GCC_PRECOMPILE_PREFIX_HEADER = YES; |
374 | GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; | 358 | GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; |
375 | HEADER_SEARCH_PATHS = ( | 359 | HEADER_SEARCH_PATHS = ( |
376 | "$(PROJECT_DIR)/../GameSDK.framework/**", | 360 | "$(PROJECT_DIR)/../GameSDK.framework/**", |
377 | "$(inherited)", | 361 | "$(inherited)", |
378 | "$(PROJECT_DIR)/letsgameDemo/**", | 362 | "$(PROJECT_DIR)/letsgameDemo/**", |
379 | "$(PROJECT_DIR)/../VKBridge.framework/**", | 363 | "$(PROJECT_DIR)/../VKBridge.framework/**", |
380 | ); | 364 | ); |
381 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; | 365 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; |
382 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; | 366 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; |
383 | LIBRARY_SEARCH_PATHS = ""; | 367 | LIBRARY_SEARCH_PATHS = ""; |
384 | ONLY_ACTIVE_ARCH = YES; | 368 | ONLY_ACTIVE_ARCH = YES; |
385 | PRIVATE_HEADERS_FOLDER_PATH = ""; | 369 | PRIVATE_HEADERS_FOLDER_PATH = ""; |
386 | PRODUCT_BUNDLE_IDENTIFIER = test.kang.purchase; | 370 | PRODUCT_BUNDLE_IDENTIFIER = test.kang.purchase; |
387 | PRODUCT_NAME = GameSDKDemo; | 371 | PRODUCT_NAME = GameSDKDemo; |
388 | PROVISIONING_PROFILE = "9a16d1a8-62c4-4ddd-a173-5ea852773122"; | 372 | PROVISIONING_PROFILE = "9a16d1a8-62c4-4ddd-a173-5ea852773122"; |
389 | PROVISIONING_PROFILE_SPECIFIER = testpurchaseDev; | 373 | PROVISIONING_PROFILE_SPECIFIER = testpurchaseDev; |
390 | PUBLIC_HEADERS_FOLDER_PATH = ""; | 374 | PUBLIC_HEADERS_FOLDER_PATH = ""; |
391 | WRAPPER_EXTENSION = app; | 375 | WRAPPER_EXTENSION = app; |
392 | }; | 376 | }; |
393 | name = Debug; | 377 | name = Debug; |
394 | }; | 378 | }; |
395 | 9934F1DC19303DC6005EF4AB /* Release */ = { | 379 | 9934F1DC19303DC6005EF4AB /* Release */ = { |
396 | isa = XCBuildConfiguration; | 380 | isa = XCBuildConfiguration; |
397 | baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; | 381 | baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; |
398 | buildSettings = { | 382 | buildSettings = { |
399 | ALWAYS_SEARCH_USER_PATHS = YES; | 383 | ALWAYS_SEARCH_USER_PATHS = YES; |
400 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | 384 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; |
401 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; | 385 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; |
402 | CODE_SIGN_IDENTITY = "iPhone Developer"; | 386 | CODE_SIGN_IDENTITY = "iPhone Developer"; |
403 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; | 387 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; |
404 | DEVELOPMENT_TEAM = TU2VD6BENZ; | 388 | DEVELOPMENT_TEAM = TU2VD6BENZ; |
405 | ENABLE_BITCODE = NO; | 389 | ENABLE_BITCODE = NO; |
406 | FRAMEWORK_SEARCH_PATHS = ( | 390 | FRAMEWORK_SEARCH_PATHS = ( |
407 | "$(PROJECT_DIR)/../**", | 391 | "$(PROJECT_DIR)/../**", |
408 | "$(PROJECT_DIR)/letsgameDemo", | 392 | "$(PROJECT_DIR)/letsgameDemo", |
409 | ); | 393 | ); |
410 | GCC_PRECOMPILE_PREFIX_HEADER = YES; | 394 | GCC_PRECOMPILE_PREFIX_HEADER = YES; |
411 | GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; | 395 | GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; |
412 | HEADER_SEARCH_PATHS = ( | 396 | HEADER_SEARCH_PATHS = ( |
413 | "$(PROJECT_DIR)/../GameSDK.framework/**", | 397 | "$(PROJECT_DIR)/../GameSDK.framework/**", |
414 | "$(inherited)", | 398 | "$(inherited)", |
415 | "$(PROJECT_DIR)/letsgameDemo/**", | 399 | "$(PROJECT_DIR)/letsgameDemo/**", |
416 | "$(PROJECT_DIR)/../VKBridge.framework/**", | 400 | "$(PROJECT_DIR)/../VKBridge.framework/**", |
417 | ); | 401 | ); |
418 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; | 402 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; |
419 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; | 403 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; |
420 | LIBRARY_SEARCH_PATHS = ""; | 404 | LIBRARY_SEARCH_PATHS = ""; |
421 | ONLY_ACTIVE_ARCH = YES; | 405 | ONLY_ACTIVE_ARCH = YES; |
422 | PRIVATE_HEADERS_FOLDER_PATH = ""; | 406 | PRIVATE_HEADERS_FOLDER_PATH = ""; |
423 | PRODUCT_BUNDLE_IDENTIFIER = test.kang.purchase; | 407 | PRODUCT_BUNDLE_IDENTIFIER = test.kang.purchase; |
424 | PRODUCT_NAME = GameSDKDemo; | 408 | PRODUCT_NAME = GameSDKDemo; |
425 | PROVISIONING_PROFILE = "7b28fefe-7c60-41a6-ac6c-b21726228700"; | 409 | PROVISIONING_PROFILE = "7b28fefe-7c60-41a6-ac6c-b21726228700"; |
426 | PROVISIONING_PROFILE_SPECIFIER = testpurchasekang; | 410 | PROVISIONING_PROFILE_SPECIFIER = testpurchasekang; |
427 | PUBLIC_HEADERS_FOLDER_PATH = ""; | 411 | PUBLIC_HEADERS_FOLDER_PATH = ""; |
428 | WRAPPER_EXTENSION = app; | 412 | WRAPPER_EXTENSION = app; |
429 | }; | 413 | }; |
430 | name = Release; | 414 | name = Release; |
431 | }; | 415 | }; |
432 | /* End XCBuildConfiguration section */ | 416 | /* End XCBuildConfiguration section */ |
433 | 417 | ||
434 | /* Begin XCConfigurationList section */ | 418 | /* Begin XCConfigurationList section */ |
435 | 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */ = { | 419 | 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */ = { |
436 | isa = XCConfigurationList; | 420 | isa = XCConfigurationList; |
437 | buildConfigurations = ( | 421 | buildConfigurations = ( |
438 | 9934F1D819303DC6005EF4AB /* Debug */, | 422 | 9934F1D819303DC6005EF4AB /* Debug */, |
439 | 9934F1D919303DC6005EF4AB /* Release */, | 423 | 9934F1D919303DC6005EF4AB /* Release */, |
440 | ); | 424 | ); |
441 | defaultConfigurationIsVisible = 0; | 425 | defaultConfigurationIsVisible = 0; |
442 | defaultConfigurationName = Release; | 426 | defaultConfigurationName = Release; |
443 | }; | 427 | }; |
444 | 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */ = { | 428 | 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */ = { |
445 | isa = XCConfigurationList; | 429 | isa = XCConfigurationList; |
446 | buildConfigurations = ( | 430 | buildConfigurations = ( |
447 | 9934F1DB19303DC6005EF4AB /* Debug */, | 431 | 9934F1DB19303DC6005EF4AB /* Debug */, |
448 | 9934F1DC19303DC6005EF4AB /* Release */, | 432 | 9934F1DC19303DC6005EF4AB /* Release */, |
449 | ); | 433 | ); |
450 | defaultConfigurationIsVisible = 0; | 434 | defaultConfigurationIsVisible = 0; |
451 | defaultConfigurationName = Release; | 435 | defaultConfigurationName = Release; |
452 | }; | 436 | }; |
453 | /* End XCConfigurationList section */ | 437 | /* End XCConfigurationList section */ |
454 | }; | 438 | }; |
455 | rootObject = 9934F1A619303DC6005EF4AB /* Project object */; | 439 | rootObject = 9934F1A619303DC6005EF4AB /* Project object */; |
456 | } | 440 | } |
457 | 441 |
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
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 | 12 | ||
13 | @implementation LSGAppDelegate | 13 | @implementation LSGAppDelegate |
14 | 14 | ||
15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions |
16 | { | 16 | { |
17 | self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; | 17 | self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; |
18 | 18 | ||
19 | LSGMainViewController *viewController = [[LSGMainViewController alloc] init]; | 19 | LSGMainViewController *viewController = [[LSGMainViewController alloc] init]; |
20 | self.window.rootViewController = viewController; | 20 | self.window.rootViewController = viewController; |
21 | [self.window addSubview:viewController.view]; | 21 | [self.window addSubview:viewController.view]; |
22 | 22 | ||
23 | self.window.backgroundColor = [UIColor whiteColor]; | 23 | self.window.backgroundColor = [UIColor whiteColor]; |
24 | [self.window makeKeyAndVisible]; | 24 | [self.window makeKeyAndVisible]; |
25 | 25 | ||
26 | //显示是否侵权的接口 | 26 | //显示是否侵权的接口 |
27 | // [[LetsGameAPI instance] gameObtainSafeSetInfoWithAppId:@"10056" ChannelId:@"1000" handleCallBack:^(BOOL resultStatus) { | 27 | // [[LetsGameAPI instance] gameObtainSafeSetInfoWithAppId:@"10056" ChannelId:@"1000" handleCallBack:^(BOOL resultStatus) { |
28 | // if (resultStatus) { | 28 | // if (resultStatus) { |
29 | // NSLog(@"YES 侵权"); | 29 | // NSLog(@"YES 侵权"); |
30 | // }else{ | 30 | // }else{ |
31 | // NSLog(@"NO 不侵权"); | 31 | // NSLog(@"NO 不侵权"); |
32 | // } | 32 | // } |
33 | // }]; | 33 | // }]; |
34 | 34 | ||
35 | [[UIApplication sharedApplication] setStatusBarHidden:YES]; | 35 | [[UIApplication sharedApplication] setStatusBarHidden:YES]; |
36 | [[LetsGameAPI instance] registeIapObserver]; | 36 | [[LetsGameAPI instance] registeIapObserver]; |
37 | 37 | ||
38 | |||
39 | return YES; | 38 | return YES; |
40 | } | 39 | } |
41 | 40 | ||
42 | - (void)applicationWillResignActive:(UIApplication *)application | 41 | - (void)applicationWillResignActive:(UIApplication *)application |
43 | { | 42 | { |
44 | // 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. | 43 | // 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. |
45 | // 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. | 44 | // 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. |
46 | } | 45 | } |
47 | 46 | ||
48 | - (void)applicationDidEnterBackground:(UIApplication *)application | 47 | - (void)applicationDidEnterBackground:(UIApplication *)application |
49 | { | 48 | { |
50 | // 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. | 49 | // 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. |
51 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. | 50 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. |
52 | } | 51 | } |
53 | 52 | ||
54 | - (void)applicationWillEnterForeground:(UIApplication *)application | 53 | - (void)applicationWillEnterForeground:(UIApplication *)application |
55 | { | 54 | { |
56 | // 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. | 55 | // 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. |
57 | } | 56 | } |
58 | 57 | ||
59 | -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{ | 58 | -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{ |
60 | return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; | 59 | return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; |
61 | //return [[LetsGameAPI instance].vkBridge processOpenURL:url fromApplication:sourceApplication]; | 60 | //return [[LetsGameAPI instance].vkBridge processOpenURL:url fromApplication:sourceApplication]; |
62 | } | 61 | } |
63 | 62 | ||
64 | 63 | ||
65 | @end | 64 | @end |
66 | 65 |