Guides
Plan-enterprise-icon
Expo Application Services
API Reference

API Reference

The Expo SDK provides access to device and system functionality such as contacts, camera, gyroscope, GPS location, and so on, in the form of packages. You can install any Expo SDK package using the npx expo install command. For example, three different packages are installed using the following command:
Terminal
→ npx expo install expo-camera expo-contacts expo-sensors
After installing one or more packages, you can import them into your JavaScript code:
import { Camera } from 'expo-camera';
import * as Contacts from 'expo-contacts';
import { Gyroscope } from 'expo-sensors';
This allows you to write Contacts.getContactsAsync() and read the contacts from the device, read the gyroscope sensor to detect device movement, or start the phone's camera and take photos.

These packages work in bare React Native apps too

The easiest way to create a bare React Native app with support for the Expo SDK is by running the command:
Terminal
# Create a project named my-app
→ npx create-expo-app my-app --template bare-minimum
Existing apps

Projects that were created with npx react-native init require additional setup to use the Expo SDK.

Arrow-right-icon
Using libraries

Learn how to install Expo SDK packages in your project.

Arrow-right-icon

Each Expo SDK version depends on a React Native version

Every quarter there is a new Expo SDK release that typically updates to the latest stable versions of React Native and React Native Web, and includes a variety of bug fixes, features, and improvements to the Expo SDK.
Expo SDK versionReact Native versionReact Native Web version
47.0.00.70.50.18.9
46.0.00.69.60.18.7
45.0.00.68.20.17.7
44.0.00.64.30.17.1

Support for other React Native versions

Packages in the Expo SDK are intended to support the target React Native version for that SDK. Typically, they will not support older versions of React Native, but they may. When a new version of React Native is released, the latest versions of the Expo SDK packages are typically updated to support it. However, this may take weeks or more, depending on the extent of the changes in the release.