Skip to content
New issue

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

feat: qq 内通过 应用宝 跳转 #150

Open
wants to merge 1 commit into
base: 4.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ class CallApp {
evokeByLocation(this.generateUniversalLink(config));
}
// Android
// 在微信中且配置了应用宝链接
} else if (Browser.isWechat && typeof this.options.yingyongbao !== 'undefined') {
// 在微信、QQ中且配置了应用宝链接
} else if ((Browser.isWechat || Browser.isQQ) && typeof this.options.yingyongbao !== 'undefined') {
evokeByLocation(this.generateYingYongBao(config));
} else if (Browser.isOriginalChrome) {
if (typeof intent !== 'undefined') {
Expand Down