Any reason why viewport.width and height are 0 on mobile?

I have a mobile app and in the console when I type viewport.width it and height are set to 0. wondering if this is expected behavior on mobile? if not what can I do to get the actual width and height of the viewport. This is while rendering a mobile app on web. Maybe it doesn’t work right on web for mobile?

Hey @neilbalthaser - I'm pretty sure this is a byproduct of the way we currently emulate the mobile environment, meaning those values are not being set within the web IDE. The viewport object seems to be properly populated within the actual mobile app, however.

thank you. would be nice to have them consistent across both platforms.