Hi.
I was making ux files with local preview.
there were devices.json file when I made project. so I set galaxy S6 edge to my basis device and made bunch of components
and its looks like this.
and checked local preview on other laptop.
I built local preview in other guys different laptop and got different preview screen. we are not using same kind of laptop.
this sounds like mumbling but I spent many days to make those and its all gotta problem now.
do you guys has any guide for this problems?
summary.
local preview works different depends on PC and mobile devices.
It turns out that the screen size specifications for the “S6 Edge”-setting in local preview is incorrect. PixelsPerPoint is set to 3, but it should have been 4.
If you choose “Customize…” at the bottom of the “Device” menu in local preview then the tool will save a devices.json file in the project directory. You can edit that one to set the correct settings (and add new device configs if you want to).
It’s unfortunate that this had such a large effect on your development but we also strongly recommend using device preview to test on real devices (and multiple devices) during development.
I’ll make sure the default settings for local preview are fixed.