Commit 6e6b962fb1c2cfb97eebcd7fec09c86a2c126050
1 parent
44e1460f10
Exists in
master
and in
1 other branch
SDK界面更新
Showing 23 changed files with 232 additions and 61 deletions Side-by-side Diff
- IOSDocument.md
- 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/GameSDKDemo.xcodeproj/xcuserdata/yanglele.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
- ios/GameSDKDemo/letsgameDemo/LSGAppDelegate.m
- ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
- ios/GameSDKDemo/letsgameDemo/letsgameDemo-Info.plist
- ios/GameSDKResources.bundle/en.strings
- ios/GameSDKResources.bundle/images/em@2x.png
- ios/GameSDKResources.bundle/images/face@2x.png
- ios/GameSDKResources.bundle/images/google@2x.png
- ios/GameSDKResources.bundle/images/line@2x.png
- ios/GameSDKResources.bundle/images/pwd@2x.png
- ios/GameSDKResources.bundle/images/split@2x.png
- ios/GameSDKResources.bundle/images/tri@2x.png
- ios/GameSDKResources.bundle/images/vk@2x.png
- ios/GameSDKResources.bundle/images/we@2x.png
- ios/GameSDKResources.bundle/th.strings
- ios/GameSDKResources.bundle/zh-Hans.strings
- ios/GameSDKResources.bundle/zh-Hant.strings
IOSDocument.md
| ... | ... | @@ -2,8 +2,8 @@ |
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | 接入手册 |
| 5 | -V 3.4.11 | |
| 6 | -2017年12月29日 | |
| 5 | +V 3.4.12 | |
| 6 | +2017年1月12日 | |
| 7 | 7 | |
| 8 | 8 | ## 概述 |
| 9 | 9 | #### 本SDK提供gump账号,fb账号,vk账号,Google帐号四种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。 |
| ... | ... | @@ -146,8 +146,19 @@ FB登录之后会产生token并自动登录,需要如果需要token的话, |
| 146 | 146 | NSLog(@"NO 不侵权"); |
| 147 | 147 | } |
| 148 | 148 | }]; |
| 149 | +### 11、横竖屏设置 | |
| 149 | 150 | |
| 150 | -### 11、微信登陆 | |
| 151 | + 首先设置SDK默认是横屏,在General->Deployment Info->Device Orientain下,只选择Landscape Left 和 Landscape Right,SDK的界面默认是横屏。 | |
| 152 | + 其次如果想使用竖屏的模式,需要在General->Deployment Info->Device Orientain下,只选择Portrait模式,并且需要在AppDelegate中的方法: | |
| 153 | + - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;靠前的位置添加代码设置: | |
| 154 | + | |
| 155 | + [LetsGameAPI DeviceOrientationIsHorizontal:NO]; | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | +### 12、微信登陆 | |
| 151 | 162 | |
| 152 | 163 | 首先在- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;方法中向微信注册应用 |
| 153 | 164 | //微信登陆 |
ios/GameSDK.framework/Versions/A/GameSDK
No preview for this file type
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
| ... | ... | @@ -19,7 +19,10 @@ static BOOL isDisableGoogle = NO; |
| 19 | 19 | |
| 20 | 20 | static BOOL hiddenLogo = NO; |
| 21 | 21 | |
| 22 | -static NSString *version = @"3.4.11"; | |
| 22 | +//默认横屏 | |
| 23 | +static BOOL DeviceOrientationIsHorizontal = YES; | |
| 24 | + | |
| 25 | +static NSString *version = @"3.4.12"; | |
| 23 | 26 | |
| 24 | 27 | @interface LetsGameAPI : NSObject<UIApplicationDelegate> |
| 25 | 28 | |
| ... | ... | @@ -50,6 +53,8 @@ static NSString *version = @"3.4.11"; |
| 50 | 53 | +(BOOL)isLineDisable; |
| 51 | 54 | +(void)hiddenLogo:(BOOL)isHidden; |
| 52 | 55 | +(BOOL)isHiddenLogo; |
| 56 | ++(void)DeviceOrientationIsHorizontal:(BOOL)isDisable; | |
| 57 | ++(BOOL)DeviceOrientationIsHorizontal; | |
| 53 | 58 | |
| 54 | 59 | - (void)logout; |
| 55 | 60 |
ios/GameSDK.zip
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.pbxproj
| ... | ... | @@ -13,8 +13,8 @@ |
| 13 | 13 | 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D97E1C4394C800534E33 /* VKSdk.framework */; }; |
| 14 | 14 | 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 331262361C50B56800B1B435 /* VKBridge.framework */; }; |
| 15 | 15 | 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */; }; |
| 16 | + 7517F2111FFF437F000237ED /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7517F2101FFF437E000237ED /* GameSDK.framework */; }; | |
| 16 | 17 | 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */; }; |
| 17 | - 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752A5F491CDC8B3200C36131 /* GameSDK.framework */; }; | |
| 18 | 18 | 75864D631FF35A22002C9012 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D601FF35A22002C9012 /* libsqlite3.tbd */; }; |
| 19 | 19 | 75864D651FF35A3A002C9012 /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D641FF35A3A002C9012 /* CoreTelephony.framework */; }; |
| 20 | 20 | 75864D671FF35A48002C9012 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D661FF35A48002C9012 /* libz.tbd */; }; |
| ... | ... | @@ -48,8 +48,8 @@ |
| 48 | 48 | 3309D97E1C4394C800534E33 /* VKSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKSdk.framework; path = letsgameDemo/VKSdk.framework; sourceTree = "<group>"; }; |
| 49 | 49 | 331262361C50B56800B1B435 /* VKBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKBridge.framework; path = ../VKBridge.framework; sourceTree = "<group>"; }; |
| 50 | 50 | 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = VKSdkResources.bundle; sourceTree = "<group>"; }; |
| 51 | + 7517F2101FFF437E000237ED /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; }; | |
| 51 | 52 | 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>"; }; | |
| 53 | 53 | 75864D601FF35A22002C9012 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; }; |
| 54 | 54 | 75864D641FF35A3A002C9012 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; }; |
| 55 | 55 | 75864D661FF35A48002C9012 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; |
| ... | ... | @@ -79,12 +79,12 @@ |
| 79 | 79 | 75864D691FF35A58002C9012 /* libc++.tbd in Frameworks */, |
| 80 | 80 | 75864D671FF35A48002C9012 /* libz.tbd in Frameworks */, |
| 81 | 81 | 75864D651FF35A3A002C9012 /* CoreTelephony.framework in Frameworks */, |
| 82 | + 7517F2111FFF437F000237ED /* GameSDK.framework in Frameworks */, | |
| 82 | 83 | 75864D631FF35A22002C9012 /* libsqlite3.tbd in Frameworks */, |
| 83 | 84 | 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */, |
| 84 | 85 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */, |
| 85 | 86 | 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */, |
| 86 | 87 | 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */, |
| 87 | - 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */, | |
| 88 | 88 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */, |
| 89 | 89 | 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */, |
| 90 | 90 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */, |
| ... | ... | @@ -143,11 +143,11 @@ |
| 143 | 143 | 9934F1B019303DC6005EF4AB /* Frameworks */ = { |
| 144 | 144 | isa = PBXGroup; |
| 145 | 145 | children = ( |
| 146 | + 7517F2101FFF437E000237ED /* GameSDK.framework */, | |
| 146 | 147 | 75864D681FF35A57002C9012 /* libc++.tbd */, |
| 147 | 148 | 75864D661FF35A48002C9012 /* libz.tbd */, |
| 148 | 149 | 75864D641FF35A3A002C9012 /* CoreTelephony.framework */, |
| 149 | 150 | 75864D601FF35A22002C9012 /* libsqlite3.tbd */, |
| 150 | - 752A5F491CDC8B3200C36131 /* GameSDK.framework */, | |
| 151 | 151 | 331262361C50B56800B1B435 /* VKBridge.framework */, |
| 152 | 152 | 3309D97E1C4394C800534E33 /* VKSdk.framework */, |
| 153 | 153 | 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */, |
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
| ... | ... | @@ -10,7 +10,7 @@ |
| 10 | 10 | ignoreCount = "0" |
| 11 | 11 | continueAfterRunningActions = "No" |
| 12 | 12 | filePath = "../../../iosgamesdk/GameSDK/letsgame/service/httpService/LSGUserService.m" |
| 13 | - timestampString = "536217870.40553" | |
| 13 | + timestampString = "537441826.965482" | |
| 14 | 14 | startingColumnNumber = "9223372036854775807" |
| 15 | 15 | endingColumnNumber = "9223372036854775807" |
| 16 | 16 | startingLineNumber = "594" |
| ... | ... | @@ -26,11 +26,11 @@ |
| 26 | 26 | ignoreCount = "0" |
| 27 | 27 | continueAfterRunningActions = "No" |
| 28 | 28 | filePath = "../../../iosgamesdk/GameSDK/letsgame/LetsGameAPI.m" |
| 29 | - timestampString = "536126823.106813" | |
| 29 | + timestampString = "537764957.2615269" | |
| 30 | 30 | startingColumnNumber = "9223372036854775807" |
| 31 | 31 | endingColumnNumber = "9223372036854775807" |
| 32 | - startingLineNumber = "281" | |
| 33 | - endingLineNumber = "281" | |
| 32 | + startingLineNumber = "287" | |
| 33 | + endingLineNumber = "287" | |
| 34 | 34 | landmarkName = "-registerAppWeChatWithAppId:appKey:Success:failure:" |
| 35 | 35 | landmarkType = "7"> |
| 36 | 36 | <Locations> |
| ... | ... | @@ -42,11 +42,11 @@ |
| 42 | 42 | moduleName = "GameSDKDemo" |
| 43 | 43 | usesParentBreakpointCondition = "Yes" |
| 44 | 44 | urlString = "file:///Users/yanglele/workproject/project/GumpSDK/iosgamesdk/GameSDK/letsgame/LetsGameAPI.m" |
| 45 | - timestampString = "536212412.523702" | |
| 45 | + timestampString = "537763058.957817" | |
| 46 | 46 | startingColumnNumber = "9223372036854775807" |
| 47 | 47 | endingColumnNumber = "9223372036854775807" |
| 48 | - startingLineNumber = "281" | |
| 49 | - endingLineNumber = "281" | |
| 48 | + startingLineNumber = "287" | |
| 49 | + endingLineNumber = "287" | |
| 50 | 50 | offsetFromSymbolStart = "161"> |
| 51 | 51 | </Location> |
| 52 | 52 | <Location |
| ... | ... | @@ -57,11 +57,11 @@ |
| 57 | 57 | moduleName = "GameSDKDemo" |
| 58 | 58 | usesParentBreakpointCondition = "Yes" |
| 59 | 59 | urlString = "file:///Users/yanglele/workproject/project/GumpSDK/iosgamesdk/GameSDK/letsgame/LetsGameAPI.m" |
| 60 | - timestampString = "536212412.526449" | |
| 60 | + timestampString = "537763058.962042" | |
| 61 | 61 | startingColumnNumber = "9223372036854775807" |
| 62 | 62 | endingColumnNumber = "9223372036854775807" |
| 63 | - startingLineNumber = "281" | |
| 64 | - endingLineNumber = "281" | |
| 63 | + startingLineNumber = "287" | |
| 64 | + endingLineNumber = "287" | |
| 65 | 65 | offsetFromSymbolStart = "19"> |
| 66 | 66 | </Location> |
| 67 | 67 | </Locations> |
| ... | ... | @@ -90,7 +90,7 @@ |
| 90 | 90 | moduleName = "GameSDKDemo" |
| 91 | 91 | usesParentBreakpointCondition = "Yes" |
| 92 | 92 | urlString = "file:///Users/yanglele/workproject/project/GumpSDK/iosgamesdk/GameSDK/letsgame/registAndLogin/LSGWeChatViewController.m" |
| 93 | - timestampString = "536212412.554201" | |
| 93 | + timestampString = "537763058.96706" | |
| 94 | 94 | startingColumnNumber = "9223372036854775807" |
| 95 | 95 | endingColumnNumber = "9223372036854775807" |
| 96 | 96 | startingLineNumber = "51" |
| ... | ... | @@ -105,7 +105,7 @@ |
| 105 | 105 | moduleName = "GameSDKDemo" |
| 106 | 106 | usesParentBreakpointCondition = "Yes" |
| 107 | 107 | urlString = "file:///Users/yanglele/workproject/project/GumpSDK/iosgamesdk/GameSDK/letsgame/registAndLogin/LSGWeChatViewController.m" |
| 108 | - timestampString = "536212412.557216" | |
| 108 | + timestampString = "537763058.969188" | |
| 109 | 109 | startingColumnNumber = "9223372036854775807" |
| 110 | 110 | endingColumnNumber = "9223372036854775807" |
| 111 | 111 | startingLineNumber = "52" |
| ... | ... | @@ -201,13 +201,141 @@ |
| 201 | 201 | shouldBeEnabled = "Yes" |
| 202 | 202 | ignoreCount = "0" |
| 203 | 203 | continueAfterRunningActions = "No" |
| 204 | - filePath = "../../../iosgamesdk/GameSDK/letsgame/registAndLogin/LSGAutoLoginViewController.m" | |
| 205 | - timestampString = "536217870.406435" | |
| 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" | |
| 206 | 334 | startingColumnNumber = "9223372036854775807" |
| 207 | 335 | endingColumnNumber = "9223372036854775807" |
| 208 | - startingLineNumber = "56" | |
| 209 | - endingLineNumber = "56" | |
| 210 | - landmarkName = "-viewDidLoad" | |
| 336 | + startingLineNumber = "826" | |
| 337 | + endingLineNumber = "826" | |
| 338 | + landmarkName = "-layerViewButton" | |
| 211 | 339 | landmarkType = "7"> |
| 212 | 340 | </BreakpointContent> |
| 213 | 341 | </BreakpointProxy> |
ios/GameSDKDemo/letsgameDemo/LSGAppDelegate.m
| ... | ... | @@ -15,6 +15,7 @@ |
| 15 | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions |
| 16 | 16 | { |
| 17 | 17 | self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; |
| 18 | + [LetsGameAPI DeviceOrientationIsHorizontal:NO]; | |
| 18 | 19 | |
| 19 | 20 | LSGMainViewController *viewController = [[LSGMainViewController alloc] init]; |
| 20 | 21 | self.window.rootViewController = viewController; |
ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
| ... | ... | @@ -85,8 +85,8 @@ |
| 85 | 85 | [LetsGameAPI instance].appId = @"100";//@"100";//10047 |
| 86 | 86 | [LetsGameAPI instance].appKey = @"b59c21a078fde074a6750e91ed19fb21";//@"f899139df5e1059396431415e770c6dd";//eccd9f7dc92858b741132fda313130cf |
| 87 | 87 | [LetsGameAPI hiddenLogo:YES]; |
| 88 | - [LetsGameAPI disableFB:YES]; | |
| 89 | - [LetsGameAPI disableGoogle:YES]; | |
| 88 | +// [LetsGameAPI disableFB:YES]; | |
| 89 | +// [LetsGameAPI disableGoogle:YES]; | |
| 90 | 90 | // [LetsGameAPI disableLine:YES]; |
| 91 | 91 | NSLog(@"sdk version:%@",[[LetsGameAPI instance] version]); |
| 92 | 92 | //启用vk登录 |
ios/GameSDKDemo/letsgameDemo/letsgameDemo-Info.plist
| ... | ... | @@ -71,8 +71,7 @@ |
| 71 | 71 | <true/> |
| 72 | 72 | <key>UISupportedInterfaceOrientations</key> |
| 73 | 73 | <array> |
| 74 | - <string>UIInterfaceOrientationLandscapeLeft</string> | |
| 75 | - <string>UIInterfaceOrientationLandscapeRight</string> | |
| 74 | + <string>UIInterfaceOrientationPortrait</string> | |
| 76 | 75 | </array> |
| 77 | 76 | </dict> |
| 78 | 77 | </plist> |
ios/GameSDKResources.bundle/en.strings
| 1 | -"user_name_hint" = "Email"; | |
| 1 | +"user_name_hint" = "Account"; | |
| 2 | 2 | "password_hint" = "Password"; |
| 3 | -"quick_play" = "Play as Guest"; | |
| 4 | -"login" = "Login"; | |
| 3 | +"quick_play" = "Guest login"; | |
| 4 | +"login" = "Log In"; | |
| 5 | 5 | "gump_login" = "Login"; |
| 6 | 6 | "signup" = "Sign up"; |
| 7 | 7 | "bind" = "Bind your email"; |
| ... | ... | @@ -11,19 +11,26 @@ |
| 11 | 11 | "illegal_uname_tip" = "Invalid Email"; |
| 12 | 12 | "illegal_pwd_tip" = "Invalid Password (6-20 characters)"; |
| 13 | 13 | "illegal_user_exist" = "Email has already been used"; |
| 14 | -"illegal_pwd_invalid" = "Incorrect password. Please try again."; | |
| 14 | +"illegal_pwd_invalid" = "Password error"; | |
| 15 | 15 | "illegal_user_not_exist" = "Invalid Email"; |
| 16 | 16 | "invalid_email" = "Please input your email"; |
| 17 | 17 | "login_fail" = "Login Failed"; |
| 18 | 18 | "signup_fail" = "Signup Failed"; |
| 19 | 19 | "bind_fail" = "Bind Failed"; |
| 20 | 20 | "switch"="Switch Account"; |
| 21 | -"change_password" = "Change Password"; | |
| 21 | +"change_password" = "Modify Password"; | |
| 22 | 22 | "current_password" = "Current Password"; |
| 23 | 23 | "change_password_notice" = “Current passeord isn't required when reset password."; |
| 24 | 24 | "new_password" = "New Password"; |
| 25 | -"Reset" = "Reset"; | |
| 25 | +"Reset" = "Forget Password? Touch this"; | |
| 26 | 26 | "Confirm" = "Confirm"; |
| 27 | 27 | "Succeed" = "Succeed"; |
| 28 | 28 | "reset_fail" = "Reset failed, please contact customer service"; |
| 29 | -"reset_success" = "An Email has been sent to you, please follow the instructions in Email."; | |
| 30 | 29 | \ No newline at end of file |
| 30 | +"reset_success" = "Verified email has been sent. Please reset Password according to the email"; | |
| 31 | +"forget_change_password" = "Modify/Forget Password"; | |
| 32 | +"other_login_style" = "Others"; | |
| 33 | +"account_pwd_invalid" = "Please input both account and password"; | |
| 34 | +"new_old_password_diff" = "Password mismatch"; | |
| 35 | +"Confirm_password" = "Confirm"; | |
| 36 | +"input_new_pwd" = "Please input new password"; | |
| 37 | +"back" = "Back"; |
ios/GameSDKResources.bundle/images/em@2x.png
1.32 KB
ios/GameSDKResources.bundle/images/face@2x.png
1.25 KB
ios/GameSDKResources.bundle/images/google@2x.png
1.75 KB
ios/GameSDKResources.bundle/images/line@2x.png
2.14 KB
ios/GameSDKResources.bundle/images/pwd@2x.png
1.14 KB
ios/GameSDKResources.bundle/images/split@2x.png
461 Bytes
ios/GameSDKResources.bundle/images/tri@2x.png
550 Bytes
ios/GameSDKResources.bundle/images/vk@2x.png
1.83 KB
ios/GameSDKResources.bundle/images/we@2x.png
2.25 KB
ios/GameSDKResources.bundle/th.strings
| 1 | -"user_name_hint" = "อีเมลล์"; | |
| 1 | +"user_name_hint" = "ชื่อบัญชี"; | |
| 2 | 2 | "password_hint" = "พาสเวิร์ด"; |
| 3 | -"quick_play" = "การเล่นของผู้เข้าพัก"; | |
| 3 | +"quick_play" = "บัญชีนักท่องเที่ยว"; | |
| 4 | 4 | "quick_login" = "เริ่มเล่น"; |
| 5 | -"login" = "ล็อกอิน"; | |
| 6 | -"gump_login" = "Login"; | |
| 5 | +"login" = "ล็อคอินชื่อบัญชีรหัสผ่าน"; | |
| 6 | +"gump_login" = "ล็อคอิน"; | |
| 7 | 7 | "signup" = "ลงทะเบียน"; |
| 8 | 8 | "bind" = "ผูกอีเมลล์"; |
| 9 | 9 | "loading" = "กำลังโหลด"; |
| 10 | 10 | "illegal_uname_tip" = "อีเมลล์ไม่ถูกต้อง"; |
| 11 | 11 | "illegal_pwd_tip" = "พาสเวิร์ดไม่ถูกต้อง(6-20 ตัวอักษร)"; |
| 12 | 12 | "illegal_user_exist" = "อีเมลล์นี้ได้ถูกใช้แล้ว"; |
| 13 | -"illegal_pwd_invalid" = "พาสเวิร์ดไม่ถูกต้อง, โปรดลองใหม่อีกครั้ง"; | |
| 13 | +"account_pwd_invalid" = "ชื่อบัญชีและรหัสผ่านห้ามเว้นว่าง"; | |
| 14 | 14 | "illegal_user_not_exist" = "อีเมลล์ไม่ถูกต้อง"; |
| 15 | 15 | "invalid_email" = "ใส่อีเมลล์ของคุณ"; |
| 16 | 16 | "login_fail" = "ล็อกอินผิดพลาด"; |
| 17 | 17 | "signup_fail" = "ลงทะเบียนไม่สำเร็จ"; |
| 18 | 18 | "bind_fail" = "ผูกอีเมลล์ไม่สำเร็จ"; |
| 19 | -"change_password" = "แก้ไขพาสเวิร์ด"; | |
| 19 | +"change_password" = "แก้ไขรหัสผ่าน"; | |
| 20 | 20 | "current_password" = "พาสเวิร์ดปัจจุบัน"; |
| 21 | 21 | "change_password_notice" = "ไม่สามารถตั้งพาสเวิร์ดซ้ำกับพาสเวิร์ดปัจจุบันได้."; |
| 22 | 22 | "new_password" = "พาสเวิร์ดใหม่"; |
| 23 | -"Reset" = "ตั้งพาสเวิร์ด"; | |
| 23 | +"Reset" = "ลืมรหัสผ่าน?คลิกรีเซ็ตรหัสผ่าน"; | |
| 24 | 24 | "Confirm" = "ยืนยัน"; |
| 25 | 25 | "Succeed" = "แก้ไขสำเร็จ"; |
| 26 | 26 | "reset_fail" = "แก้ไขล้มเหลว,กรุณาติดต่อแอดมิน"; |
| 27 | -"reset_success" = "ระบบได้แจ้งข้อมูลการเปลี่ยนพาสเวิร์ดไปยังอีเมลล์สำรอง กรุณาทำตามขั้นตอนในอีเมลล์."; | |
| 27 | +"reset_success" = "ส่งอีเมลล์ยืนยันแล้ว กรุณาทำตามขั้นตอนที่ระบุในอีเมลล์เพื่อรีเซ็ตรหัสผ่าน"; | |
| 28 | +"forget_change_password" = "แก้ไข/ลืมรหัสผ่าน"; | |
| 29 | +"other_login_style" = "ล็อคอินช่องทางอื่น"; | |
| 30 | +"new_old_password_diff" = "รหัสผ่านไม่เหมือนกัน"; | |
| 31 | +"Confirm_password" = "ยืนยันรหัสผ่าน"; | |
| 32 | +"input_new_pwd" = "กรุณากรอกรหัสผ่านใหม่"; | |
| 33 | +"back" = "ย้อนกลับ"; |
ios/GameSDKResources.bundle/zh-Hans.strings
| 1 | -"user_name_hint" = "邮箱"; | |
| 1 | +"user_name_hint" = "账号"; | |
| 2 | 2 | "password_hint" = "密码"; |
| 3 | 3 | "quick_login" = "一键进入"; |
| 4 | -"quick_play" = "Play as Guest"; | |
| 5 | -"gump_login" = "Login"; | |
| 6 | -"login" = "登陆"; | |
| 4 | +"quick_play" = "游客登录"; | |
| 5 | +"gump_login" = "登录"; | |
| 6 | +"login" = "账号密码登录"; | |
| 7 | 7 | "loginFacebook" = "登录Facebook"; |
| 8 | 8 | "signup" = "注册"; |
| 9 | 9 | "bind" = "绑定邮箱"; |
| ... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 | "illegal_uname_tip" = "邮箱不存在"; |
| 12 | 12 | "illegal_pwd_tip" = "密码格式不正确 (6–20字符)"; |
| 13 | 13 | "illegal_user_exist" = "邮箱已注册"; |
| 14 | -"illegal_pwd_invalid" = "密码不正确,请重试"; | |
| 14 | +"illegal_pwd_invalid" = "密码错误"; | |
| 15 | 15 | "illegal_user_not_exist" = "邮箱格式不正确"; |
| 16 | 16 | "invalid_email" = "请输入正确的邮箱"; |
| 17 | 17 | "login_fail" = "登录失败"; |
| ... | ... | @@ -19,12 +19,19 @@ |
| 19 | 19 | "bind_fail" = "绑定失败"; |
| 20 | 20 | "GumptechLogin" = "甘普登录"; |
| 21 | 21 | "switch" = "切换账户"; |
| 22 | -"change_password" = "修改密码"; | |
| 22 | +"change_password" = "修改密码?"; | |
| 23 | 23 | "current_password" = "当前密码"; |
| 24 | 24 | "change_password_notice" = "重置密码时可不填写当前密码"; |
| 25 | 25 | "new_password" = "新密码"; |
| 26 | -"Reset" = "重置"; | |
| 27 | -"Confirm" = "确定修改"; | |
| 26 | +"Reset" = "忘记密码?点此重置"; | |
| 27 | +"Confirm" = "确定"; | |
| 28 | 28 | "Succeed" = "修改成功"; |
| 29 | 29 | "reset_fail" = "修改失败,请与客服联系"; |
| 30 | -"reset_success" = "密码重置邮件已发送到指定账户邮箱,请按邮件内的提示操作"; | |
| 30 | +"reset_success" = "验证邮件已发送,请按照邮件提示进行密码重置"; | |
| 31 | +"other_login_style" = "其他登录方式"; | |
| 32 | +"account_pwd_invalid" = "账号和密码不能为空"; | |
| 33 | +"new_old_password_diff" = "密码不一致"; | |
| 34 | +"Confirm_password" = "确认密码"; | |
| 35 | +"forget_change_password" = "修改/忘记密码?"; | |
| 36 | +"input_new_pwd" = "请输入新密码"; | |
| 37 | +"back" = "返回"; |
ios/GameSDKResources.bundle/zh-Hant.strings
| 1 | -"user_name_hint" = "郵箱"; | |
| 1 | +"user_name_hint" = "帳號"; | |
| 2 | 2 | "password_hint" = "密碼"; |
| 3 | 3 | "quick_login" = "一鍵進入"; |
| 4 | -"quick_play" = "Play as Guest"; | |
| 5 | -"gump_login" = "Login"; | |
| 6 | -"login" = "登陸"; | |
| 4 | +"quick_play" = "遊客登陸"; | |
| 5 | +"gump_login" = "登錄"; | |
| 6 | +"login" = "帳號密碼登錄"; | |
| 7 | 7 | "signup" = "註冊"; |
| 8 | 8 | "bind" = "綁定郵箱"; |
| 9 | 9 | "loading" = "加載中……"; |
| 10 | 10 | "illegal_uname_tip" = "郵箱不存在"; |
| 11 | 11 | "illegal_pwd_tip" = "密碼格式不爭取 (6–20字符)"; |
| 12 | 12 | "illegal_user_exist" = "郵箱已註冊"; |
| 13 | -"illegal_pwd_invalid" = "密碼不正確,請重試"; | |
| 13 | +"illegal_pwd_invalid" = "密碼錯誤"; | |
| 14 | 14 | "illegal_user_not_exist" = "郵箱格式不正確"; |
| 15 | 15 | "invalid_email" = "請輸入正確的郵箱"; |
| 16 | 16 | "login_fail" = "登陸失敗"; |
| ... | ... | @@ -22,8 +22,15 @@ |
| 22 | 22 | "current_password" = "當前密碼"; |
| 23 | 23 | "change_password_notice" = "重置密碼時可不填寫當前密碼"; |
| 24 | 24 | "new_password" = "新密碼"; |
| 25 | -"Reset" = "重置"; | |
| 26 | -"Confirm" = "確定修改"; | |
| 25 | +"Reset" = "忘記密碼點此重置"; | |
| 26 | +"Confirm" = "確定"; | |
| 27 | 27 | "Succeed" = "修改成功"; |
| 28 | 28 | "reset_fail" = "修改失败,請與客服聯系"; |
| 29 | -"reset_success" = "密碼重置郵件已發送到指定賬戶郵箱,請按郵件內的提示操作"; | |
| 30 | 29 | \ No newline at end of file |
| 30 | +"reset_success" = "驗證郵件已發送,請按照郵件提示進行重置"; | |
| 31 | +"other_login_style" = "其他登錄方式"; | |
| 32 | +"account_pwd_invalid" = "帳號或密碼不能為空"; | |
| 33 | +"new_old_password_diff" = "密碼不一致"; | |
| 34 | +"Confirm_password" = "確認密碼"; | |
| 35 | +"forget_change_password" = "修改/忘記密碼"; | |
| 36 | +"input_new_pwd" = "請輸入新密碼"; | |
| 37 | +"back" = "返回"; |