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

安卓红米k30手机下的qq浏览器点击第一次唤起失败,第二成功。 #116

Open
yetazhan opened this issue May 22, 2021 · 2 comments

Comments

@yetazhan
Copy link

  • npm 版本号: 3.5.0

  • 配置 Option:

const option = {
  scheme: {},
  outChain: {},
  intent: {},
  universal: {},
  appstore: '',
  yingyongbao: '',
  fallback: '',
};
  • 机型、系统、APP:
    红米k30,
    ua参数 Mozilla/5.0 (Linux; U; Android 10; zh-cn; Redmi K30 Build/QKQ1.190825.002) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/77.0.3865.120 MQQBrowser/11.5 Mobile Safari/537.36 COVC/045631

  • 遇到的问题及复现步骤:
    安卓红米k30手机下的qq浏览器点击第一次唤起失败,第二次唤起成功。
    通过console.log发现,使用的是evokeByIFrame,在var iframe是就创建iframe,就可以第一次唤起成功。

var iframe;
iframe = document.createElement('iframe');
iframe.style.cssText = 'display:none;border:0;width:0;height:0;';
document.body.append(iframe);

  • 期望的效果:

第一次唤起成功。

@gusumuzhe
Copy link

安卓小米11 qq浏览器和自带浏览器同样的问题

@JaweenDeng
Copy link

安卓小米10s,自带浏览器同样问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants