Skip to content

Commit

Permalink
Version: 3.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yimingtang committed Jan 17, 2017
1 parent 071dc56 commit c2e5db1
Show file tree
Hide file tree
Showing 15 changed files with 55 additions and 21 deletions.
2 changes: 1 addition & 1 deletion BXTencentOpenAPI.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BXTencentOpenAPI'
s.version = '3.1.0'
s.version = '3.1.3'
s.summary = 'Tencent Open API library for iOS to access Tencent platform.'
s.description = <<-DESC
It's a shame that Tencent dev team doesn't have an official pod for their Open API library.
Expand Down
25 changes: 16 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,34 @@
# Changelog 中文
# Changelog

注意:早些时候的版本变更信息已经不可考,遂未列入


## 3.1.0 (2016/05/17)
## Version 3.1.3 (2016/12/06)

* 内部网络接口全面支持 HTTPS
* 修复和第三方 hook 消息转发可能崩溃的问题
* 支持 CPU 指令集补充对模拟器的支持


## Version 3.1.0 (2016/05/17)

* 新增功能:一键加群功能
* 修正 log 文件从 document 目录移到Caches目录
* 修正通过h5 登录,分享到手Q提示账号不符合
* 修正 log 文件从 Documents 目录移到 Caches 目录
* 修正通过 HTML 5 登录,分享到『手Q』提示账号不符合
* 修正分享到群部落
* 修正sdk添加游戏好友获取好友设置失败
* 修正 SDK 添加游戏好友获取好友设置失败
* 修复登录 web view 界面,放大镜穿透的问题
* 支持 CPU 指令集版本由 arm7、arm7s、arm64、i386 、x86_64 变更到 armv7、x86_64、arm64


## Version 2.9.5 (2015/12/16)

关闭以下功能: 第三方APP直接上传图片和视频到空间,分享的图片支持在动态直接展示,视频支持动态里直接播放
* 关闭以下功能: 第三方 app 直接上传图片和视频到空间,分享的图片支持在动态直接展示,视频支持动态里直接播放


## Version 2.9.3 (2015/11/03)

