device info
npm install react-native-rn-sellentis-device-info
import { getSystemInfo } from 'react-native-rn-sellentis-device-info';
// ...
getSystemInfo((data) => console.log(data));
Property | Description | Example |
---|---|---|
deviceName |
The name assigned to the device by the user. | "iPhone 15 Pro" |
systemName |
The name of the operating system running on the device. | "iOS" |
systemVersion |
The current version of the operating system. | "17.4" |
model |
The model of the device. | "iPhone" |
localizedModel |
The localized version of the device model name. | "iPhone" |
identifierForVendor |
The unique identifier for the vendor (UUID) associated with the device. | "AC0AB8F4-556C-47B1-8346-C181E84692E4" |
MIT
Made with create-react-native-library