...It also provides an optional third method for screen orientation detection and automatic rerendering according to new dimensions. After the package has been installed, when the application loads (in real device and/or emulator), it detects the screen's width and height. I.e. for Samsung A5 2017 model, it detects width: 360DP and height: 640DP (these are the values without taking into account the device's scale factor).