You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
I debugged the code and realised two problems about Dimensions in android. First, didUpdateDimensions event is not fired on android. Second, Dimensions.get('window') is always returning width/height for landscape state. There is a react-native issue about the second problem.
There are 3rd party modules to detect orientation change but they require additional installation steps, and i'm not happy with requiring one of them as a dependency here. I'm not sure how to proceed with this issue.
I'm currently re-rendering every image in full screen mode to make them full screen. Maybe there is a better way to make it right.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The image gallery could not show photo full screen on Android in landscape mode. However, on iOS, it works correctly.
The text was updated successfully, but these errors were encountered: