Edit this page
Reference for the QR code generator at qr.expo.dev.
qr.expo.dev is a cloud function that generates Expo-branded QR codes. This function creates QR codes for EAS Update, which are used to preview updates in development builds and Expo Go.
For example, if you and your team have a development build, and you'd like to load the latest update on a specific build's channel, you could go to the following endpoint to generate a QR code:
https://qr.expo.dev/eas-update?projectId=your-project-id&runtimeVersion=your-runtime-version&channel=your-channel
Which would produce the following QR code SVG:
This QR code represents the following URL:
exp+your-slug://expo-development-client/?url=https://u.expo.dev/your-project-id?runtime-version=your-runtime-version&channel-name=your-channel
This URL will deep link into a development build and instruct it to fetch the latest update on the specified channel.
If sharing the URL is more convenient, you can request the URL directly by addingformat=url
to the query parameters.
The following parameters apply to the /eas-update
endpoint.
The following base query parameters can be included with any request to /eas-update
.
Param | Required | Default | Description |
---|---|---|---|
slug | No | exp | Use slug from app config to target a development build. Otherwise use "exp" to target Expo Go. |
appScheme (deprecated) | No | exp | Replaced by slug . Use slug instead. |
host | No | u.expo.dev | The hostname of the server that handles update requests. |
format | No | svg | Endpoints respond with SVGs by default. To receive a plain text URL, use url . |
Preview and production builds make requests to the EAS Update service with runtimeVersion
and channel
properties. You can emulate this behavior with the following query parameters:
Param | Required | Description |
---|---|---|
projectId | Yes | The ID of the project |
runtimeVersion | Yes | The runtime version of the build |
channel | Yes | The channel name of the build |
https://qr.expo.dev/eas-update?projectId=your-project-id&runtimeVersion=your-runtime-version&channel=your-channel
You can create a QR code for a specific update given its platform-specific ID.
Param | Required | Description |
---|---|---|
updateId | Yes | The ID of the update |
https://qr.expo.dev/eas-update?updateId=your-update-id
You can create a QR code for an update group given the update's group ID.
Param | Required | Description |
---|---|---|
projectId | Yes | The ID of the project |
groupId | Yes | The ID of the update group |
https://qr.expo.dev/eas-update?projectId=your-project-id&groupId=your-update-id
You can create a QR code with a branch's ID, which will return the latest update available on that branch.
Param | Required | Description |
---|---|---|
projectId | Yes | The ID of the project |
branchId | Yes | The ID of the branch |
https://qr.expo.dev/eas-update?projectId=your-project-id&branchId=your-branch-id
You can create a QR code with a channel's ID, which will return the latest update available on the branch or branches that are mapped to that channel.
Param | Required | Description |
---|---|---|
projectId | Yes | The ID of the project |
channelId | Yes | The ID of the channel |
https://qr.expo.dev/eas-update?projectId=your-project-id&channelId=your-channel-id