admin管理员组文章数量:1279085
I'm developing a skill that launches through a widget button. It works perfectly on the Echo Show 15, but on the Echo Hub 8, the widget button isn't sending SendEvent.I'm unable to identify the issue and could really use some help.THe widget is responsive for both the screens but its not responding to the button in the echo hub 8 , not getting arguments in the cloudwatchlogs
{
"document": {
"type": "APL",
"version": "1.7",
"theme": "light",
"mainTemplate": {
"parameters": [
"payload"
],
"items": [
{
"type": "Container",
"direction": "row",
"items": [
{
"type": "Frame",
"background": "#2B97BD",
"width": "100%",
"height": "100%",
"items": [
{
"type": "Container",
"direction": "column",
"alignItems": "center",
"padding": [
0,
10,
10,
10
],
"items": [
{
"type": "Text",
"top": "${viewport.width > 264 ? '100dp' : '40dp'}",
"text": "Welcome to Goose Pond",
"fontSize": "${viewport.width > 264 ? '40dp' : '30dp'}",
"textAlign": "center",
"fontFamily": "Roboto",
"fontWeight": "bold",
"color": "#FFFFFF"
},
{
"type": "Text",
"top": "${viewport.width > 264 ? '130dp' : '60dp'}",
"text": "Info and House Control for your stay",
"fontSize": "${viewport.width > 264 ? '35dp' : '30dp'}",
"fontFamily": "Roboto",
"textAlign": "center",
"fontWeight": "bold",
"color": "#FFFFFF"
},
{
"type": "TouchWrapper",
"top": "${viewport.width > 264 ? '170dp' : '80dp'}",
"width": "${viewport.width > 264 ? '360dp' : '250dp'}",
"height": "${viewport.height > 384 ? '450dp' : '220dp'}",
"onPress": [
{
"type": "SendEvent",
"flags": {
"interactionMode": "STANDARD"
},
"arguments": [
"widget"
]
}
],
"items": [
{
"type": "Text",
"text": "Let's Start",
"fontWeight": "500",
"fontFamily": "Roboto",
"fontSize": "${viewport.width > 264 ? '50dp' :'40dp'}",
"color": "#FFFFFF",
"textAlign": "center"
}
]
}
]
}
]
}
]
}
]
}
},
"datasources": {}
}
please help me in this , the code is perfectly handling the send events as working perfectly in the echo show 15
本文标签: alexa skills kitWidget Button Not Working in the Echo hub 8Stack Overflow
版权声明:本文标题:alexa skills kit - Widget Button Not Working in the Echo hub 8 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741262046a2367806.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论