@amazon-devices/expo-device provides access to system information about the physical device, such as its manufacturer and model.
Installation
-
Add the JavaScript library dependency in the package.json file.
-
Reinstall dependencies using
npm installcommand. -
Run the
vega buildcommand.
Examples
API reference
Check out the dedicated documentation page for info about this library, API reference and more: Official Expo documentation for expo-device.Constants
Methods
Enums
DeviceType
Error codes
Implementation details
Device.deviceType&Device.getDeviceTypeAsync()- return eitherUNKNOWNorTVDevice.totalMemory- returns null
Device.brandDevice.designNameDevice.deviceNameDevice.deviceYearClassDevice.isRootedExperimentalAsync()

