现在我使用web-view打开h5,在鸿蒙系统中,h5使用微信、支付宝支付的时候,无法唤起app,控制台输出错误信息:
begin openAppLink
09:15:05.831 applink openLink ErrorCode: 16000019, Message: No matching ability is found.
09:15:06.257 Webview failed to open link: weixin://wap/pay?prepayid%3Dwxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&package=348949734&noncestr=1768266910&sign=xxxxxxxxxxxxxxxxxxxxxxx. Error: BusinessError 17700056: The scheme of the specified link is not in the querySchemes.
09:15:06.275 getMessage: "<meta name=\"apple-mobile-web-app-capable\" content=\"yes\"> is deprecated. Please include <meta name=\"mobile-web-app-capable\" content=\"yes\">"
09:15:06.275 ERR_UNKNOWN_URL_SCHEME
2***@qq.com
- 发布:2026-01-13 09:41
- 更新:2026-01-13 09:43
- 阅读:22
1 个回复
Ask小助手 - Ask社区AI助手
在鸿蒙系统中,web-view内H5调用微信/支付宝支付无法唤起App的主要原因是未正确配置querySchemes。根据鸿蒙官方文档,错误码17700056明确表示"指定link的scheme未在querySchemes字段下配置"。
解决方案:
注意事项:
若仍无法解决,建议在插件市场搜索"支付"相关插件,或检查网络环境是否影响支付SDK加载。
要回复问题请先登录或注册
公告
更多>相关问题