callapp-lib icon indicating copy to clipboard operation
callapp-lib copied to clipboard

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

Open shoewann0402 opened this issue 3 years ago • 3 comments

  • 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

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

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

shoewann0402 avatar Nov 07 '22 10:11 shoewann0402

后面解决了么?

joneyphair avatar Nov 19 '22 14:11 joneyphair

没有解决

On Sat, Nov 19, 2022, 22:19 joneyphair @.***> wrote:

后面解决了么?

— Reply to this email directly, view it on GitHub https://github.com/suanmei/callapp-lib/issues/142#issuecomment-1320895619, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMF4H7MJ7XLGGRX52NFTD3WJDOX7ANCNFSM6AAAAAARZAHO4E . You are receiving this because you authored the thread.Message ID: @.***>

shoewann0402 avatar Nov 24 '22 23:11 shoewann0402

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

wangdezhong avatar Jun 25 '23 06:06 wangdezhong