react-native-device-info
react-native-device-info copied to clipboard
fix(ios): Added iPhone 16e device identifier
Description
Fixes #1697
Without this, the iPhone 16e is not recognized as a device with a notch. Note: This device does not have the dynamic island.
Until this PR is merged and released you can manually catch this with something like:
function getDoesDeviceHaveNotch() {
if (DeviceInfo.getDeviceId().includes('iPhone17,5')) {
return true;
}
return DeviceInfo.hasNotch();
}
Compatibility
| OS | Implemented |
|---|---|
| iOS | ✅ |
Checklist
- [x] I have tested this on a device/simulator for each compatible OS
- [ ] I added the documentation in
README.md - [ ] I updated the typings files (
privateTypes.ts,types.ts) - [ ] I added a sample use of the API (
example/App.js)
@mikehardy Just FYI: This device went on sale today. 🤗
Sometimes apps are completely not useable on 16e due to this issue.
What is the holdup? common guys, release it!
bump this up give it a approve merge it and call it a day comon guys 😄
superceded by #1724 I believe