Open TAKARA328 opened 3 years ago
Hi @TAKARA328
Thanks for posting this issue. It turns out this util function is not up to date with latest viewportProfile table. We will update this util function ASAP after we confirm with viewportProfile team.
Thanks, Shen
Hi @ShenChen-Amazon
Thanks for good reply. I'm looking forward to it fixed.
Thanks, TAKARA
Hi @ShenChen-Amazon, do you have an update about this issue? thanks
the viewports of the echo show 15 are also missing
Is this issue/feature-request still relevant? We are working on prioritization of relevant issues and cleanup of rest. If we don’t hear back in 2 weeks, we will assume that the issue is not relevant and we will close it.
I would like you to fix it.
I'm submitting a...
Expected Behavior
getViewportProfile()
returns the correct viewport profile.Current Behavior
When I tried it with the Alexa simulator, I got the following results.
Possible Solution
The cause is that there is an error in the conditional expression. Modify the conditional expression and use
mode
. Add the condition ofMOBILE-LANDSCAPE-LARGE
andMOBILE-PORTRAIT-LARGE
.MOBILE-PORTRAIT-SMALL
- pixelHeightSizeGroup to 'XSMALL'
- pixelHeightSizeGroup to 'XSMALL'
MOBILE-PORTRAIT-LARGE
Modify the test case of
ViewportUtils.spec.ts
.For example
HUB-LANDSCAPE-MEDIUM
Addedmode
. Changeddpi
from 160 to 213.Steps to Reproduce (for bugs)
Context
Your Environment
Node.js and NPM Info