Intermittently, the echo show 5 is returning the wrong viewport dimensions. This happens either when testing from the developer console or when running the skill through the device.
{ "type": "APL", "version": "1.1", "settings": {}, "theme": "dark", "import": [ { "name": "alexa-viewport-profiles", "version": "1.1.0" } ], "resources": [], "styles": {}, "onMount": [], "graphics": {}, "commands": {}, "layouts": {}, "mainTemplate": { "parameters": [ "payload" ], "items": [ { "type": "Frame", "width": "100vw", "height": "100vh", "backgroundColor": "#007", "item": { "type": "Container", "width": "100vw", "height": "100vh", "direction": "column", "items": [ { "type": "Text", "text": "Width: ${viewport.width}" }, { "type": "Text", "text": "Height: ${viewport.height}" } ] } } ] } }