Hi all. I am using cc.view.getFrameSize().width to detect some zoom value for camera, but I have different values of width on android installed version and version what I just run from browser:
Version in mobile browser (also the same in cocos creator preview localhost on laptop):
Hi, the getFrameSize() returns the frame size of the view.
On native platforms, it returns the screen size since the view is a fullscreen view.
On web, it returns the size of the canvas’s outer DOM element.