修正适配 Android Q 本地分享 & TIM/QQLite

This commit is contained in:
v7lin
2019-12-16 11:14:23 +08:00
parent 87fe109f56
commit e1ecd003d4
5 changed files with 33 additions and 11 deletions

View File

@ -93,7 +93,9 @@ static NSString *const SCHEME_FILE = @"file";
}
result(nil);
} else if ([METHOD_ISINSTALLED isEqualToString:call.method]) {
result([NSNumber numberWithBool:[TencentOAuth iphoneQQInstalled]]);
// 普通大众版 > 办公简洁版
BOOL isInstalled = [TencentOAuth iphoneQQInstalled] || [TencentOAuth iphoneTIMInstalled];
result([NSNumber numberWithBool:isInstalled]);
} else if ([METHOD_LOGIN isEqualToString:call.method]) {
[self login:call result:result];
} else if ([METHOD_LOGOUT isEqualToString:call.method]) {