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

在超链接中调用唤醒方法:单击 / 双击,执行的唤醒流程不一致 #142

Open
shoewann0402 opened this issue Nov 7, 2022 · 3 comments

Comments

@shoewann0402
Copy link

shoewann0402 commented Nov 7, 2022

  • npm 版本号: 8.10.0

  • 配置 Option:

const option = {
  scheme: {
      protocol: 'alipays'
  },
  outChain: {},
  intent: {
      package: 'com.eg.android.AlipayGphone',
      scheme: 'alipays'
  },
  universal: {},
  appstore: 'xxxx',
  yingyongbao: 'xxxx',
  fallback: 'https://ds.alipay.com/',
};
  • 机型、系统、APP: Xiaomi Redmi K40 | android 12 | 自己的测试 Demo

  • 遇到的问题及复现步骤:

[如下图的具体实现代码]

WechatIMG776

我的设备上是安装了应用的

  •   当我单击超链接,会打开失败跳转到下载网页
    
  •   当我双击超链接,会打开我本地设备安装好的应用
    
  • 期望的效果: 当我单击,如果没有安装应用就跳转,有则打开应用
@joneyphair
Copy link

后面解决了么?

@shoewann0402
Copy link
Author

shoewann0402 commented Nov 24, 2022 via email

@wangdezhong
Copy link

问题发现是通过iframe打开的问题,可以将iframe打开的判断去掉即可

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