Commit 1bfd8354c0627ab215e36be8547cb7f0787f1cbf

Authored by alexYang
1 parent 90c605a64c
Exists in master and in 1 other branch dev

参数from和channelId添加,修改ios11适配iphoneX时对低版本的兼容

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

... ... @@ -2,8 +2,8 @@
2 2  
3 3  
4 4 接入手册
5   -V 3.4.15
6   -2017年2月7日
  5 +V 3.4.16
  6 +2017年3月2日
7 7  
8 8 ## 概述
9 9 #### 本SDK提供gump账号,fb账号,vk账号,Google帐号四种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。
... ... @@ -42,6 +42,7 @@ Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifi
42 42  
43 43 [LetsGameAPI instance].appId = @"100"; // 设置appId
44 44 [LetsGameAPI instance].appKey = @"100"; // 设置appKey
  45 + [LetsGameAPI instance].channelId = @"100"; //设置channelId
45 46  
46 47 //启用vk的代码,需要填入vk appId,若不接入vk,可以忽略
47 48 //VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"];
ios/GameSDK.framework/Versions/A/GameSDK
No preview for this file type
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
... ... @@ -22,12 +22,13 @@ static BOOL hiddenLogo = NO;
22 22 //默认横屏
23 23 static BOOL DeviceOrientationIsHorizontal = YES;
24 24  
25   -static NSString *version = @"3.4.15";
  25 +static NSString *version = @"3.4.16";
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 34 @property (nonatomic, assign) int isDebug;
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
... ... @@ -84,6 +84,7 @@
84 84  
85 85 [LetsGameAPI instance].appId = @"100";//@"100";//10047
86 86 [LetsGameAPI instance].appKey = @"f899139df5e1059396431415e770c6dd";//@"f899139df5e1059396431415e770c6dd";//eccd9f7dc92858b741132fda313130cf
  87 + [LetsGameAPI instance].channelId = @"10010";
87 88 [LetsGameAPI hiddenLogo:YES];
88 89 // [LetsGameAPI disableFB:YES];
89 90 // [LetsGameAPI disableGoogle:YES];