Commit f06626730fc0101396ac91cf613e410d23dddfeb
1 parent
0605edc71c
Exists in
master
change debug state,The exlogger part problem
Showing 7 changed files with 20 additions and 28 deletions Side-by-side Diff
- IOSDocument.md
- ios/GameSDK.framework/Versions/A/GameSDK
- 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
IOSDocument.md
... | ... | @@ -88,10 +88,12 @@ Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifi |
88 | 88 | [LetsGameAPI instance].appKey = @"f899139df5e1059396431415e770c6dd"; |
89 | 89 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; |
90 | 90 | [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数 |
91 | + [payInfo setValue:@"10010" forKey:@"roleId"];//用户角色id | |
91 | 92 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id |
92 | 93 | [payInfo setValue:@"10" forKey:@"amount"];//金额 |
93 | 94 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 |
94 | 95 | [payInfo setValue:@"元宝" forKey:@"product"];//物品信息 |
96 | + [payInfo setValue:self.sessionKey forKey:@"sessionKey"];//登录成功的sessionKey | |
95 | 97 | [payInfo setValue:@"1" forKey:@"iosBlue"];//接入完BluePay,需要使用时需要的标志位 |
96 | 98 | [[LetsGameAPI instance] pay:payInfo handleCallBack:^{ |
97 | 99 | //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调 |
ios/GameSDK.framework/Versions/A/GameSDK
No preview for this file type
ios/GameSDK.zip
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.pbxproj
... | ... | @@ -31,9 +31,9 @@ |
31 | 31 | /* End PBXBuildFile section */ |
32 | 32 | |
33 | 33 | /* Begin PBXContainerItemProxy section */ |
34 | - 75B72C991DAA44B100CFACFF /* PBXContainerItemProxy */ = { | |
34 | + 75B72CD31DAE41E200CFACFF /* PBXContainerItemProxy */ = { | |
35 | 35 | isa = PBXContainerItemProxy; |
36 | - containerPortal = 75B72C941DAA44B100CFACFF /* GameSDK.xcodeproj */; | |
36 | + containerPortal = 75B72CCE1DAE41E200CFACFF /* GameSDK.xcodeproj */; | |
37 | 37 | proxyType = 2; |
38 | 38 | remoteGlobalIDString = 99626194192D9649004FF2E3; |
39 | 39 | remoteInfo = GameSDK; |
... | ... | @@ -55,7 +55,7 @@ |
55 | 55 | 75B72C8E1DAA422000CFACFF /* CoreBlue.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreBlue.framework; path = ../CoreBlue.framework; sourceTree = "<group>"; }; |
56 | 56 | 75B72C901DAA422C00CFACFF /* MessageUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MessageUI.framework; path = System/Library/Frameworks/MessageUI.framework; sourceTree = SDKROOT; }; |
57 | 57 | 75B72C921DAA423500CFACFF /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; }; |
58 | - 75B72C941DAA44B100CFACFF /* GameSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameSDK.xcodeproj; path = ../../../releaseIosGameSDK/GameSDK/GameSDK.xcodeproj; sourceTree = "<group>"; }; | |
58 | + 75B72CCE1DAE41E200CFACFF /* GameSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameSDK.xcodeproj; path = ../../../releaseIosGameSDK/GameSDK/GameSDK.xcodeproj; sourceTree = "<group>"; }; | |
59 | 59 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GameSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
60 | 60 | 9934F1B119303DC6005EF4AB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; |
61 | 61 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; |
... | ... | @@ -111,15 +111,15 @@ |
111 | 111 | 27019DCE1A208B2300DA560D /* Dependencies */ = { |
112 | 112 | isa = PBXGroup; |
113 | 113 | children = ( |
114 | - 75B72C941DAA44B100CFACFF /* GameSDK.xcodeproj */, | |
114 | + 75B72CCE1DAE41E200CFACFF /* GameSDK.xcodeproj */, | |
115 | 115 | ); |
116 | 116 | name = Dependencies; |
117 | 117 | sourceTree = "<group>"; |
118 | 118 | }; |
119 | - 75B72C951DAA44B100CFACFF /* Products */ = { | |
119 | + 75B72CCF1DAE41E200CFACFF /* Products */ = { | |
120 | 120 | isa = PBXGroup; |
121 | 121 | children = ( |
122 | - 75B72C9A1DAA44B100CFACFF /* libGameSDK.a */, | |
122 | + 75B72CD41DAE41E200CFACFF /* libGameSDK.a */, | |
123 | 123 | ); |
124 | 124 | name = Products; |
125 | 125 | sourceTree = "<group>"; |
... | ... | @@ -237,8 +237,8 @@ |
237 | 237 | projectDirPath = ""; |
238 | 238 | projectReferences = ( |
239 | 239 | { |
240 | - ProductGroup = 75B72C951DAA44B100CFACFF /* Products */; | |
241 | - ProjectRef = 75B72C941DAA44B100CFACFF /* GameSDK.xcodeproj */; | |
240 | + ProductGroup = 75B72CCF1DAE41E200CFACFF /* Products */; | |
241 | + ProjectRef = 75B72CCE1DAE41E200CFACFF /* GameSDK.xcodeproj */; | |
242 | 242 | }, |
243 | 243 | ); |
244 | 244 | projectRoot = ""; |
... | ... | @@ -249,11 +249,11 @@ |
249 | 249 | /* End PBXProject section */ |
250 | 250 | |
251 | 251 | /* Begin PBXReferenceProxy section */ |
252 | - 75B72C9A1DAA44B100CFACFF /* libGameSDK.a */ = { | |
252 | + 75B72CD41DAE41E200CFACFF /* libGameSDK.a */ = { | |
253 | 253 | isa = PBXReferenceProxy; |
254 | 254 | fileType = archive.ar; |
255 | 255 | path = libGameSDK.a; |
256 | - remoteRef = 75B72C991DAA44B100CFACFF /* PBXContainerItemProxy */; | |
256 | + remoteRef = 75B72CD31DAE41E200CFACFF /* PBXContainerItemProxy */; | |
257 | 257 | sourceTree = BUILT_PRODUCTS_DIR; |
258 | 258 | }; |
259 | 259 | /* End PBXReferenceProxy section */ |
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,22 +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 = "../../../releaseIosGameSDK/GameSDK/letsgame/LSGPaymentViewController.m" | |
13 | - timestampString = "497697984.72153" | |
14 | - startingColumnNumber = "9223372036854775807" | |
15 | - endingColumnNumber = "9223372036854775807" | |
16 | - startingLineNumber = "55" | |
17 | - endingLineNumber = "55" | |
18 | - landmarkName = "-viewDidLoad" | |
19 | - landmarkType = "7"> | |
20 | - </BreakpointContent> | |
21 | - </BreakpointProxy> | |
22 | - </Breakpoints> | |
23 | 5 | </Bucket> |
ios/GameSDKDemo/letsgameDemo/LSGAppDelegate.m
... | ... | @@ -25,6 +25,9 @@ |
25 | 25 | [[LetsGameAPI instance] decideIsDebug:1]; |
26 | 26 | [[UIApplication sharedApplication] setStatusBarHidden:YES]; |
27 | 27 | [[LetsGameAPI instance] registeIapObserver]; |
28 | + //打开日志系统 | |
29 | + [[LetsGameAPI instance] application:application didFinishLaunchingWithOptions:launchOptions]; | |
30 | + | |
28 | 31 | return YES; |
29 | 32 | } |
30 | 33 | |
... | ... | @@ -45,6 +48,11 @@ |
45 | 48 | // 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. |
46 | 49 | } |
47 | 50 | |
51 | +-(void)applicationWillTerminate:(UIApplication *)application{ | |
52 | + //关闭日志系统 | |
53 | + [[LetsGameAPI instance] applicationWillTerminate:application]; | |
54 | +} | |
55 | + | |
48 | 56 | -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{ |
49 | 57 | return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; |
50 | 58 | //return [[LetsGameAPI instance].vkBridge processOpenURL:url fromApplication:sourceApplication]; |