Commit 01d1fa74ea4f1f34009116865c996be622a56a4d

Authored by alexYang
1 parent 0c287634f8
Exists in master

v3.4.19更新

Showing 6 changed files with 32 additions and 13 deletions Side-by-side Diff

ios/GameSDK.framework/Versions/A/GameSDK
No preview for this file type
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
... ... @@ -22,15 +22,16 @@ static BOOL hiddenLogo = NO;
22 22 //默认横屏
23 23 static BOOL DeviceOrientationIsHorizontal = YES;
24 24  
25   -static NSString *version = @"3.4.14";
  25 +static NSString *version = @"3.4.19";
26 26  
27 27 @interface LetsGameAPI : NSObject<UIApplicationDelegate>
28 28  
29 29 @property (nonatomic, strong) NSString *appId;
30 30 @property (nonatomic, strong) NSString *appKey;
  31 +@property(nonatomic, strong) NSString *channelId;
31 32 @property (nonatomic, copy) LSGLoginSuccBlock succBlock;
32 33 @property (nonatomic, copy) LSGDismissBlock dismissBlock;
33   -@property (nonatomic, assign) int decideWebPay;
  34 +@property (nonatomic, assign) int decideWebTo;
34 35 @property (nonatomic,retain) id<VKBridgeProtocol> vkBridge;
35 36 //@property(nonatomic,strong) NSString *version;
36 37  
... ... @@ -77,7 +78,7 @@ static NSString *version = @&quot;3.4.14&quot;;
77 78  
78 79 -(void)registeIapObserver;
79 80  
80   --(void)decideWebPayVersion:(int)decideWebPay;
  81 +-(void)decideWebToVersion:(int)decideWebTo;
81 82  
82 83 -(void)obtainAccessTokenSuccess:(void (^)(NSString *tokenString, NSString *refreshTime, NSString *expirationTime))success
83 84 failure:(void (^)(NSString *errorString))failure;
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.pbxproj
... ... @@ -15,6 +15,9 @@
15 15 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */; };
16 16 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */; };
17 17 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752A5F491CDC8B3200C36131 /* GameSDK.framework */; };
  18 + 752B0E2D20848E4C005C7268 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 752B0E2C20848E4B005C7268 /* libsqlite3.tbd */; };
  19 + 752B0E33208492FC005C7268 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 752B0E30208492FC005C7268 /* libc++.tbd */; };
  20 + 752B0E352084934E005C7268 /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752B0E342084934D005C7268 /* CoreTelephony.framework */; };
18 21 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B119303DC6005EF4AB /* Foundation.framework */; };
19 22 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B519303DC6005EF4AB /* UIKit.framework */; };
20 23 9934F1BE19303DC6005EF4AB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1BD19303DC6005EF4AB /* main.m */; };
... ... @@ -26,9 +29,9 @@
26 29 /* End PBXBuildFile section */
27 30  
28 31 /* Begin PBXContainerItemProxy section */
29   - 758F7C551E9795720055AA0A /* PBXContainerItemProxy */ = {
  32 + 752B0E3C2084985D005C7268 /* PBXContainerItemProxy */ = {
30 33 isa = PBXContainerItemProxy;
31   - containerPortal = 758F7C501E9795720055AA0A /* GameSDK.xcodeproj */;
  34 + containerPortal = 752B0E372084985B005C7268 /* GameSDK.xcodeproj */;
32 35 proxyType = 2;
33 36 remoteGlobalIDString = 99626194192D9649004FF2E3;
34 37 remoteInfo = GameSDK;
... ... @@ -46,7 +49,10 @@
46 49 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = VKSdkResources.bundle; sourceTree = "<group>"; };
47 50 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = GameSDKResources.bundle; path = ../../GameSDKResources.bundle; sourceTree = "<group>"; };
48 51 752A5F491CDC8B3200C36131 /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; };
49   - 758F7C501E9795720055AA0A /* GameSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameSDK.xcodeproj; path = ../../../iosgamesdk_newdn/GameSDK/GameSDK.xcodeproj; sourceTree = "<group>"; };
  52 + 752B0E2C20848E4B005C7268 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; };
  53 + 752B0E30208492FC005C7268 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; };
  54 + 752B0E342084934D005C7268 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; };
  55 + 752B0E372084985B005C7268 /* GameSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameSDK.xcodeproj; path = ../../../iosgamesdk_newdn/GameSDK/GameSDK.xcodeproj; sourceTree = "<group>"; };
50 56 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GameSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
51 57 9934F1B119303DC6005EF4AB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
52 58 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
... ... @@ -68,6 +74,9 @@
68 74 isa = PBXFrameworksBuildPhase;
69 75 buildActionMask = 2147483647;
70 76 files = (
  77 + 752B0E352084934E005C7268 /* CoreTelephony.framework in Frameworks */,
  78 + 752B0E33208492FC005C7268 /* libc++.tbd in Frameworks */,
  79 + 752B0E2D20848E4C005C7268 /* libsqlite3.tbd in Frameworks */,
