This commit is contained in:
v7lin
2022-05-19 10:11:29 +08:00
parent d7d3967ba8
commit 4b035e4ed7
5 changed files with 36 additions and 158 deletions

View File

@ -58,6 +58,11 @@ class MethodChannelTencentKit extends TencentKitPlatform {
);
}
@override
Stream<BaseResp> respStream() {
return _respStreamController.stream;
}
@override
Future<bool> isQQInstalled() async {
return await methodChannel.invokeMethod<bool>('isQQInstalled') ?? false;
@ -68,11 +73,6 @@ class MethodChannelTencentKit extends TencentKitPlatform {
return await methodChannel.invokeMethod<bool>('isTIMInstalled') ?? false;
}
@override
Stream<BaseResp> respStream() {
return _respStreamController.stream;
}
@override
Future<void> login({
required List<String> scope,