Commit c556726ebe4267492accac4fcfd6df284731d258
1 parent
ab7dcdea38
Exists in
master
and in
1 other branch
line、wechat显示与否文档修改
Showing 5 changed files with 22 additions and 340 deletions Side-by-side Diff
- IOSDocument.md
- ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
- ios/GameSDKDemo/GameSDKDemo.xcodeproj/xcuserdata/yanglele.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
- ios/GameSDKDemo/letsgameDemo/Images.xcassets/AppIcon.appiconset/Contents.json
- ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
IOSDocument.md
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | |
4 | 4 | 接入手册 |
5 | 5 | V 3.4.12 |
6 | -2017年1月12日 | |
6 | +2017年1月18日 | |
7 | 7 | |
8 | 8 | ## 概述 |
9 | 9 | #### 本SDK提供gump账号,fb账号,vk账号,Google帐号四种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。 |
... | ... | @@ -34,7 +34,7 @@ Xcode 5: Open your application settings then select the Info tab. In the URL Typ |
34 | 34 |  |
35 | 35 | Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifier to vk+APP_ID |
36 | 36 |  |
37 | -3)配置UIL-schema(weChat专用,不接入可以忽略) | |
37 | +3)配置URL-schema(weChat专用,不接入可以忽略) | |
38 | 38 | 选中“TARGETS”一栏,在“info”标签栏的“URL type“添加“URL scheme”为你所注册的应用程序id |
39 | 39 | 选中“TARGETS”一栏,在“info”标签栏的“LSApplicationQueriesSchemes“添加weixin和wechat |
40 | 40 | |
... | ... | @@ -53,6 +53,10 @@ Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifi |
53 | 53 | [LetsGameAPI disableGoogle:YES]; |
54 | 54 | //隐藏gumptech的logo |
55 | 55 | [LetsGameAPI hiddenLogo:YES]; |
56 | + //隐藏line登录 | |
57 | + [LetsGameAPI disableLine:YES]; | |
58 | + //隐藏wechat登录 | |
59 | + [LetsGameAPI disableWeChat:YES]; | |
56 | 60 | |
57 | 61 | [[LetsGameAPI instance] showLoginView]; // 弹出登录页面 |
58 | 62 |
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/xcuserdata/yanglele.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
... | ... | @@ -2,342 +2,4 @@ |
2 | 2 | <Bucket |
3 | 3 | type = "1" |
4 | 4 | version = "2.0"> |
5 | - <Breakpoints> | |
6 | - <BreakpointProxy | |
7 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
8 | - <BreakpointContent | |
9 | - shouldBeEnabled = "Yes" | |
10 | - ignoreCount = "0" | |
11 | - continueAfterRunningActions = "No" | |
12 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/service/httpService/LSGUserService.m" | |
13 | - timestampString = "537441826.965482" | |
14 | - startingColumnNumber = "9223372036854775807" | |
15 | - endingColumnNumber = "9223372036854775807" | |
16 | - startingLineNumber = "594" | |
17 | - endingLineNumber = "594" | |
18 | - landmarkName = "-appObtainWeCharAppIDWithAppId:appKey:result:" | |
19 | - landmarkType = "7"> | |
20 | - </BreakpointContent> | |
21 | - </BreakpointProxy> | |
22 | - <BreakpointProxy | |
23 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
24 | - <BreakpointContent | |
25 | - shouldBeEnabled = "Yes" | |
26 | - ignoreCount = "0" | |
27 | - continueAfterRunningActions = "No" | |
28 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/LetsGameAPI.m" | |
29 | - timestampString = "537764957.2615269" | |
30 | - startingColumnNumber = "9223372036854775807" | |
31 | - endingColumnNumber = "9223372036854775807" | |
32 | - startingLineNumber = "287" | |
33 | - endingLineNumber = "287" | |
34 | - landmarkName = "-registerAppWeChatWithAppId:appKey:Success:failure:" | |
35 | - landmarkType = "7"> | |
36 | - <Locations> | |
37 | - <Location | |
38 | - shouldBeEnabled = "Yes" | |
39 | - ignoreCount = "0" | |
40 | - continueAfterRunningActions = "No" | |
41 | - symbolName = "-[LetsGameAPI registerAppWeChatWithAppId:appKey:Success:failure:]" | |
42 | - moduleName = "GameSDKDemo" | |
43 | - usesParentBreakpointCondition = "Yes" | |
44 | - urlString = "file:///Users/yanglele/workproject/project/GumpSDK/iosgamesdk/GameSDK/letsgame/LetsGameAPI.m" | |
45 | - timestampString = "537763058.957817" | |
46 | - startingColumnNumber = "9223372036854775807" | |
47 | - endingColumnNumber = "9223372036854775807" | |
48 | - startingLineNumber = "287" | |
49 | - endingLineNumber = "287" | |
50 | - offsetFromSymbolStart = "161"> | |
51 | - </Location> | |
52 | - <Location | |
53 | - shouldBeEnabled = "Yes" | |
54 | - ignoreCount = "0" | |
55 | - continueAfterRunningActions = "No" | |
56 | - symbolName = "__65-[LetsGameAPI registerAppWeChatWithAppId:appKey:Success:failure:]_block_invoke" | |
57 | - moduleName = "GameSDKDemo" | |
58 | - usesParentBreakpointCondition = "Yes" | |
59 | - urlString = "file:///Users/yanglele/workproject/project/GumpSDK/iosgamesdk/GameSDK/letsgame/LetsGameAPI.m" | |
60 | - timestampString = "537763058.962042" | |
61 | - startingColumnNumber = "9223372036854775807" | |
62 | - endingColumnNumber = "9223372036854775807" | |
63 | - startingLineNumber = "287" | |
64 | - endingLineNumber = "287" | |
65 | - offsetFromSymbolStart = "19"> | |
66 | - </Location> | |
67 | - </Locations> | |
68 | - </BreakpointContent> | |
69 | - </BreakpointProxy> | |
70 | - <BreakpointProxy | |
71 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
72 | - <BreakpointContent | |
73 | - shouldBeEnabled = "Yes" | |
74 | - ignoreCount = "0" | |
75 | - continueAfterRunningActions = "No" | |
76 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/registAndLogin/LSGWeChatViewController.m" | |
77 | - timestampString = "536126480.108287" | |
78 | - startingColumnNumber = "9223372036854775807" | |
79 | - endingColumnNumber = "9223372036854775807" | |
80 | - startingLineNumber = "51" | |
81 | - endingLineNumber = "51" | |
82 | - landmarkName = "-registerAppWeChatAppIDWithAppId:appKey:success:failure:" | |
83 | - landmarkType = "7"> | |
84 | - <Locations> | |
85 | - <Location | |
86 | - shouldBeEnabled = "Yes" | |
87 | - ignoreCount = "0" | |
88 | - continueAfterRunningActions = "No" | |
89 | - symbolName = "-[LSGWeChatViewController registerAppWeChatAppIDWithAppId:appKey:success:failure:]" | |
90 | - moduleName = "GameSDKDemo" | |
91 | - usesParentBreakpointCondition = "Yes" | |
92 | - urlString = "file:///Users/yanglele/workproject/project/GumpSDK/iosgamesdk/GameSDK/letsgame/registAndLogin/LSGWeChatViewController.m" | |
93 | - timestampString = "537763058.96706" | |
94 | - startingColumnNumber = "9223372036854775807" | |
95 | - endingColumnNumber = "9223372036854775807" | |
96 | - startingLineNumber = "51" | |
97 | - endingLineNumber = "51" | |
98 | - offsetFromSymbolStart = "201"> | |
99 | - </Location> | |
100 | - <Location | |
101 | - shouldBeEnabled = "Yes" | |
102 | - ignoreCount = "0" | |
103 | - continueAfterRunningActions = "No" | |
104 | - symbolName = "__82-[LSGWeChatViewController registerAppWeChatAppIDWithAppId:appKey:success:failure:]_block_invoke" | |
105 | - moduleName = "GameSDKDemo" | |
106 | - usesParentBreakpointCondition = "Yes" | |
107 | - urlString = "file:///Users/yanglele/workproject/project/GumpSDK/iosgamesdk/GameSDK/letsgame/registAndLogin/LSGWeChatViewController.m" | |
108 | - timestampString = "537763058.969188" | |
109 | - startingColumnNumber = "9223372036854775807" | |
110 | - endingColumnNumber = "9223372036854775807" | |
111 | - startingLineNumber = "52" | |
112 | - endingLineNumber = "52" | |
113 | - offsetFromSymbolStart = "44"> | |
114 | - </Location> | |
115 | - </Locations> | |
116 | - </BreakpointContent> | |
117 | - </BreakpointProxy> | |
118 | - <BreakpointProxy | |
119 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
120 | - <BreakpointContent | |
121 | - shouldBeEnabled = "Yes" | |
122 | - ignoreCount = "0" | |
123 | - continueAfterRunningActions = "No" | |
124 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/registAndLogin/LSGWeChatViewController.m" | |
125 | - timestampString = "536126480.108348" | |
126 | - startingColumnNumber = "9223372036854775807" | |
127 | - endingColumnNumber = "9223372036854775807" | |
128 | - startingLineNumber = "34" | |
129 | - endingLineNumber = "34" | |
130 | - landmarkName = "+isWeChatInstall" | |
131 | - landmarkType = "7"> | |
132 | - </BreakpointContent> | |
133 | - </BreakpointProxy> | |
134 | - <BreakpointProxy | |
135 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
136 | - <BreakpointContent | |
137 | - shouldBeEnabled = "Yes" | |
138 | - ignoreCount = "0" | |
139 | - continueAfterRunningActions = "No" | |
140 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/registAndLogin/LSGFBLoginViewController.m" | |
141 | - timestampString = "536127479.611329" | |
142 | - startingColumnNumber = "9223372036854775807" | |
143 | - endingColumnNumber = "9223372036854775807" | |
144 | - startingLineNumber = "68" | |
145 | - endingLineNumber = "68" | |
146 | - landmarkName = "-injectJSObject" | |
147 | - landmarkType = "7"> | |
148 | - </BreakpointContent> | |
149 | - </BreakpointProxy> | |
150 | - <BreakpointProxy | |
151 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
152 | - <BreakpointContent | |
153 | - shouldBeEnabled = "Yes" | |
154 | - ignoreCount = "0" | |
155 | - continueAfterRunningActions = "No" | |
156 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/registAndLogin/LSGFBLoginViewController.m" | |
157 | - timestampString = "536127479.611763" | |
158 | - startingColumnNumber = "9223372036854775807" | |
159 | - endingColumnNumber = "9223372036854775807" | |
160 | - startingLineNumber = "31" | |
161 | - endingLineNumber = "31" | |
162 | - landmarkName = "-loadView" | |
163 | - landmarkType = "7"> | |
164 | - </BreakpointContent> | |
165 | - </BreakpointProxy> | |
166 | - <BreakpointProxy | |
167 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
168 | - <BreakpointContent | |
169 | - shouldBeEnabled = "Yes" | |
170 | - ignoreCount = "0" | |
171 | - continueAfterRunningActions = "No" | |
172 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/registAndLogin/LSGFBLoginViewController.m" | |
173 | - timestampString = "536127479.61203" | |
174 | - startingColumnNumber = "9223372036854775807" | |
175 | - endingColumnNumber = "9223372036854775807" | |
176 | - startingLineNumber = "93" | |
177 | - endingLineNumber = "93" | |
178 | - landmarkName = "-webViewDidFinishLoad:" | |
179 | - landmarkType = "7"> | |
180 | - </BreakpointContent> | |
181 | - </BreakpointProxy> | |
182 | - <BreakpointProxy | |
183 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
184 | - <BreakpointContent | |
185 | - shouldBeEnabled = "Yes" | |
186 | - ignoreCount = "0" | |
187 | - continueAfterRunningActions = "No" | |
188 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/registAndLogin/LSGFBLoginViewController.m" | |
189 | - timestampString = "536127479.61231" | |
190 | - startingColumnNumber = "9223372036854775807" | |
191 | - endingColumnNumber = "9223372036854775807" | |
192 | - startingLineNumber = "102" | |
193 | - endingLineNumber = "102" | |
194 | - landmarkName = "-webView:shouldStartLoadWithRequest:navigationType:" | |
195 | - landmarkType = "7"> | |
196 | - </BreakpointContent> | |
197 | - </BreakpointProxy> | |
198 | - <BreakpointProxy | |
199 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
200 | - <BreakpointContent | |
201 | - shouldBeEnabled = "Yes" | |
202 | - ignoreCount = "0" | |
203 | - continueAfterRunningActions = "No" | |
204 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/service/httpService/LSGUserService.m" | |
205 | - timestampString = "537441826.9659441" | |
206 | - startingColumnNumber = "9223372036854775807" | |
207 | - endingColumnNumber = "9223372036854775807" | |
208 | - startingLineNumber = "49" | |
209 | - endingLineNumber = "49" | |
210 | - landmarkName = "-quickRegSuccess:failure:" | |
211 | - landmarkType = "7"> | |
212 | - </BreakpointContent> | |
213 | - </BreakpointProxy> | |
214 | - <BreakpointProxy | |
215 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
216 | - <BreakpointContent | |
217 | - shouldBeEnabled = "Yes" | |
218 | - ignoreCount = "0" | |
219 | - continueAfterRunningActions = "No" | |
220 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/service/httpService/LSGUserService.m" | |
221 | - timestampString = "537441826.966015" | |
222 | - startingColumnNumber = "9223372036854775807" | |
223 | - endingColumnNumber = "9223372036854775807" | |
224 | - startingLineNumber = "47" | |
225 | - endingLineNumber = "47" | |
226 | - landmarkName = "-quickRegSuccess:failure:" | |
227 | - landmarkType = "7"> | |
228 | - </BreakpointContent> | |
229 | - </BreakpointProxy> | |
230 | - <BreakpointProxy | |
231 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
232 | - <BreakpointContent | |
233 | - shouldBeEnabled = "Yes" | |
234 | - ignoreCount = "0" | |
235 | - continueAfterRunningActions = "No" | |
236 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/registAndLogin/LSGQuickLoginViewController.m" | |
237 | - timestampString = "537764957.262828" | |
238 | - startingColumnNumber = "9223372036854775807" | |
239 | - endingColumnNumber = "9223372036854775807" | |
240 | - startingLineNumber = "757" | |
241 | - endingLineNumber = "757" | |
242 | - landmarkName = "-tableView:cellForRowAtIndexPath:" | |
243 | - landmarkType = "7"> | |
244 | - </BreakpointContent> | |
245 | - </BreakpointProxy> | |
246 | - <BreakpointProxy | |
247 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
248 | - <BreakpointContent | |
249 | - shouldBeEnabled = "Yes" | |
250 | - ignoreCount = "0" | |
251 | - continueAfterRunningActions = "No" | |
252 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/registAndLogin/LSGUserBaseViewController.m" | |
253 | - timestampString = "537442056.715101" | |
254 | - startingColumnNumber = "9223372036854775807" | |
255 | - endingColumnNumber = "9223372036854775807" | |
256 | - startingLineNumber = "554" | |
257 | - endingLineNumber = "554" | |
258 | - landmarkName = "-loginWithName:passwd:accountType:showLoadingIndicator:" | |
259 | - landmarkType = "7"> | |
260 | - <Locations> | |
261 | - <Location | |
262 | - shouldBeEnabled = "Yes" | |
263 | - ignoreCount = "0" | |
264 | - continueAfterRunningActions = "No" | |
265 | - symbolName = "-[LSGUserBaseViewController loginWithName:passwd:accountType:showLoadingIndicator:]" | |
266 | - moduleName = "GameSDKDemo" | |
267 | - usesParentBreakpointCondition = "Yes" | |
268 | - urlString = "file:///Users/yanglele/workproject/project/GumpSDK/iosgamesdk/GameSDK/letsgame/registAndLogin/LSGUserBaseViewController.m" | |
269 | - timestampString = "537763059.006657" | |
270 | - startingColumnNumber = "9223372036854775807" | |
271 | - endingColumnNumber = "9223372036854775807" | |
272 | - startingLineNumber = "554" | |
273 | - endingLineNumber = "554" | |
274 | - offsetFromSymbolStart = "267"> | |
275 | - </Location> | |
276 | - <Location | |
277 | - shouldBeEnabled = "Yes" | |
278 | - ignoreCount = "0" | |
279 | - continueAfterRunningActions = "No" | |
280 | - symbolName = "__83-[LSGUserBaseViewController loginWithName:passwd:accountType:showLoadingIndicator:]_block_invoke" | |
281 | - moduleName = "GameSDKDemo" | |
282 | - usesParentBreakpointCondition = "Yes" | |
283 | - urlString = "file:///Users/yanglele/workproject/project/GumpSDK/iosgamesdk/GameSDK/letsgame/registAndLogin/LSGUserBaseViewController.m" | |
284 | - timestampString = "537763059.008971" | |
285 | - startingColumnNumber = "9223372036854775807" | |
286 | - endingColumnNumber = "9223372036854775807" | |
287 | - startingLineNumber = "554" | |
288 | - endingLineNumber = "554" | |
289 | - offsetFromSymbolStart = "19"> | |
290 | - </Location> | |
291 | - </Locations> | |
292 | - </BreakpointContent> | |
293 | - </BreakpointProxy> | |
294 | - <BreakpointProxy | |
295 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
296 | - <BreakpointContent | |
297 | - shouldBeEnabled = "Yes" | |
298 | - ignoreCount = "0" | |
299 | - continueAfterRunningActions = "No" | |
300 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/service/httpService/LSGUserService.m" | |
301 | - timestampString = "537441826.9662091" | |
302 | - startingColumnNumber = "9223372036854775807" | |
303 | - endingColumnNumber = "9223372036854775807" | |
304 | - startingLineNumber = "370" | |
305 | - endingLineNumber = "370" | |
306 | - landmarkName = "-loginWithName:passwd:accountType:success:failure:" | |
307 | - landmarkType = "7"> | |
308 | - </BreakpointContent> | |
309 | - </BreakpointProxy> | |
310 | - <BreakpointProxy | |
311 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
312 | - <BreakpointContent | |
313 | - shouldBeEnabled = "Yes" | |
314 | - ignoreCount = "0" | |
315 | - continueAfterRunningActions = "No" | |
316 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/registAndLogin/LSGUserBaseViewController.m" | |
317 | - timestampString = "537442056.715198" | |
318 | - startingColumnNumber = "9223372036854775807" | |
319 | - endingColumnNumber = "9223372036854775807" | |
320 | - startingLineNumber = "570" | |
321 | - endingLineNumber = "570" | |
322 | - landmarkName = "-loginWithName:passwd:accountType:showLoadingIndicator:" | |
323 | - landmarkType = "7"> | |
324 | - </BreakpointContent> | |
325 | - </BreakpointProxy> | |
326 | - <BreakpointProxy | |
327 | - BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
328 | - <BreakpointContent | |
329 | - shouldBeEnabled = "Yes" | |
330 | - ignoreCount = "0" | |
331 | - continueAfterRunningActions = "No" | |
332 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/registAndLogin/LSGQuickLoginViewController.m" | |
333 | - timestampString = "537764957.263477" | |
334 | - startingColumnNumber = "9223372036854775807" | |
335 | - endingColumnNumber = "9223372036854775807" | |
336 | - startingLineNumber = "826" | |
337 | - endingLineNumber = "826" | |
338 | - landmarkName = "-layerViewButton" | |
339 | - landmarkType = "7"> | |
340 | - </BreakpointContent> | |
341 | - </BreakpointProxy> | |
342 | - </Breakpoints> | |
343 | 5 | </Bucket> |
ios/GameSDKDemo/letsgameDemo/Images.xcassets/AppIcon.appiconset/Contents.json
... | ... | @@ -2,6 +2,16 @@ |
2 | 2 | "images" : [ |
3 | 3 | { |
4 | 4 | "idiom" : "iphone", |
5 | + "size" : "20x20", | |
6 | + "scale" : "2x" | |
7 | + }, | |
8 | + { | |
9 | + "idiom" : "iphone", | |
10 | + "size" : "20x20", | |
11 | + "scale" : "3x" | |
12 | + }, | |
13 | + { | |
14 | + "idiom" : "iphone", | |
5 | 15 | "size" : "29x29", |
6 | 16 | "scale" : "2x" |
7 | 17 | }, |
... | ... | @@ -29,6 +39,11 @@ |
29 | 39 | "idiom" : "iphone", |
30 | 40 | "size" : "60x60", |
31 | 41 | "scale" : "3x" |
42 | + }, | |
43 | + { | |
44 | + "idiom" : "ios-marketing", | |
45 | + "size" : "1024x1024", | |
46 | + "scale" : "1x" | |
32 | 47 | } |
33 | 48 | ], |
34 | 49 | "info" : { |
ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
... | ... | @@ -88,6 +88,7 @@ |
88 | 88 | // [LetsGameAPI disableFB:YES]; |
89 | 89 | // [LetsGameAPI disableGoogle:YES]; |
90 | 90 | // [LetsGameAPI disableLine:YES]; |
91 | + [LetsGameAPI disableWeChat:YES]; | |
91 | 92 | NSLog(@"sdk version:%@",[[LetsGameAPI instance] version]); |
92 | 93 | //启用vk登录 |
93 | 94 | VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; |