71 80 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */,
72 81 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */,
73 82 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */,
... ... @@ -96,15 +105,15 @@
96 105 27019DCE1A208B2300DA560D /* Dependencies */ = {
97 106 isa = PBXGroup;
98 107 children = (
99   - 758F7C501E9795720055AA0A /* GameSDK.xcodeproj */,
  108 + 752B0E372084985B005C7268 /* GameSDK.xcodeproj */,
100 109 );
101 110 name = Dependencies;
102 111 sourceTree = "<group>";
103 112 };
104   - 758F7C511E9795720055AA0A /* Products */ = {
  113 + 752B0E382084985B005C7268 /* Products */ = {
105 114 isa = PBXGroup;
106 115 children = (
107   - 758F7C561E9795720055AA0A /* libGameSDK.a */,
  116 + 752B0E3D2084985D005C7268 /* libGameSDK.a */,
108 117 );
109 118 name = Products;
110 119 sourceTree = "<group>";
... ... @@ -131,6 +140,9 @@
131 140 9934F1B019303DC6005EF4AB /* Frameworks */ = {
132 141 isa = PBXGroup;
133 142 children = (
  143 + 752B0E342084934D005C7268 /* CoreTelephony.framework */,
  144 + 752B0E30208492FC005C7268 /* libc++.tbd */,
  145 + 752B0E2C20848E4B005C7268 /* libsqlite3.tbd */,
134 146 752A5F491CDC8B3200C36131 /* GameSDK.framework */,
135 147 331262361C50B56800B1B435 /* VKBridge.framework */,
136 148 3309D97E1C4394C800534E33 /* VKSdk.framework */,
... ... @@ -217,8 +229,8 @@
217 229 projectDirPath = "";
218 230 projectReferences = (
219 231 {
220   - ProductGroup = 758F7C511E9795720055AA0A /* Products */;
221   - ProjectRef = 758F7C501E9795720055AA0A /* GameSDK.xcodeproj */;
  232 + ProductGroup = 752B0E382084985B005C7268 /* Products */;
  233 + ProjectRef = 752B0E372084985B005C7268 /* GameSDK.xcodeproj */;
222 234 },
223 235 );
224 236 projectRoot = "";
... ... @@ -229,11 +241,11 @@
229 241 /* End PBXProject section */
230 242  
231 243 /* Begin PBXReferenceProxy section */
232   - 758F7C561E9795720055AA0A /* libGameSDK.a */ = {
  244 + 752B0E3D2084985D005C7268 /* libGameSDK.a */ = {
233 245 isa = PBXReferenceProxy;
234 246 fileType = archive.ar;
235 247 path = libGameSDK.a;
236   - remoteRef = 758F7C551E9795720055AA0A /* PBXContainerItemProxy */;
  248 + remoteRef = 752B0E3C2084985D005C7268 /* PBXContainerItemProxy */;
237 249 sourceTree = BUILT_PRODUCTS_DIR;
238 250 };
239 251 /* End PBXReferenceProxy section */
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ios/GameSDKDemo/letsgameDemo/LSGAppDelegate.m
... ... @@ -31,6 +31,12 @@
31 31 // NSLog(@"NO 不侵权");
32 32 // }
33 33 // }];
  34 + //微信登陆
  35 + [[LetsGameAPI instance] registerAppWeChatWithAppId:@"100" appKey:@"f899139df5e1059396431415e770c6dd" Success:^{
  36 + NSLog(@"注册成功");
  37 + } failure:^{
  38 + NSLog(@"注册失败");
  39 + }];
34 40  
35 41 [[UIApplication sharedApplication] setStatusBarHidden:YES];
36 42 [[LetsGameAPI instance] registeIapObserver];