A React Native wrapper for accessing iOS UIDevice and Android Build properties like device model, name, and OS version.
React Native Device is a deprecated React Native library that wraps native iOS UIDevice and Android Build classes to provide access to device properties and screen dimensions. It allows developers to retrieve information like device model, name, OS version, and type (iPad or iPhone) within their React Native applications. The project is no longer maintained, with react-native-device-info recommended as an alternative.
React Native developers building iOS and Android applications who need to access device-specific information for conditional rendering or analytics. It is suitable for projects requiring simple device detection and property retrieval.
It offers a lightweight, straightforward API for accessing native device properties directly in JavaScript, though its main advantage was simplicity before being deprecated in favor of more comprehensive alternatives like react-native-device-info.
A UIDevice class wrapper for React Native
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers straightforward methods like Device.isIpad() and Device.isIphone() for easy device type checks, as shown in the README example.
Wraps the native iOS UIDevice class, providing direct access to core properties such as model and system version without extra abstraction.
Setup involves only adding a couple of files to the Xcode project, illustrated in the README with a simple drag-and-drop image for iOS.
Explicitly marked as deprecated with no bug fixes or feature updates, making it unreliable for any production use.
Android support was listed as 'in progress' but never fully implemented, limiting it to iOS-only applications.
Only covers basic device properties and screen dimensions, missing advanced features like battery status or unique IDs found in alternatives.