* 支持第三方 APP 直接上传图片和视频到空间,分享的图片支持在动态直接展示,视频支持动态里直接播放
* 修改分享流程,启用 webview 权限的 app 只有在无安装『手Q』或者『手Q』版本过旧才会启用 H5 页面分享
* 修改一些bug(QQ 空间分享时打开外部浏览器问题、模拟器里 H5 登陆页面空白问题、分享 H5 页面空白问题等)
* TencentOpenApi_IOS_Bundle.bundle 去除 info.plistSDK 增加版本号标记
* 修改分享流程,启用 web view 权限的 app 只有在无安装『手Q』或者『手Q』版本过旧才会启用 HTML 5 页面分享
* 修改一些 bug(QQ 空间分享时打开外部浏览器问题、模拟器里 HTML 5 登陆页面空白问题、分享 HTML 5 页面空白问题等)
* TencentOpenApi_IOS_Bundle.bundle 去除 info.plistSDK 增加版本号标记
4 changes: 2 additions & 2 deletions Example/BXTencentOpenAPI.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
7174A939D1576541A8BF6679 /* [CP] Embed Pods Frameworks */ = {
Expand Down Expand Up @@ -365,7 +365,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
F929B37235F16709F66E3831 /* [CP] Embed Pods Frameworks */ = {
Expand Down
2 changes: 0 additions & 2 deletions Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ target 'BXTencentOpenAPI_Example' do
inherit! :search_paths
end
end


12 changes: 6 additions & 6 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PODS:
- BXTencentOpenAPI (3.1.0):
- BXTencentOpenAPI/Basic (= 3.1.0)
- BXTencentOpenAPI/Basic (3.1.0)
- BXTencentOpenAPI (3.1.3):
- BXTencentOpenAPI/Basic (= 3.1.3)
- BXTencentOpenAPI/Basic (3.1.3)

DEPENDENCIES:
- BXTencentOpenAPI (from `../`)
Expand All @@ -11,8 +11,8 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
BXTencentOpenAPI: e0de6ac35285b66de5bf78c826cd3a7c0ea15374
BXTencentOpenAPI: f094da310cc7fbc9bb076244bbbea5fbb7d8c67e

PODFILE CHECKSUM: 5c637f343f7c80efd4869eff2e9574362c5311cc
PODFILE CHECKSUM: 29facea278f5bf016d8293a921b89a82441a1c9d

COCOAPODS: 1.0.1
COCOAPODS: 1.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#import <UIKit/UIKit.h>
#import "sdkdef.h"
#import "TencentOAuthObject.h"
#import "TencentApiInterface.h"

@protocol TencentSessionDelegate;
@protocol TencentLoginDelegate;
Expand Down Expand Up @@ -83,6 +84,9 @@ typedef enum
/** 授权方式(Client Side Token或者Server Side Code) */
@property(nonatomic, assign) TencentAuthMode authMode;

/** union id */
@property(nonatomic, retain) NSString* unionid;

/**
* 用来获得当前sdk的版本号
* \return 返回sdk版本号
Expand Down Expand Up @@ -193,6 +197,12 @@ typedef enum
*/
- (BOOL)reauthorizeWithPermissions:(NSArray *)permissions;

/**
* 获取UnindID,可以根据UnindID的比较来确定OpenID是否属于同一个用户
* \return NO未登录,信息不足;YES条件满足,发送请求成功,请等待回调
*/
- (BOOL)RequestUnionId;

/**
* (静态方法)处理应用拉起协议
* \param url 处理被其他应用呼起时的逻辑
Expand Down Expand Up @@ -444,6 +454,11 @@ typedef enum
*/
- (NSArray *)getAuthorizedPermissions:(NSArray *)permissions withExtraParams:(NSDictionary *)extraParams;

/**
* unionID获得
*/
- (void)didGetUnionID;

@end

#pragma mark - TencentSessionDelegate(开放接口回调协议)
Expand Down
Binary file modified TencentOpenAPI/Advanced/TencentOpenAPI.framework/TencentOpenAPI
Binary file not shown.
Binary file modified TencentOpenAPI/Advanced/TencentOpenApi_IOS_Bundle.bundle/error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h1 id="title"></h1>
AppGiftRequest : type == "request" ? "发送应用请求" : "发送免费礼物",
SendStory : "发送分享"
}[iface];
document.write('<script type="text/javascript" src="http://qzonestyle.gtimg.cn/open/mobile/' + {
document.write('<script type="text/javascript" src="https://qzonestyle.gtimg.cn/open/mobile/' + {
AppChallenge : "brag_ios/js/sdk_brag.js",
AppInvitation : "invite_ios/js/sdk_invite.js",
AppGiftRequest : "request_ios/js/sdk_request.js",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ typedef enum
/** 授权方式(Client Side Token或者Server Side Code) */
@property(nonatomic, assign) TencentAuthMode authMode;

/** union id */
@property(nonatomic, retain) NSString* unionid;

/**
* 用来获得当前sdk的版本号
* \return 返回sdk版本号
Expand Down Expand Up @@ -193,6 +196,12 @@ typedef enum
*/
- (BOOL)reauthorizeWithPermissions:(NSArray *)permissions;

/**
* 获取UnindID,可以根据UnindID的比较来确定OpenID是否属于同一个用户
* \return NO未登录,信息不足;YES条件满足,发送请求成功,请等待回调
*/
- (BOOL)RequestUnionId;

/**
* (静态方法)处理应用拉起协议
* \param url 处理被其他应用呼起时的逻辑
Expand Down Expand Up @@ -305,6 +314,11 @@ typedef enum
*/
- (NSArray *)getAuthorizedPermissions:(NSArray *)permissions withExtraParams:(NSDictionary *)extraParams;

/**
* unionID获得
*/
- (void)didGetUnionID;

@end

#pragma mark - TencentSessionDelegate(开放接口回调协议)
Expand Down
Binary file modified TencentOpenAPI/Basic/TencentOpenAPI.framework/TencentOpenAPI
Binary file not shown.

0 comments on commit c2e5db1

Please sign in to comment.