Commit 3956cd494c179fa628947c6304077966d2e3f5c9
1 parent
7a00ee2787
Exists in
master
密码修改与重置
Showing 36 changed files with 112 additions and 214 deletions Side-by-side Diff
- 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/letsgameDemo/GameSDKResources.bundle/Js.txt
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/PayJs.txt
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/en.strings
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/FBLoginViewButton@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/FBLoginViewButtonPressed@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/bottom_bg@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/header_bg@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/ic_fb@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/ic_pwd@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/ic_user@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/ic_vk@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/icon_back@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/icon_back_pressed@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/icon_cancel@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/icon_cancel_pressed@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/icon_close@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/loading@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/log@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/or@2x.png
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/pt-PT.strings
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/ru.strings
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/th.strings
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/zh-Hans.strings
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/zh-Hant.strings
- ios/GameSDKDemo/letsgameDemo/LSGAppDelegate.m
- ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
- ios/GameSDKResources.bundle/en.strings
- ios/GameSDKResources.bundle/ru.strings
- ios/GameSDKResources.bundle/template.html
- ios/GameSDKResources.bundle/th.strings
- ios/GameSDKResources.bundle/zh-Hans.strings
- ios/GameSDKResources.bundle/zh-Hant.strings
ios/GameSDK.framework/Versions/A/GameSDK
No preview for this file type
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
... | ... | @@ -14,14 +14,15 @@ static BOOL isEnableVK = NO; |
14 | 14 | |
15 | 15 | static BOOL hiddenLogo = NO; |
16 | 16 | |
17 | -static NSString *version = @"3.3.6"; | |
17 | +static NSString *version = @"3.3.7"; | |
18 | 18 | |
19 | -@interface LetsGameAPI : NSObject | |
19 | +@interface LetsGameAPI : NSObject<UIApplicationDelegate> | |
20 | 20 | |
21 | 21 | @property (nonatomic, strong) NSString *appId; |
22 | 22 | @property (nonatomic, strong) NSString *appKey; |
23 | 23 | @property (nonatomic, copy) LSGLoginSuccBlock succBlock; |
24 | 24 | @property (nonatomic, copy) LSGDismissBlock dismissBlock; |
25 | +@property (nonatomic, assign) int isDebug; | |
25 | 26 | |
26 | 27 | @property (nonatomic,retain) id<VKBridgeProtocol> vkBridge; |
27 | 28 | //@property(nonatomic,strong) NSString *version; |
... | ... | @@ -52,4 +53,10 @@ static NSString *version = @"3.3.6"; |
52 | 53 | |
53 | 54 | -(void)registeIapObserver; |
54 | 55 | |
56 | +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; | |
57 | + | |
58 | +-(void)applicationWillTerminate:(UIApplication *)application; | |
59 | + | |
60 | +-(void)decideIsDebug:(int)isDebug; | |
61 | + | |
55 | 62 | @end |
ios/GameSDK.zip
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.pbxproj
... | ... | @@ -12,9 +12,10 @@ |
12 | 12 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */; }; |
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 | - 333626911C9BEFDC00839513 /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 335EB07F1C5203DA003E6F44 /* GameSDK.framework */; }; | |
16 | - 335EB0691C51D67D003E6F44 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 335EB0681C51D67D003E6F44 /* GameSDKResources.bundle */; }; | |
17 | 15 | 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */; }; |
16 | + 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */; }; | |
17 | + 752A5F441CDC82C000C36131 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 752A5F431CDC82C000C36131 /* libsqlite3.tbd */; }; | |
18 | + 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752A5F491CDC8B3200C36131 /* GameSDK.framework */; }; | |
18 | 19 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B119303DC6005EF4AB /* Foundation.framework */; }; |
19 | 20 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B519303DC6005EF4AB /* UIKit.framework */; }; |
20 | 21 | 9934F1BE19303DC6005EF4AB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1BD19303DC6005EF4AB /* main.m */; }; |
... | ... | @@ -34,9 +35,10 @@ |
34 | 35 | 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; }; |
35 | 36 | 3309D97E1C4394C800534E33 /* VKSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKSdk.framework; path = letsgameDemo/VKSdk.framework; sourceTree = "<group>"; }; |
36 | 37 | 331262361C50B56800B1B435 /* VKBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKBridge.framework; path = ../VKBridge.framework; sourceTree = "<group>"; }; |
37 | - 335EB0681C51D67D003E6F44 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = GameSDKResources.bundle; sourceTree = "<group>"; }; | |
38 | - 335EB07F1C5203DA003E6F44 /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; }; | |
39 | 38 | 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = VKSdkResources.bundle; sourceTree = "<group>"; }; |
39 | + 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = GameSDKResources.bundle; path = ../../GameSDKResources.bundle; sourceTree = "<group>"; }; | |
40 | + 752A5F431CDC82C000C36131 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; }; | |
41 | + 752A5F491CDC8B3200C36131 /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; }; | |
40 | 42 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GameSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
41 | 43 | 9934F1B119303DC6005EF4AB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; |
42 | 44 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; |
... | ... | @@ -59,11 +61,12 @@ |
59 | 61 | isa = PBXFrameworksBuildPhase; |
60 | 62 | buildActionMask = 2147483647; |
61 | 63 | files = ( |
62 | - 333626911C9BEFDC00839513 /* GameSDK.framework in Frameworks */, | |
64 | + 752A5F441CDC82C000C36131 /* libsqlite3.tbd in Frameworks */, | |
63 | 65 | 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */, |
64 | 66 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */, |
65 | 67 | 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */, |
66 | 68 | 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */, |
69 | + 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */, | |
67 | 70 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */, |
68 | 71 | 997523301930A50F00F50D29 /* SystemConfiguration.framework in Frameworks */, |
69 | 72 | 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */, |
... | ... | @@ -114,7 +117,8 @@ |
114 | 117 | 9934F1B019303DC6005EF4AB /* Frameworks */ = { |
115 | 118 | isa = PBXGroup; |
116 | 119 | children = ( |
117 | - 335EB07F1C5203DA003E6F44 /* GameSDK.framework */, | |
120 | + 752A5F491CDC8B3200C36131 /* GameSDK.framework */, | |
121 | + 752A5F431CDC82C000C36131 /* libsqlite3.tbd */, | |
118 | 122 | 331262361C50B56800B1B435 /* VKBridge.framework */, |
119 | 123 | 3309D97E1C4394C800534E33 /* VKSdk.framework */, |
120 | 124 | 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */, |
... | ... | @@ -133,7 +137,7 @@ |
133 | 137 | 9934F1B719303DC6005EF4AB /* letsgameDemo */ = { |
134 | 138 | isa = PBXGroup; |
135 | 139 | children = ( |
136 | - 335EB0681C51D67D003E6F44 /* GameSDKResources.bundle */, | |
140 | + 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */, | |
137 | 141 | 9934F1C319303DC6005EF4AB /* Images.xcassets */, |
138 | 142 | 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */, |
139 | 143 | 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */, |
... | ... | @@ -212,7 +216,7 @@ |
212 | 216 | buildActionMask = 2147483647; |
213 | 217 | files = ( |
214 | 218 | 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */, |
215 | - 335EB0691C51D67D003E6F44 /* GameSDKResources.bundle in Resources */, | |
219 | + 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */, | |
216 | 220 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */, |
217 | 221 | ); |
218 | 222 | runOnlyForDeploymentPostprocessing = 0; |
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/Js.txt
... | ... | @@ -1,46 +0,0 @@ |
1 | -;(function() { | |
2 | -var messagingIframe, | |
3 | -bridge = 'sdk', | |
4 | -CUSTOM_PROTOCOL_SCHEME = 'jscall'; | |
5 | -var appId = '%@' ,deviceId='%@'; | |
6 | - | |
7 | - | |
8 | -if (window[bridge]) { return } | |
9 | - | |
10 | -// 创建隐藏的iframe | |
11 | -function _createQueueReadyIframe(doc) { | |
12 | - messagingIframe = doc.createElement('iframe'); | |
13 | - messagingIframe.style.display = 'none'; | |
14 | - doc.documentElement.appendChild(messagingIframe); | |
15 | -} | |
16 | - | |
17 | -window[bridge] = {}; | |
18 | - | |
19 | -window[bridge]['getAppId']=function getAppId(){ | |
20 | -//alert('appid='+appId); | |
21 | - return appId; | |
22 | -}; | |
23 | -window[bridge]['getDeviceId']=function getDeviceId(){ | |
24 | - return deviceId; | |
25 | -}; | |
26 | - | |
27 | -window[bridge]['closeWin'] = function closeWin(uid,nick,sessionKey){ | |
28 | -document.location=CUSTOM_PROTOCOL_SCHEME + ':' + arguments.callee.name + ':' + encodeURIComponent(JSON.stringify(arguments)); | |
29 | -}; | |
30 | -//var methods = ["closeWin(uid,nick,sessionKey)"]; | |
31 | -//var methodsWithoutParam =["closeWin"]; | |
32 | -//for (var i=0;i<methods.length;i++){ | |
33 | -// var method = methods[i]; | |
34 | -// var methodWithoutParam = methodsWithoutParam[i]; | |
35 | -// var code = "(window[bridge])[methodWithoutParam] = function " + method + " {var fs =CUSTOM_PROTOCOL_SCHEME + ':' + arguments.callee.name + ':' + encodeURIComponent(JSON.stringify(arguments)); messagingIframe.src = fs;alert('closeWin src:'+messagingIframe.src);}"; | |
36 | -// eval(code); | |
37 | -//} | |
38 | - | |
39 | -//创建iframe,必须在创建app之后,否则会出现死循环 | |
40 | -_createQueueReadyIframe(document); | |
41 | -//通知js开始初始化 | |
42 | -//alert('onInjectJsOver='+typeof(onInjectJsOver)); | |
43 | -if(typeof(onInjectJsOver)=='function') | |
44 | - onInjectJsOver(); | |
45 | - | |
46 | -})(); | |
47 | 0 | \ No newline at end of file |
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/PayJs.txt
... | ... | @@ -1,38 +0,0 @@ |
1 | -;(function() { | |
2 | -var messagingIframe, | |
3 | -bridge = 'sdk', | |
4 | -CUSTOM_PROTOCOL_SCHEME = 'jscall'; | |
5 | - | |
6 | - | |
7 | -if (window[bridge]) { return } | |
8 | - | |
9 | -// 创建隐藏的iframe | |
10 | -function _createQueueReadyIframe(doc) { | |
11 | - messagingIframe = doc.createElement('iframe'); | |
12 | - messagingIframe.style.display = 'none'; | |
13 | - doc.documentElement.appendChild(messagingIframe); | |
14 | -} | |
15 | - | |
16 | -window[bridge] = {}; | |
17 | - | |
18 | - | |
19 | -window[bridge]['closeWin'] = function closeWin(oid,status,extraInfo){ | |
20 | - | |
21 | -messagingIframe.src=CUSTOM_PROTOCOL_SCHEME + ':' + arguments.callee.name + ':' + encodeURIComponent(JSON.stringify(arguments)); | |
22 | -}; | |
23 | -//var methods = ["closeWin(uid,nick,sessionKey)"]; | |
24 | -//var methodsWithoutParam =["closeWin"]; | |
25 | -//for (var i=0;i<methods.length;i++){ | |
26 | -// var method = methods[i]; | |
27 | -// var methodWithoutParam = methodsWithoutParam[i]; | |
28 | -// var code = "(window[bridge])[methodWithoutParam] = function " + method + " {var fs =CUSTOM_PROTOCOL_SCHEME + ':' + arguments.callee.name + ':' + encodeURIComponent(JSON.stringify(arguments)); messagingIframe.src = fs;alert('closeWin src:'+messagingIframe.src);}"; | |
29 | -// eval(code); | |
30 | -//} | |
31 | - | |
32 | -//创建iframe,必须在创建app之后,否则会出现死循环 | |
33 | -_createQueueReadyIframe(document); | |
34 | -//通知js开始初始化 | |
35 | -if(typeof(onInjectJsOver)=='function') | |
36 | - onInjectJsOver(); | |
37 | - | |
38 | -})(); | |
39 | 0 | \ No newline at end of file |
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/en.strings
... | ... | @@ -1,20 +0,0 @@ |
1 | -"user_name_hint" = "Email"; | |
2 | -"password_hint" = "Password"; | |
3 | -"quick_play" = "Guest Play"; | |
4 | -"login" = "Login"; | |
5 | -"gump_login" = "Login"; | |
6 | -"signup" = "Signup"; | |
7 | -"bind" = "Bound to email"; | |
8 | -"loading" = "Loading"; | |
9 | -"cancel" = "Cancel"; | |
10 | -"ok" = "OK"; | |
11 | -"illegal_uname_tip" = "Invalid Email"; | |
12 | -"illegal_pwd_tip" = "Invalid Password (6-20 characters)"; | |
13 | -"illegal_user_exist" = "Email has already used"; | |
14 | -"illegal_pwd_invalid" = "Password is incorrect, please try again"; | |
15 | -"illegal_user_not_exist" = "Invalid Email"; | |
16 | -"invalid_email" = "Please input your email"; | |
17 | -"login_fail" = "Login failed"; | |
18 | -"signup_fail" = "Signup failed"; | |
19 | -"bind_fail" = "Bound failed"; | |
20 | -"switch"="Switching accounts"; | |
21 | 0 | \ No newline at end of file |
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/FBLoginViewButton@2x.png
1.44 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/FBLoginViewButtonPressed@2x.png
1.29 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/bottom_bg@2x.png
1.39 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/header_bg@2x.png
1.13 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/ic_fb@2x.png
2.67 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/ic_pwd@2x.png
445 Bytes
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/ic_user@2x.png
570 Bytes
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/ic_vk@2x.png
3.89 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/icon_back@2x.png
1.58 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/icon_back_pressed@2x.png
1.58 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/icon_cancel@2x.png
3.11 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/icon_cancel_pressed@2x.png
3.12 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/icon_close@2x.png
1.9 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/loading@2x.png
11.4 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/log@2x.png
20.4 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/images/or@2x.png
1.19 KB
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/pt-PT.strings
... | ... | @@ -1,18 +0,0 @@ |
1 | -"user_name_hint" = "Email"; | |
2 | -"password_hint" = "Senha"; | |
3 | -"quick_login" = "jogo de hóspedes"; | |
4 | -"quick_play" = "Play"; | |
5 | -"login" = "Login"; | |
6 | -"gump_login" = "Login"; | |
7 | -"signup" = "Registrar"; | |
8 | -"bind" = "Vincular ao email"; | |
9 | -"loading" = "Carregando"; | |
10 | -"illegal_uname_tip" = "Email inválido"; | |
11 | -"illegal_pwd_tip" = "Senha Inválida (6-20 caracteres)"; | |
12 | -"illegal_user_exist" = "Email já está em uso"; | |
13 | -"illegal_pwd_invalid" = "Senha incorreta, favor tentar novamente"; | |
14 | -"illegal_user_not_exist" = "Email Inválido"; | |
15 | -"invalid_email" = "Favor inserir seu email"; | |
16 | -"login_fail" = "Login falhou"; | |
17 | -"signup_fail" = "Registrar falhou"; | |
18 | -"bind_fail" = "Vincular falhou"; |
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/ru.strings
... | ... | @@ -1,19 +0,0 @@ |
1 | -"user_name_hint" = "Почта"; | |
2 | -"password_hint" = "Пароль"; | |
3 | -"quick_play" = "Guest Play"; | |
4 | -"login" = "Войти"; | |
5 | -"gump_login" = "Login"; | |
6 | -"signup" = "Зарегистрироваться"; | |
7 | -"bind" = "Bound to email"; | |
8 | -"loading" = "Загружаю..."; | |
9 | -"cancel" = "отменить"; | |
10 | -"ok" = "Ок"; | |
11 | -"illegal_uname_tip" = "Неверный электронный адрес "; | |
12 | -"illegal_pwd_tip" = "Неверный пароль (6-20 символов)"; | |
13 | -"illegal_user_exist" = "Почта используется"; | |
14 | -"illegal_pwd_invalid" = "Введите верный пароль"; | |
15 | -"illegal_user_not_exist" = "Почта не зарегистрирована"; | |
16 | -"invalid_email" = "Неверный электронный адрес"; | |
17 | -"login_fail" = "не удалось войти"; | |
18 | -"signup_fail" = "кандидату не"; | |
19 | -"bind_fail" = "Bound failed"; | |
20 | 0 | \ No newline at end of file |
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/th.strings
... | ... | @@ -1,18 +0,0 @@ |
1 | -"user_name_hint" = "อีเมลล์"; | |
2 | -"password_hint" = "พาสเวิร์ด"; | |
3 | -"quick_play" = "การเล่นของผู้เข้าพัก"; | |
4 | -"quick_login" = "เริ่มเล่น"; | |
5 | -"login" = "ล็อกอิน"; | |
6 | -"gump_login" = "Login"; | |
7 | -"signup" = "ลงทะเบียน"; | |
8 | -"bind" = "ผูกอีเมลล์"; | |
9 | -"loading" = "กำลังโหลด"; | |
10 | -"illegal_uname_tip" = "อีเมลล์ไม่ถูกต้อง"; | |
11 | -"illegal_pwd_tip" = "พาสเวิร์ดไม่ถูกต้อง(6-20 ตัวอักษร)"; | |
12 | -"illegal_user_exist" = "อีเมลล์นี้ได้ถูกใช้แล้ว"; | |
13 | -"illegal_pwd_invalid" = "พาสเวิร์ดไม่ถูกต้อง, โปรดลองใหม่อีกครั้ง"; | |
14 | -"illegal_user_not_exist" = "อีเมลล์ไม่ถูกต้อง"; | |
15 | -"invalid_email" = "ใส่อีเมลล์ของคุณ"; | |
16 | -"login_fail" = "ล็อกอินผิดพลาด"; | |
17 | -"signup_fail" = "ลงทะเบียนไม่สำเร็จ"; | |
18 | -"bind_fail" = "ผูกอีเมลล์ไม่สำเร็จ"; |
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/zh-Hans.strings
... | ... | @@ -1,20 +0,0 @@ |
1 | -"user_name_hint" = "邮箱"; | |
2 | -"password_hint" = "密码"; | |
3 | -"quick_login" = "一键进入"; | |
4 | -"quick_play" = "Play"; | |
5 | -"gump_login" = "Login"; | |
6 | -"login" = "登陆"; | |
7 | -"loginFacebook" = "登录Facebook"; | |
8 | -"signup" = "注册"; | |
9 | -"bind" = "绑定邮箱"; | |
10 | -"loading" = "加载中……"; | |
11 | -"illegal_uname_tip" = "邮箱不存在"; | |
12 | -"illegal_pwd_tip" = "密码格式不正确 (6–20字符)"; | |
13 | -"illegal_user_exist" = "邮箱已注册"; | |
14 | -"illegal_pwd_invalid" = "密码不正确,请重试"; | |
15 | -"illegal_user_not_exist" = "邮箱格式不正确"; | |
16 | -"invalid_email" = "请输入正确的邮箱"; | |
17 | -"login_fail" = "登录失败"; | |
18 | -"signup_fail" = "注册失败"; | |
19 | -"bind_fail" = "绑定失败"; | |
20 | -"GumptechLogin" = "甘普登录"; | |
21 | 0 | \ No newline at end of file |
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/zh-Hant.strings
... | ... | @@ -1,18 +0,0 @@ |
1 | -"user_name_hint" = "郵箱"; | |
2 | -"password_hint" = "密碼"; | |
3 | -"quick_login" = "一鍵進入"; | |
4 | -"quick_play" = "Play"; | |
5 | -"gump_login" = "Login"; | |
6 | -"login" = "登陸"; | |
7 | -"signup" = "註冊"; | |
8 | -"bind" = "綁定郵箱"; | |
9 | -"loading" = "加載中……"; | |
10 | -"illegal_uname_tip" = "郵箱不存在"; | |
11 | -"illegal_pwd_tip" = "密碼格式不爭取 (6–20字符)"; | |
12 | -"illegal_user_exist" = "郵箱已註冊"; | |
13 | -"illegal_pwd_invalid" = "密碼不正確,請重試"; | |
14 | -"illegal_user_not_exist" = "郵箱格式不正確"; | |
15 | -"invalid_email" = "請輸入正確的郵箱"; | |
16 | -"login_fail" = "登陸失敗"; | |
17 | -"signup_fail" = "註冊失敗"; | |
18 | -"bind_fail" = "綁定失敗"; | |
19 | 0 | \ No newline at end of file |
ios/GameSDKDemo/letsgameDemo/LSGAppDelegate.m
... | ... | @@ -10,7 +10,6 @@ |
10 | 10 | #import "LSGMainViewController.h" |
11 | 11 | #import "LetsGameAPI.h" |
12 | 12 | |
13 | - | |
14 | 13 | @implementation LSGAppDelegate |
15 | 14 | |
16 | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions |
... | ... | @@ -23,7 +22,7 @@ |
23 | 22 | |
24 | 23 | self.window.backgroundColor = [UIColor whiteColor]; |
25 | 24 | [self.window makeKeyAndVisible]; |
26 | - | |
25 | + [[LetsGameAPI instance] decideIsDebug:1]; | |
27 | 26 | [[UIApplication sharedApplication] setStatusBarHidden:YES]; |
28 | 27 | [[LetsGameAPI instance] registeIapObserver]; |
29 | 28 | return YES; |
... | ... | @@ -51,4 +50,5 @@ |
51 | 50 | //return [[LetsGameAPI instance].vkBridge processOpenURL:url fromApplication:sourceApplication]; |
52 | 51 | } |
53 | 52 | |
53 | + | |
54 | 54 | @end |
ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
ios/GameSDKResources.bundle/en.strings
... | ... | @@ -17,4 +17,13 @@ |
17 | 17 | "login_fail" = "Login failed"; |
18 | 18 | "signup_fail" = "Signup failed"; |
19 | 19 | "bind_fail" = "Bound failed"; |
20 | -"switch"="Switching accounts"; | |
21 | 20 | \ No newline at end of file |
21 | +"switch"="Switching accounts"; | |
22 | +"change_password" = "Change Password"; | |
23 | +"current_password" = "Current Password"; | |
24 | +"change_password_notice" = "current passeord isn't required when reset password."; | |
25 | +"new_password" = "New Password"; | |
26 | +"Reset" = "Reset"; | |
27 | +"Confirm" = "Confirm"; | |
28 | +"Succeed" = "Succeed"; | |
29 | +"reset_fail" = "Reset fail, please contact customer service"; | |
30 | +"reset_success" = "An email has been sent to you, please follow the instructions in email."; | |
22 | 31 | \ No newline at end of file |
ios/GameSDKResources.bundle/ru.strings
... | ... | @@ -16,4 +16,13 @@ |
16 | 16 | "invalid_email" = "Неверный электронный адрес"; |
17 | 17 | "login_fail" = "не удалось войти"; |
18 | 18 | "signup_fail" = "кандидату не"; |
19 | -"bind_fail" = "Bound failed"; | |
20 | 19 | \ No newline at end of file |
20 | +"bind_fail" = "Bound failed"; | |
21 | +"change_password" = "Change Password1"; | |
22 | +"current_password" = "Current Password"; | |
23 | +"change_password_notice" = "current passeord isn't required when reset password."; | |
24 | +"new_password" = "New Password"; | |
25 | +"Reset" = "Reset"; | |
26 | +"Confirm" = "Confirm"; | |
27 | +"Succeed" = "Succeed"; | |
28 | +"reset_fail" = "Reset fail, please contact customer service"; | |
29 | +"reset_success" = "An email has been sent to you, please follow the instructions in email."; | |
21 | 30 | \ No newline at end of file |
ios/GameSDKResources.bundle/template.html
... | ... | @@ -0,0 +1,36 @@ |
1 | +<!doctype html> | |
2 | +<html> | |
3 | +<head> | |
4 | +<script src="http://code.angularjs.org/angular-1.0.1.min.js"></script> | |
5 | + | |
6 | +</head> | |
7 | +<body ng-app="myApp" ng-controller="mainCtrl"> | |
8 | + | |
9 | +<button ng-click="refresh()">refresh</button> | |
10 | +<div style="background: #07242E; color: #708284;height: auto;overflow: auto;min-height: 600px;max-height:700px" > | |
11 | + | |
12 | +<ul> | |
13 | +<li ng-repeat="x in items" style='font-size:15px'> | |
14 | + {{ x.logtime }} [{{x.level}}]-{{x.filename}}:{{x.line}}/{{x.function}} => {{x.message}} | |
15 | +</li> | |
16 | +</ul> | |
17 | + | |
18 | +</div> | |
19 | + | |
20 | +<script> | |
21 | +var app = angular.module('myApp', []); | |
22 | + | |
23 | +app.controller('mainCtrl', function($scope, $http) { | |
24 | + $http.get(location+'logs').success(function(response) { | |
25 | + $scope.items = response; | |
26 | + }); | |
27 | + $scope.refresh = function(){ | |
28 | + $http.get(location+'logs').success(function(response){ | |
29 | + $scope.items = response; | |
30 | + }); | |
31 | + }; | |
32 | +}); | |
33 | + | |
34 | +</script> | |
35 | +</body> | |
36 | +</html> | |
0 | 37 | \ No newline at end of file |
ios/GameSDKResources.bundle/th.strings
... | ... | @@ -16,3 +16,12 @@ |
16 | 16 | "login_fail" = "ล็อกอินผิดพลาด"; |
17 | 17 | "signup_fail" = "ลงทะเบียนไม่สำเร็จ"; |
18 | 18 | "bind_fail" = "ผูกอีเมลล์ไม่สำเร็จ"; |
19 | +"change_password" = "แก้ไขพาสเวิร์ด"; | |
20 | +"current_password" = "พาสเวิร์ดปัจจุบัน"; | |
21 | +"change_password_notice" = "ไม่สามารถตั้งพาสเวิร์ดซ้ำกับพาสเวิร์ดปัจจุบันได้."; | |
22 | +"new_password" = "พาสเวิร์ดใหม่"; | |
23 | +"Reset" = "ตั้งพาสเวิร์ด"; | |
24 | +"Confirm" = "ยืนยัน"; | |
25 | +"Succeed" = "แก้ไขสำเร็จ"; | |
26 | +"reset_fail" = "แก้ไขล้มเหลว,กรุณาติดต่อแอดมิน"; | |
27 | +"reset_success" = "ระบบได้แจ้งข้อมูลการเปลี่ยนพาสเวิร์ดไปยังอีเมลล์สำรอง กรุณาทำตามขั้นตอนในอีเมลล์."; |
ios/GameSDKResources.bundle/zh-Hans.strings
... | ... | @@ -17,4 +17,14 @@ |
17 | 17 | "login_fail" = "登录失败"; |
18 | 18 | "signup_fail" = "注册失败"; |
19 | 19 | "bind_fail" = "绑定失败"; |
20 | -"GumptechLogin" = "甘普登录"; | |
21 | 20 | \ No newline at end of file |
21 | +"GumptechLogin" = "甘普登录"; | |
22 | +"switch" = "切换账户"; | |
23 | +"change_password" = "修改密码"; | |
24 | +"current_password" = "当前密码"; | |
25 | +"change_password_notice" = "重置密码时课不填写当前密码"; | |
26 | +"new_password" = "新密码"; | |
27 | +"Reset" = "重置"; | |
28 | +"Confirm" = "确定修改"; | |
29 | +"Succeed" = "修改成功"; | |
30 | +"reset_fail" = "修改失败,请与客服联系"; | |
31 | +"reset_success" = "密码重置邮件已发送到指定账户邮箱,请按邮件内的提示操作"; |
ios/GameSDKResources.bundle/zh-Hant.strings
... | ... | @@ -15,4 +15,15 @@ |
15 | 15 | "invalid_email" = "請輸入正確的郵箱"; |
16 | 16 | "login_fail" = "登陸失敗"; |
17 | 17 | "signup_fail" = "註冊失敗"; |
18 | -"bind_fail" = "綁定失敗"; | |
19 | 18 | \ No newline at end of file |
19 | +"bind_fail" = "綁定失敗"; | |
20 | +"GumptechLogin" = "甘普登錄"; | |
21 | +"switch" = "切換賬號"; | |
22 | +"change_password" = "修改密碼"; | |
23 | +"current_password" = "當前密碼"; | |
24 | +"change_password_notice" = "重置密碼時可不填寫當前密碼"; | |
25 | +"new_password" = "新密碼"; | |
26 | +"Reset" = "重置"; | |
27 | +"Confirm" = "確定修改"; | |
28 | +"Succeed" = "修改成功"; | |
29 | +"reset_fail" = "修改失败,請與客服聯系"; | |
30 | +"reset_success" = "密碼重置郵件已發送到指定賬戶郵箱,請按郵件內的提示操作"; | |
20 | 31 | \ No newline at end of file |