react-native-is-iphonex Usage import IsIphonex from 'react-native-is-iphonex'; // TODO: What to do with the module? IsIphonex.isIphonex().then((res) => { alert(res); });