diff --git a/doc/IOSDocument.md b/doc/IOSDocument.md index 336d4ae..cb42de1 100644 --- a/doc/IOSDocument.md +++ b/doc/IOSDocument.md @@ -2,8 +2,8 @@ 接入手册 -V 3.3.3 -2016年01月21日 +V 3.3.7 +2016年05月06日 ## 概述 #### 本SDK提供gump账号,fb账号,vk账号三种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。 @@ -11,7 +11,7 @@ V 3.3.3 ## 接入步骤 ### 1、添加Framework和资源文件 + 以下为必须添加的framework以及资源bundle: -MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GameSDK.framework、StoreKit.framework、GameSDKResources.bundle +MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GameSDK.framework、StoreKit.framework、GameSDKResources.bundle、libsqlite3.tbd + 以下为可选,若接入vk登录则需要添加以下framework和bundle,其中VKSdk.framework和VKSDKResources.bundle请自行从vk.com下载,使用1.3版本 VKSdk.framework、VKBridge.framework、VKSDKResources.bundle @@ -90,4 +90,8 @@ Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifi //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 NSLog(@"iap completed orderId of gumptech:%@",orderId); - }]; \ No newline at end of file + }]; +### 7、SDK版本测试设置 +若想使用SDK的debug版本,需要在AppDelegate的application: didFinishLaunchingWithOptions:中设置: + [[LetsGameAPI instance] decideIsDebug:1]; +不设置或者设置为0时,默认使用release版本