react-native-iphone-x-helper icon indicating copy to clipboard operation
react-native-iphone-x-helper copied to clipboard

Support iPhone12, 12 Pro, 12 Pro Max, 12 Mini, 13, 13 Pro, 13 Pro Max, 13 Mini, 14, 14 Plus, 14 Pro, 14 Pro Max

Open Norcy opened this issue 2 years ago • 12 comments

Feat: Support All Devices except iPhone11 & iPhone Xr

StatusBarHeight Devices
20 Others
44 iPhoneX, Xs, Xs Max, 11 Pro, 11 Pro Max
47 iPhone12, 12 Pro, 12 Pro Max, 13, 13 Pro, 13 Pro Max, 14, 14 Plus
48(Not Supported Now) iPhone11, Xr
50 iPhone12 Mini, 13 Mini
59 iPhone14 Pro、14 Pro Max

Fix: Dimensions.get("window") 's width & height is not correct sometimes when Dimensions.get("srceen") is correct

Feat: remove getStatusBarHeight param safe,which is useless in actual use

Norcy avatar Sep 19 '22 07:09 Norcy

looks good. 👍🏼

RZulfikri avatar Sep 27 '22 05:09 RZulfikri

Thanks a lot for the fix. Any chance to have it released soon?

yamov avatar Oct 10 '22 07:10 yamov

Thanks a lot for the fix. Any chance to have it released soon?

Any one can help merge❓

Norcy avatar Oct 10 '22 08:10 Norcy

Looking forward for this merge 👍

Lisergishnu avatar Oct 10 '22 13:10 Lisergishnu

Waiting for merge this also ;)

lucasferreira avatar Oct 14 '22 12:10 lucasferreira

@ptelad ?

vlkpa avatar Oct 17 '22 11:10 vlkpa

we're still waiting!)

YaroslavReact avatar Oct 18 '22 08:10 YaroslavReact

Waiting for merge this also !!

BrunnoGonzalezArbo avatar Oct 27 '22 18:10 BrunnoGonzalezArbo

Waiting for merge as well!

aryella-lacerda avatar Nov 02 '22 14:11 aryella-lacerda

I guess this repository is dead🥲 but many community packages include it's has dependency (for example react-navigation). Maybe who known alternative or can to contact to author and get access to publish new version.

Also we can create organizations how like https://github.com/react-native-device-info/react-native-device-info and continue support. But I think it's deprecated cause we can use hasNotch method from device-info instead isIPhoneX.

@ptelad what do you think about it?

teivienn avatar Nov 02 '22 15:11 teivienn

Thank you, i use patch-package tool created patch to fix my issue.

ekoooo avatar Nov 03 '22 10:11 ekoooo

you can use fork = react-native-iphone-screen-helper

vlkpa avatar Nov 03 '22 10:11 vlkpa