网页开发“微信开放标签”无法唤醒app
测试微信开放标签功能“ wx-open-launch-app” ,检测到应用但无法正常唤起应用详见截图和视频 截图: [图片][图片][图片] 视频:https://test.exexm.com:8060/test-wx-open-tag.mp4 [视频] 代码: <wx-open-launch-app
id="launch-btn"
appid="xxx"
extinfo="your-extinfo"
>
<script type="text/wxtag-template">
<style>.btn { padding: 12px }</style>
<button class="btn">App内查看<button>
</script>
</wx-open-launch-app>
<script>
var btn = document.getElementById('launch-btn');
btn.addEventListener('launch', function (e) {
alert("launch-success")
console.log('success');
});
btn.addEventListener('error', function (e) {
alert(JSON.stringify(e.detail))
console.log('fail', e.detail);
});
</script>