We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问如何判断是否安装安卓QQ,现在是调用API就直接崩溃,就算加了try catch也不行,直接崩溃
The text was updated successfully, but these errors were encountered:
解决了,修改源码,增加方法 export function isQQInstalledAction() { return QQAPI.isQQInstalled().then((res)=>{ () => waitForResponse("QQAuthorizeResponse") }) } 然后在js里使用 QQAPI.isQQInstalledAction().then((res)=>{ QQAPI.shareToQQ(qqshareInfo).then((res)=>{ // console.log('--shareToQQ--res:',res) }).catch((err)=>{ // console.log('--shareToQQ--err:',err) }) }).catch((err)=>{ Alert.alert( '提示', '您还没有安装QQ客户端,请安装QQ后再试' ) })
Sorry, something went wrong.
QQAPI.isQQInstalled() .then(install=>{ console.log('安装QQ'+install) }) .catch(unInstall=>{ console.log('没有安装QQ'+unInstall) })
No branches or pull requests
请问如何判断是否安装安卓QQ,现在是调用API就直接崩溃,就算加了try catch也不行,直接崩溃
The text was updated successfully, but these errors were encountered: