react-native-device-info icon indicating copy to clipboard operation
react-native-device-info copied to clipboard

fix(ios): Added iPhone 16e device identifier

Open bobinrinder opened this issue 9 months ago • 2 comments

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)

bobinrinder avatar Feb 26 '25 17:02 bobinrinder

@mikehardy Just FYI: This device went on sale today. 🤗

bobinrinder avatar Feb 28 '25 17:02 bobinrinder

Sometimes apps are completely not useable on 16e due to this issue.

MuhammadMuzammilQadri avatar Apr 15 '25 16:04 MuhammadMuzammilQadri

What is the holdup? common guys, release it!

MariusCatanoiu avatar Jun 04 '25 11:06 MariusCatanoiu

bump this up give it a approve merge it and call it a day comon guys 😄

isipisi89 avatar Jul 30 '25 14:07 isipisi89

superceded by #1724 I believe

mikehardy avatar Sep 17 '25 12:09 mikehardy