希望实现Android APP跳转小程序功能
正常浏览器可以使用静态网站H5跳转小程序
尝试使用app内嵌浏览器 webview 访问 https://postpay-2g5hm2oxbbb721a4-1258211818.tcloudbaseapp.com/jump-mp.html(静态网站H5跳转小程序)时报错:
Script error.
at r.value (https://cdn.jsdelivr.net/npm/eruda:27:169102)
at new r (https://cdn.jsdelivr.net/npm/eruda:27:166077)
at o.value (https://cdn.jsdelivr.net/npm/eruda:27:182953)
at https://cdn.jsdelivr.net/npm/eruda:27:184970
null
at r.value (https://cdn.jsdelivr.net/npm/eruda:27:169102)
at new r (https://cdn.jsdelivr.net/npm/eruda:27:166077)
at o.value (https://cdn.jsdelivr.net/npm/eruda:27:182953)
at https://cdn.jsdelivr.net/npm/eruda:27:184970
cloud is not defined
at HTMLDocument.<anonymous> (https://postpay-2g5hm2oxbbb721a4-1258211818.tcloudbaseapp.com/jump-mp.html:80:19)
请教如何解决这个问题。谢谢!!!
可能是webview配置问题 参考 https://github.com/mengkunsoft/MkBrowser 的程序可以打开
你好,请提供一下复现链接,复现方式(方便的话提供复现录屏),或者复现的微信号和时间点
复现手机型号,客户端版本信息,复现时的UserAgent