Both devices share the same screen size 375×812. How can I determine which is which? I need to access the status bar height which are different for iPhone 11 and Mini(44 and 50). Thanks,
Asked
Active
Viewed 342 times
0
-
Maybe [getDeviceId](https://github.com/react-native-device-info/react-native-device-info#getdeviceid) from [react-native-device-info](https://github.com/react-native-device-info/react-native-device-info) could be helpful. – Kapobajza Jul 09 '21 at 23:58
1 Answers
0
Did not find any solution with iphone 12, but you can try with https://www.npmjs.com/package/react-native-status-bar-height package

mainak
- 1,886
- 2
- 9
- 19