From aa3ed9f8d3779f4ce4b3e926a7204460c45d9698 Mon Sep 17 00:00:00 2001 From: Roy_chenqian Date: Mon, 26 Feb 2018 14:29:29 +0800 Subject: [PATCH] fix qq install action --- index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.js b/index.js index c3df6b9..79c94ca 100644 --- a/index.js +++ b/index.js @@ -55,6 +55,12 @@ QQAPIEmitter.addListener('QQ_Resp', resp => { callback && callback(resp); }); +export function isQQInstalledAction() { + return QQAPI.isQQInstalled().then((res)=>{ + () => waitForResponse("QQAuthorizeResponse") + }) +} + export function login(scopes) { return QQAPI.login(scopes) .then(() => waitForResponse("QQAuthorizeResponse")); @@ -77,3 +83,4 @@ export function logout(){ +