# react-native-isiphonex-device **Repository Path**: mirrors_crazycodeboy/react-native-isiphonex-device ## Basic Information - **Project Name**: react-native-isiphonex-device - **Description**: A react native module to replace DeviceInfo.isIPhoneX_deprecated. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-22 - **Last Updated**: 2026-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # react-native-isiphonex-device-device A react native module to replace DeviceInfo.isIPhoneX_deprecated. [ ![release](https://img.shields.io/github/release/crazycodeboy/react-native-isiphonex-device.svg?maxAge=2592000?style=flat-square)](https://github.com/crazycodeboy/react-native-isiphonex-device/releases) [ ![PRs Welcome](https://img.shields.io/badge/PRs-Welcome-brightgreen.svg)](https://github.com/crazycodeboy/react-native-isiphonex-device/pulls) [ ![NPM version](http://img.shields.io/npm/v/react-native-isiphonex-device.svg?style=flat)](https://www.npmjs.com/package/react-native-isiphonex-device) [![License MIT](http://img.shields.io/badge/license-MIT-orange.svg?style=flat)](https://raw.githubusercontent.com/crazycodeboy/react-native-isiphonex-device/master/LICENSE) ## Content - [Installation](#installation) - [Getting started](#getting-started) - [API](#api) - [Contribution](#contribution) ## Installation * 1.Run `npm i react-native-isiphonex-device --save` * or `yarn add react-native-isiphonex-device` * 2.`import { isIPhoneX } from 'react-native-isiphonex-device'` ## Getting started Add `react-native-isiphonex-device` to your js file. `import { isIPhoneX } from 'react-native-isiphonex-device'` ## Contribution Issues are welcome. Please add a screenshot of bug and code snippet. Quickest way to solve issue is to reproduce it on one of the examples. Pull requests are welcome. If you want to change API or making something big better to create issue and discuss it first. --- **MIT Licensed**