Skip to content

Commit

Permalink
update iOS SDK support iOS 10 https
Browse files Browse the repository at this point in the history
  • Loading branch information
iVanPan committed Dec 16, 2016
1 parent 710b01e commit ba70cd8
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions ios/RCTQQSDK/TencentOpenAPI.framework/Headers/TencentOAuth.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,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 @@ -194,6 +197,12 @@ typedef enum
*/
- (BOOL)reauthorizeWithPermissions:(NSArray *)permissions;

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

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

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

@end

#pragma mark - TencentSessionDelegate(开放接口回调协议)
Expand Down
Binary file modified ios/RCTQQSDK/TencentOpenAPI.framework/TencentOpenAPI
Binary file not shown.
Binary file modified ios/RCTQQSDK/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.
2 changes: 1 addition & 1 deletion ios/RCTQQSDK/TencentOpenApi_IOS_Bundle.bundle/local.html
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
Binary file modified ios/RCTQQSDK/TencentOpenApi_IOS_Bundle.bundle/qqicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/RCTQQSDK/TencentOpenApi_IOS_Bundle.bundle/success.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ba70cd8

Please sign in to comment.