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(){ +