Skip to content

Commit

Permalink
修复OpenShare+QQ使用小写十六进制拼接url scheme callback_name 导致的部分版本QQ不兼容的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwarven committed May 31, 2018
1 parent 5f124c3 commit 970384c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openshare/OpenShare+QQ.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ @implementation OpenShare (QQ)
};

+(void)connectQQWithAppId:(NSString *)appId{
[self set:schema Keys:@{@"appid":appId,@"callback_name":[NSString stringWithFormat:@"QQ%08llx",[appId longLongValue]]}];
[self set:schema Keys:@{@"appid":appId,@"callback_name":[NSString stringWithFormat:@"QQ%08llX",[appId longLongValue]]}];
}
+(BOOL)isQQInstalled{
return [self canOpen:@"mqqapi://"];
Expand Down

0 comments on commit 970384c

Please sign in to comment.