Skip to content

Android platform.screen.mainScreen props are not invalidated after orientation change #3270

@hamorphis

Description

@hamorphis

platform.screen.mainScreen.widthDIPs and platform.screen.mainScreen.heightDIPs are read only once when the module is loaded and then cached forever. When the orientation of the device changes they need to be invalidated so the correct ones could be read again.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions