Commit e47bb8dbb3ad27d781cda98476816d53fe4e1756

Authored by alexYang
1 parent c8e84dab85
Exists in master

v3.3.15 facebook自动登录以及日志系统删除

Showing 9 changed files with 8 additions and 23 deletions Side-by-side Diff

... ... @@ -2,8 +2,8 @@
2 2  
3 3  
4 4 接入手册
5   -V 3.3.11
6   -2016年09月05日
  5 +V 3.3.15
  6 +2016年11月09日
7 7  
8 8 ## 概述
9 9 #### 本SDK提供gump账号,fb账号,vk账号三种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。
... ... @@ -11,7 +11,7 @@ V 3.3.11
11 11 ## 接入步骤
12 12 ### 1、添加Framework和资源文件
13 13 + 以下为必须添加的framework以及资源bundle:
14   -MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GameSDK.framework、StoreKit.framework、GameSDKResources.bundle、libsqlite3.tbd
  14 +MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GameSDK.framework、StoreKit.framework、GameSDKResources.bundle
15 15 + 以下为可选,若接入vk登录则需要添加以下framework和bundle,其中VKSdk.framework和VKSDKResources.bundle请自行从vk.com下载,使用1.3版本
16 16 VKSdk.framework、VKBridge.framework、VKSDKResources.bundle
17 17 + 以下为可选,若接入bluePay第三方支付方式需要添加一下的framework和bundle,其中CoreBuePay.framework直接引入工程,之后再依次引入CoreTelephony.framework、MessageUI.framework、SystemConfiguration.framework,最后将BlueMobile.bundle拖入项目中
ios/GameSDK.framework/Versions/A/GameSDK
No preview for this file type
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
... ... @@ -14,7 +14,7 @@ static BOOL isEnableVK = NO;
14 14  
15 15 static BOOL hiddenLogo = NO;
16 16  
17   -static NSString *version = @"3.3.13";
  17 +static NSString *version = @"3.3.16";
18 18  
19 19 @interface LetsGameAPI : NSObject<UIApplicationDelegate>
20 20  
... ... @@ -53,10 +53,6 @@ static NSString *version = @&quot;3.3.13&quot;;
53 53  
54 54 -(void)registeIapObserver;
55 55  
56   -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
57   -
58   --(void)applicationWillTerminate:(UIApplication *)application;
59   -
60 56 -(void)decideIsDebug:(int)isDebug;
61 57  
62 58 -(void)decideWebPayVersion:(int)decideWebPay;
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.pbxproj
... ... @@ -14,7 +14,6 @@
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 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 17 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752A5F491CDC8B3200C36131 /* GameSDK.framework */; };
19 18 75B72C8F1DAA422000CFACFF /* CoreBlue.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75B72C8E1DAA422000CFACFF /* CoreBlue.framework */; };
20 19 75B72C911DAA422C00CFACFF /* MessageUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75B72C901DAA422C00CFACFF /* MessageUI.framework */; };
... ... @@ -50,7 +49,6 @@
50 49 331262361C50B56800B1B435 /* VKBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKBridge.framework; path = ../VKBridge.framework; sourceTree = "<group>"; };
51 50 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = VKSdkResources.bundle; sourceTree = "<group>"; };
52 51 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = GameSDKResources.bundle; path = ../../GameSDKResources.bundle; sourceTree = "<group>"; };
53   - 752A5F431CDC82C000C36131 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; };
54 52 752A5F491CDC8B3200C36131 /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; };
55 53 75B72C8E1DAA422000CFACFF /* CoreBlue.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreBlue.framework; path = ../CoreBlue.framework; sourceTree = "<group>"; };
56 54 75B72C901DAA422C00CFACFF /* MessageUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MessageUI.framework; path = System/Library/Frameworks/MessageUI.framework; sourceTree = SDKROOT; };
... ... @@ -82,7 +80,6 @@
82 80 75B72C931DAA423500CFACFF /* CoreTelephony.framework in Frameworks */,
83 81 75B72C911DAA422C00CFACFF /* MessageUI.framework in Frameworks */,
84 82 75B72C8F1DAA422000CFACFF /* CoreBlue.framework in Frameworks */,
85   - 752A5F441CDC82C000C36131 /* libsqlite3.tbd in Frameworks */,
86 83 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */,
87 84 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */,
88 85 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */,
... ... @@ -150,7 +147,6 @@
150 147 75B72C901DAA422C00CFACFF /* MessageUI.framework */,
151 148 75B72C8E1DAA422000CFACFF /* CoreBlue.framework */,
152 149 752A5F491CDC8B3200C36131 /* GameSDK.framework */,
153   - 752A5F431CDC82C000C36131 /* libsqlite3.tbd */,
154 150 331262361C50B56800B1B435 /* VKBridge.framework */,
155 151 3309D97E1C4394C800534E33 /* VKSdk.framework */,
156 152 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */,
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcshareddata/GameSDKDemo.xcscmblueprint
... ... @@ -13,7 +13,7 @@
13 13 "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
14 14 "07E954432ED0A61BEECC8FB6AAE1417682E93D30" : "vkbridge\/",
15 15 "8A7E653E5A6F45691CAAAE0CEF6C9451763A2597" : "gumptech-document\/",
16   - "D5E238D0ED0F802759CC8DDF3F39B0D0BFF728D8" : "gamesdk-ios\/",
  16 + "D5E238D0ED0F802759CC8DDF3F39B0D0BFF728D8" : "gamesdk-iosrelease\/",
17 17 "077D999F6C967446D3AED3B840BC4A4A39445F65" : "releaseIosGameSDK\/"
18 18 },
19 19 "DVTSourceControlWorkspaceBlueprintNameKey" : "GameSDKDemo",
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ios/GameSDKDemo/letsgameDemo/LSGAppDelegate.m
... ... @@ -22,11 +22,9 @@
22 22  
23 23 self.window.backgroundColor = [UIColor whiteColor];
24 24 [self.window makeKeyAndVisible];
25   - [[LetsGameAPI instance] decideIsDebug:1];
  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 29 return YES;
32 30 }
... ... @@ -48,11 +46,6 @@
48 46 // 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.
49 47 }
50 48  
51   --(void)applicationWillTerminate:(UIApplication *)application{
52   - //关闭日志系统
53   - [[LetsGameAPI instance] applicationWillTerminate:application];
54   -}
55   -
56 49 -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{
57 50 return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication];
58 51 //return [[LetsGameAPI instance].vkBridge processOpenURL:url fromApplication:sourceApplication];
ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
... ... @@ -105,8 +105,8 @@
105 105  
106 106  
107 107 - (void)onLogoutTest {
108   - [LetsGameAPI instance].appId = @"10000";
109   - [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab";
  108 + [LetsGameAPI instance].appId = @"10056";
  109 + [LetsGameAPI instance].appKey = @"b59c21a078fde074a6750e91ed19fb21";
110 110 [[LetsGameAPI instance] logout];
111 111  
112 112 }