callapp-lib
callapp-lib copied to clipboard
在超链接中调用唤醒方法:单击 / 双击,执行的唤醒流程不一致
-
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
-
遇到的问题及复现步骤:
[如下图的具体实现代码]

我的设备上是安装了应用的
-
当我单击超链接,会打开失败跳转到下载网页 -
当我双击超链接,会打开我本地设备安装好的应用
- 期望的效果: 当我单击,如果没有安装应用就跳转,有则打开应用
后面解决了么?
没有解决
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: @.***>
问题发现是通过iframe打开的问题,可以将iframe打开的判断去掉即可