Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

iphone x detection breaks if Zoomed mode is enabled. #35

Open
punksta opened this issue May 17, 2021 · 2 comments
Open

iphone x detection breaks if Zoomed mode is enabled. #35

punksta opened this issue May 17, 2021 · 2 comments

Comments

@punksta
Copy link

punksta commented May 17, 2021

Enable zoomed mode on iPhone x and try to use the library.

IMG_71E25E5E9651-1

@punksta punksta changed the title iphone 10 detection breaks if Zoomed mode is enabled. iphone x detection breaks if Zoomed mode is enabled. May 17, 2021
@punksta
Copy link
Author

punksta commented May 17, 2021

I am using iPhone 12

Zoomed mode.

isIphoneX: false Dimensions.get('window'): {"fontScale": 1, "height": 693, "scale": 3, "width": 320}

Standard mode

isIphoneX: true Dimensions.get('window'): {"fontScale": 1, "height": 844, "scale": 3, "width": 390}

@lekzd
Copy link

lekzd commented Jan 26, 2022

I think it's not a bug because in zoomed mode screen transforms to SE 1th generation screen without safe areas and so on

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants