Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
ネイティブ
Skip to main content
@amazon-devices/expo-device provides access to system information about the physical device, such as its manufacturer and model.

Installation

  1. Add the JavaScript library dependency in the package.json file. Select the tab for your React Native version.
  1. Reinstall dependencies using npm install command.
  2. Run the vega build command.

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 either UNKNOWN or TV
  • Device.totalMemory - returns null
Unsupported APIs on Vega:
  • Device.brand
  • Device.designName
  • Device.deviceName
  • Device.deviceYearClass
  • Device.isRootedExperimentalAsync()

Additional resources

For information on additional libraries, see Supported Third-Party Libraries and Services.
最終更新日 2026年8月3日