Skip to main content
Glama
device.md1.15 kB
--- title: Device description: A universal library provides access to system information about the physical device. sourceCodeUrl: https://github.com/expo/expo/tree/main/packages/expo-device packageName: expo-device iconUrl: /static/images/packages/expo-device.png platforms: ["android", "ios", "tvos", "web"] --- `expo-device` provides access to system information about the physical device, such as its manufacturer and model. ## Installation ## Usage ```jsx return ( <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}> <Text> {Device.manufacturer}: {Device.modelName} </Text> </View> ); } ``` ## API ```js ``` ## Error codes | Code | Description | | ------------------------- | ------------------------------------------------------------------------------------------------------------------------ | | ERR_DEVICE_ROOT_DETECTION | Error code thrown for `isRootedExperimentalAsync`. This may be thrown if there's no read access to certain system files. |

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jaksm/expo-docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server